{"id":21101143,"url":"https://github.com/crycode-de/eslint-config","last_synced_at":"2026-02-20T18:11:37.482Z","repository":{"id":51411485,"uuid":"518036163","full_name":"crycode-de/eslint-config","owner":"crycode-de","description":"ESLint configuration to be used with TypeScript according to my personal preferences","archived":false,"fork":false,"pushed_at":"2025-05-02T12:04:57.000Z","size":673,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T22:45:39.726Z","etag":null,"topics":["eslint","eslint-config"],"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/crycode-de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["crycode-de"],"custom":["https://www.paypal.me/petercrycode"]}},"created_at":"2022-07-26T11:38:10.000Z","updated_at":"2025-05-02T12:04:58.000Z","dependencies_parsed_at":"2024-09-13T16:01:56.333Z","dependency_job_id":"366ddf56-1711-444b-b6f2-f65173bf5f93","html_url":"https://github.com/crycode-de/eslint-config","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"7ced6fb1016f294699adb0b13770f35ceed475b3"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/crycode-de/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crycode-de%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crycode-de%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crycode-de%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crycode-de%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crycode-de","download_url":"https://codeload.github.com/crycode-de/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crycode-de%2Feslint-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29659752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-11-19T23:40:13.880Z","updated_at":"2026-02-20T18:11:37.454Z","avatar_url":"https://github.com/crycode-de.png","language":"JavaScript","funding_links":["https://github.com/sponsors/crycode-de","https://www.paypal.me/petercrycode"],"categories":[],"sub_categories":[],"readme":"# ESLint config\n\nThis modules provides an ESLint configuration to be used with **TypeScript**\naccording to my personal preferences.\n\n## Usage\n\nAdd `eslint` and `@crycode/eslint-config` to your devDependencies:\n\n```shell\nnpm install --save-dev eslint @crycode/eslint-config\n```\n\nFor TypeScript also add `typescript-eslint`:\n\n```shell\nnpm install --save-dev typescript-eslint\n```\n\nAdd a file named `eslint.config.js` to your project root directory:\n\n```js\nimport crycode from '@crycode/eslint-config';\n\nexport default [\n  ...crycode.configs.js,\n  ...crycode.configs.stylistic,\n];\n```\n\nOr for TypeScript:\n\n```ts\nimport tseslint from 'typescript-eslint';\nimport crycode from '@crycode/eslint-config';\n\nexport default tseslint.config(\n  ...crycode.configs.ts,\n  ...crycode.configs.stylistic,\n  {\n    languageOptions: {\n      parserOptions: {\n        ecmaVersion: 2022,\n        sourceType: 'module',\n        project: [\n          './tsconfig.json',\n        ],\n      },\n    },\n  },\n);\n```\n\nIf you habe multiple tsconfig files, add them all to `project` array:\n\n## Changelog\n\n\u003c!--\n    Placeholder for the next version (at the beginning of the line):\n    ### **WORK IN PROGRESS**\n--\u003e\n### 2.2.1 (2025-05-02)\n\n* Updated to latest `eslint` and `typescript-eslint`\n\n### 2.2.0 (2024-11-27)\n\n* Updated rule options for `@typescript-eslint/switch-exhaustiveness-check`\n* Updated to latest `eslint` and `typescript-eslint`\n\n### 2.1.2 (2024-10-16)\n\n* Fixed TS types\n* Updated to latest `eslint` and `typescript-eslint`\n\n### 2.1.1 (2024-09-13)\n\n* Updated to latest `eslint` and `typescript-eslint` version\n\n### 2.1.0 (2024-09-01)\n\n* TypeScript config now uses type checked rules\n* Updated dependencies\n* Added some rules\n\n### 2.0.2 (2024-08-28)\n\n* Configure rule `@typescript-eslint/return-await` to always force `return await`\n\n### 2.0.1 (2024-08-19)\n\n* Added missing typescript definitions to npm package\n\n### 2.0.0 (2024-08-19)\n\n* Migrate to eslint 9\n* Provide configs for TS and JS from a single package\n* Removed `eslint-plugin-import` for now since it's not ready for eslint 9 for now\n\n### 1.2.2 (2023-09-07)\n\n* Fixed usage of `eslint-plugin-import`\n* Added recommended `import` rules\n\n### 1.2.1 (2023-09-07)\n\n* Replaced deprecated rule `@typescript-eslint/no-duplicate-imports` with `import/no-duplicates` (added dependency to `eslint-plugin-import`)\n* Renamed rule `@typescript-eslint/no-parameter-properties` to `@typescript-eslint/parameter-properties`\n\n### 1.2.0 (2023-09-07)\n\n* Fixed rule `@typescript-eslint/restrict-plus-operands`\n* Updated dependencies\n\n### 1.1.0 (2023-04-17)\n\n* Removed deprecated `private-abstract-*` from member ordering\n\n### 1.0.2 (2022-08-02)\n\n* Set format for enum members to PascalCase or UPPER_CASE\n\n### 1.0.1 (2022-07-28)\n\n* Set `allowAny` to `true` for rule [@typescript-eslint/restrict-plus-operands](https://typescript-eslint.io/rules/restrict-plus-operands/)\n\n### 1.0.0 (2022-07-26)\n\n* First release\n\n## License\n\nMIT License\n\nCopyright (c) 2021-2025 Peter Müller \u003cpeter@crycode.de\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrycode-de%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrycode-de%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrycode-de%2Feslint-config/lists"}