{"id":20601170,"url":"https://github.com/cleverage/eslint-config","last_synced_at":"2026-01-06T17:53:08.883Z","repository":{"id":48315043,"uuid":"166049309","full_name":"cleverage/eslint-config","owner":"cleverage","description":"eslint config for Clever Age projects","archived":false,"fork":false,"pushed_at":"2021-08-02T04:28:01.000Z","size":11,"stargazers_count":2,"open_issues_count":8,"forks_count":1,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-12T14:53:02.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cleverage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-16T13:59:02.000Z","updated_at":"2019-03-25T07:53:11.000Z","dependencies_parsed_at":"2022-08-20T18:40:43.942Z","dependency_job_id":null,"html_url":"https://github.com/cleverage/eslint-config","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleverage","download_url":"https://codeload.github.com/cleverage/eslint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253346452,"owners_count":21894264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T09:08:54.123Z","updated_at":"2026-01-06T17:53:08.818Z","avatar_url":"https://github.com/cleverage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @cleverage/eslint-config\n\nClever Age javaScript coding style guide.\n\nThis config depends on [Airbnb coding style guide](https://github.com/airbnb/javascript).\n\n## Install\n\nUsing NPM:\n```sh\nnpm install --save-dev @cleverage/eslint-config\n```\n\nUsing Yarn:\n```sh\nyarn add --dev @cleverage/eslint-config\n```\n\n### Install Peer Dependencies\n\nClever Age eslint config need some peer dependencies mainly inherited from AirBnB config. To install it you have to run this command:\n```sh\nnpx install-peerdeps --dev @cleverage/eslint-config\n```\n\n### Add this to your your `.eslintrc.js`:\n\n```json\n{\n  \"extends\": \"@cleverage\"\n}\n```\n\n## Differences with airBnB config\n\n### [`no-multiple-empty-lines`](https://eslint.org/docs/rules/no-multiple-empty-lines)\n```js\n'no-multiple-empty-lines': [1, { max: 1, maxEOF: 1, maxBOF: 0 }],\n```\nAirBnB’s rules allow 2 successive empty lines but the purpose of a linter  is to avoid human debates when reviewing code. To avoid debates on 1 or 2 empty lines, we choose to limit to one only empty line everywhere.\n\n### `padding-line-between-statements`\n```js\n'padding-line-between-statements': [\n  'error',\n  { blankLine: 'always', prev: '*', next: 'return' },\n  { blankLine: 'always', prev: 'import', next: '*' },\n  { blankLine: 'never', prev: 'import', next: 'import' },\n],\n```\nAirBnB set this rule to `off`.\nWe prefer set it to:\n- not have blank line between `import`,\n- always separate `import` lines from rest of code by one blank line.\n- always precede `return` statement by a blank line if not alone in the code block.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleverage%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleverage%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleverage%2Feslint-config/lists"}