{"id":18887998,"url":"https://github.com/codex-team/eslint-config","last_synced_at":"2025-04-14T23:08:38.107Z","repository":{"id":42204264,"uuid":"145039912","full_name":"codex-team/eslint-config","owner":"codex-team","description":"CodeX basic eslint configuration","archived":false,"fork":false,"pushed_at":"2024-11-09T16:09:35.000Z","size":351,"stargazers_count":7,"open_issues_count":7,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T11:06:49.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codex-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-16T21:15:30.000Z","updated_at":"2024-11-09T16:09:36.000Z","dependencies_parsed_at":"2024-06-18T19:47:22.468Z","dependency_job_id":"341db88b-4403-4ccd-8263-1858d1f9162d","html_url":"https://github.com/codex-team/eslint-config","commit_stats":{"total_commits":91,"total_committers":13,"mean_commits":7.0,"dds":0.5934065934065934,"last_synced_commit":"4f30741bc1833d2a7103d5ef77e344aa51977730"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codex-team","download_url":"https://codeload.github.com/codex-team/eslint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564657,"owners_count":21125408,"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-08T07:41:10.196Z","updated_at":"2025-04-14T23:08:38.081Z","avatar_url":"https://github.com/codex-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeX ESLint configuration\n\n- [Flat config](https://eslint.org/docs/latest/use/configure/configuration-files), ESLint 9\n- JavaScript and TypeScript configs\n- Vue.js config (TS)\n- Node.js\n- Codestyle config\n- JSDoc configs for JS and TS\n- Global variables list\n- Gitignore support\n\n## Install\n\nAdd package to your dev-dependencies using npm or yarn:\n\n```bash\nyarn add -D eslint-config-codex eslint\n```\n\n## Usage\n\nAdd following lines to your `eslint.config.mjs`:\n\n```js\nimport CodeX from 'eslint-config-codex'\n\nexport default [\n  ...CodeX,\n  // your customization\n]\n```\n\n## VSCode suport\n\nOpen `Code` / `Settings`, find \"Open Settings (JSON)\" icon at the top-bar\n\nThen fill opened `.vscode/settings.json`:\n\n```jsonc\n  // Enable the ESlint flat config support\n  \"eslint.experimental.useFlatConfig\": true,\n\n  // Disable the default formatter, use eslint instead\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n\n  // Auto fix\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\",\n    \"source.organizeImports\": \"never\"\n  },\n\n  // Enable eslint for all supported languages\n  \"eslint.validate\": [\n    \"javascript\",\n    \"typescript\",\n    \"vue\",\n    \"html\",\n  ]\n```\n\n\n## Troubleshooting\n\n### ESLint couldn't determine the plugin ... uniquely\n\nSince 7.x ESLint loads plugins from the location of each config file which has the `plugins` field. Resolve this issue by adding the root flag to your `.eslintrc` config\n\n```\n{\n  \"root\": true\n}\n```\n\n[Issue](https://github.com/codex-team/eslint-config/issues/25) | [Discussion](https://github.com/eslint/eslint/issues/13385#issuecomment-641252879)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodex-team%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Feslint-config/lists"}