{"id":13516817,"url":"https://github.com/RyanZim/eslint-config-problems","last_synced_at":"2025-03-31T07:30:32.044Z","repository":{"id":22537283,"uuid":"96631206","full_name":"RyanZim/eslint-config-problems","owner":"RyanZim","description":"An eslint config that catches problems in your code, without checking style. For use with prettier.","archived":false,"fork":false,"pushed_at":"2024-04-05T21:16:26.000Z","size":38,"stargazers_count":67,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T13:10:04.771Z","etag":null,"topics":["eslint","eslint-config","linter-config","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RyanZim.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-07-08T16:39:13.000Z","updated_at":"2024-04-19T23:30:01.927Z","dependencies_parsed_at":"2023-01-11T21:40:02.726Z","dependency_job_id":"86f29364-2da3-47aa-98eb-d61ac0cb173c","html_url":"https://github.com/RyanZim/eslint-config-problems","commit_stats":{"total_commits":56,"total_committers":3,"mean_commits":"18.666666666666668","dds":0.125,"last_synced_commit":"42978610e10486950caad5885bf2f7baa90f2623"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanZim%2Feslint-config-problems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanZim%2Feslint-config-problems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanZim%2Feslint-config-problems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanZim%2Feslint-config-problems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyanZim","download_url":"https://codeload.github.com/RyanZim/eslint-config-problems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246432805,"owners_count":20776464,"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","linter-config","prettier"],"created_at":"2024-08-01T05:01:26.186Z","updated_at":"2025-03-31T07:30:32.034Z","avatar_url":"https://github.com/RyanZim.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Configs"],"sub_categories":["Other Configs"],"readme":"# eslint-config-problems\n\n`eslint-config-problems` is an [ESLint](http://eslint.org/) config that doesn't regulate your code style. It only catches actual problems with your code.\n\nIt's designed for use with [Prettier](https://prettier.io/), the opinionated code formatter.\n\n## Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Rules](#rules)\n  - [I disagree with rule X; you missed rule Y](#i-disagree-with-rule-x-you-missed-rule-y)\n- [Installation \u0026 Usage](#installation--usage)\n- [License](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Rules\n\nRules were chosen based on the following criteria:\n\n- No stylistic rules; nothing that Prettier can fix\n- Prevent guaranteed runtime errors (i.e. no undefined variables)\n- Disallow \"evil\" things like `eval`\n- Disallow archaic language features like `with`\n- Disallow obvious bad practices like `new Number(13)`\n- Force usage of ES2015+ features\n- Point out places the code could be made shorter. For example:\n  ```js\n  if (someCondition) return someValue;\n  else {\n    // Do something else\n  }\n  ```\n  The `else` block is unneeded, since the `if` block contains a `return` statement. `eslint-config-problems` will point this out to you (or auto-fix with the `--fix` option).\n\n### I disagree with rule X; you missed rule Y\n\nIf you disagree; feel free to open an issue. I'm open to changing rules if you have a good reason.\n\nIf I missed a rule that prevents an actual problem or is otherwise in keeping with the general guidelines above, please open an issue as well; I just might add it.\n\n## Installation \u0026 Usage\n\n_`eslint-config-problems` is designed to work with ESLint v9+; if you're still using ESLint v8 or earlier, use `eslint-config-problems` v8.0.0._\n\n---\n\n    npm install -D eslint eslint-config-problems\n\nIn your **eslint.config.js**:\n\n```js\nimport problems from 'eslint-config-problems';\n\nexport default [\n  problems,\n  {\n    rules: {\n      // custom rules\n    },\n  },\n];\n```\n\n## License\n\n[ISC](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyanZim%2Feslint-config-problems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRyanZim%2Feslint-config-problems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyanZim%2Feslint-config-problems/lists"}