{"id":15688183,"url":"https://github.com/cdrani/eslint-config-cdrainxv","last_synced_at":"2026-05-09T01:12:34.456Z","repository":{"id":57227886,"uuid":"112665002","full_name":"cdrani/eslint-config-cdrainxv","owner":"cdrani","description":"eslint linter coupled with prettier formatter","archived":false,"fork":false,"pushed_at":"2017-12-04T05:57:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T13:09:48.591Z","etag":null,"topics":["config","es6","eslint","prettier"],"latest_commit_sha":null,"homepage":null,"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/cdrani.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}},"created_at":"2017-11-30T21:59:54.000Z","updated_at":"2017-11-30T23:22:11.000Z","dependencies_parsed_at":"2022-09-12T16:52:22.452Z","dependency_job_id":null,"html_url":"https://github.com/cdrani/eslint-config-cdrainxv","commit_stats":null,"previous_names":["cdrainxv/eslint-config-cdrainxv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdrani%2Feslint-config-cdrainxv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdrani%2Feslint-config-cdrainxv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdrani%2Feslint-config-cdrainxv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdrani%2Feslint-config-cdrainxv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdrani","download_url":"https://codeload.github.com/cdrani/eslint-config-cdrainxv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314114,"owners_count":20757457,"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":["config","es6","eslint","prettier"],"created_at":"2024-10-03T17:56:09.506Z","updated_at":"2026-05-09T01:12:29.433Z","avatar_url":"https://github.com/cdrani.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESLINT-CONFIG-CDRAINXV\n\n---\n\n`eslint-config-cdrainxv` is a **very** opinionated eslint config (or will be as\nit is incrementally updated it stricter rules). This config is coupled with\n**prettier** for easy formatting.\n\n# Usage\n\n---\n\n1. `npm i eslint-config-cdrainxv`\n\n2. Add peer dependencies: `npm i eslint eslint-config-prettier\n   eslint-plugin-prettier prettier prettier-eslint prettier-eslint-cli -D`\n\n3. Create `.eslintrc*` configuration file\n\n4. Include `cdrainxv` as an extension:\n\n   **.eslintrc.js**\n\n   ```js\n   module.exports = {\n     extends: ['cdrainxv']\n   }\n   ```\n\n   ---\n\n   **.eslintrc.json**\n\n   ```json\n   {\n     \"extends\": [\"cdrainxv\"]\n   }\n   ```\n\n5. Add lint scripts to package.json:\n\n    ```json\n      \"scripts\": {\n        \"lint\": \"prettier-eslint .\",\n        \"eslint-check\": \"eslint --print-config .eslintrc.js | eslint-config-prettier-check\"\n      }\n    ```\n\n6. Configure further with your own rules and/or plugins.\n\n7. Check that your rules don't conflict with **Prettier**'s own rules:\n  `npm run eslint-check`\n\n8. Run linter: `npm run lint`\n\n---\n\n## References:\n\n[prettier/prettier](https://github.com/prettier/prettier#readme) | \n[prettier/eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier#readme) | \n[prettier/prettier-eslint](https://github.com/prettier/prettier-eslint#readme) | \n[prettier/prettier-eslint-cli](https://github.com/prettier/prettier-eslint-cli#readme)\n| \n[prettier/eslint-config-prettier](https://github.com/prettier/eslint-config-prettier#readme) | \n[eslint](https://eslint.org/docs/rules/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdrani%2Feslint-config-cdrainxv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdrani%2Feslint-config-cdrainxv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdrani%2Feslint-config-cdrainxv/lists"}