{"id":22731015,"url":"https://github.com/vizeat/eslint-config-vizeat","last_synced_at":"2025-04-14T00:27:00.116Z","repository":{"id":47738587,"uuid":"100488342","full_name":"vizeat/eslint-config-vizeat","owner":"vizeat","description":"Shareable ESLint config desgined by the VizEat Team","archived":false,"fork":false,"pushed_at":"2022-11-14T10:03:16.000Z","size":532,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T14:47:55.208Z","etag":null,"topics":["eslint","eslint-config","eslint-shareable-configs"],"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/vizeat.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":"2017-08-16T12:45:13.000Z","updated_at":"2023-01-09T09:08:31.000Z","dependencies_parsed_at":"2022-09-26T19:52:43.833Z","dependency_job_id":null,"html_url":"https://github.com/vizeat/eslint-config-vizeat","commit_stats":null,"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizeat%2Feslint-config-vizeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizeat%2Feslint-config-vizeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizeat%2Feslint-config-vizeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizeat%2Feslint-config-vizeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vizeat","download_url":"https://codeload.github.com/vizeat/eslint-config-vizeat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637771,"owners_count":21137538,"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":["eslint","eslint-config","eslint-shareable-configs"],"created_at":"2024-12-10T19:19:00.304Z","updated_at":"2025-04-14T00:27:00.094Z","avatar_url":"https://github.com/vizeat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shareable Eslint Config by the VizEat Team\n\n[Shared ESLint config](http://eslint.org/docs/developer-guide/shareable-configs) for JavaScript code produced by VizEat's Team.\n\nMost of the rules are fixable and this config also make use of `eslint-plug-prettier` to configure \u0026 pilote `prettier` through eslint.\n\nFor everything to work well, **we recommend that you don't use a prettier plugin in your editor** alongside this configuration. Using `eslint --fix` will do it all, combined with *format on save* and *format on paste* you will get the most reliable formatting.\n\n### `vizeat` config\n\nit contains generic rules for all JS projects (back \u0026 front)\n\n### `vizeat/react` config\n\nit extends `vizeat` config and add JSX / React specific rules\n\n### `vizeat/typescript` config\n\nit extends `vizeat` config and add Typescript specific rules as well as overrides for incompatible rules\n\n## Usage\n\nThe configuration requires a number of peer dependencies to be installed. This is due to how eslint plugin system works and how those dependencies are found in your file system.\n\n#### Installing all (peer) dependencies for a project using any combination of configs\n\nThis is the easiest way of getting it working, but you may not need everything.\n\n```sh\nyarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser babel-eslint eslint eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-standard prettier\n```\n\n#### Installing (peer) dependencies for a project using the `vizeat` config\n\nIf you primarily use Node.js \u0026 vanilla JS, then this is likely enough\n\n```sh\nyarn add --dev eslint eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-standard prettier\n```\n\n#### Installing (peer) dependencies for a project using the `vizeat/react` config\n\nFor your React app\n\n```sh\nyarn add --dev babel-eslint eslint eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-standard prettier\n```\n\n#### Installing (peer) dependencies for a project using the `vizeat/typescript` config\n\nFor your TS project\n\n```sh\nyarn add --dev eslint eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-standard prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser\n```\n\n### Configuration\n\nThen, extend `vizeat` or `vizeat/react` or `vizeat/typescript` in your `.eslintrc` depending on the kind of projects you're working on.\n`vizeat/react` and `vizeat/typescript` extend `vizeat` config so for mixed projects (React + SSR) `vizeat/react` is enough.\n\n\n```json\n{ \"extends\": [\"vizeat\"] }\n```\n\nor\n\n```json\n{ \"extends\": [\"vizeat/react\"] }\n```\n\nor\n\n```json\n{ \n  \"extends\": [\"vizeat/typescript\"],\n  \"parserOptions\": {\n    \"project\": \"./tsconfig.json\"\n  }\n}\n```\n(see [typescript-eslint/parserOptions.project](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/README.md#parseroptionsproject))\n\nHappy hacking !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizeat%2Feslint-config-vizeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvizeat%2Feslint-config-vizeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizeat%2Feslint-config-vizeat/lists"}