{"id":21037438,"url":"https://github.com/vintasoftware/eslint-config-vinta","last_synced_at":"2026-03-09T15:31:02.114Z","repository":{"id":35013800,"uuid":"195292309","full_name":"vintasoftware/eslint-config-vinta","owner":"vintasoftware","description":"Vinta's ESLint and Prettier shareable configs.","archived":false,"fork":false,"pushed_at":"2024-02-19T01:20:37.000Z","size":529,"stargazers_count":23,"open_issues_count":8,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-09-22T01:51:57.341Z","etag":null,"topics":[],"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/vintasoftware.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,"publiccode":null,"codemeta":null}},"created_at":"2019-07-04T19:27:47.000Z","updated_at":"2023-12-09T02:07:47.000Z","dependencies_parsed_at":"2024-06-19T03:50:48.784Z","dependency_job_id":"eb88974d-bf41-4064-87df-7497fb0aef0e","html_url":"https://github.com/vintasoftware/eslint-config-vinta","commit_stats":{"total_commits":80,"total_committers":3,"mean_commits":"26.666666666666668","dds":0.0625,"last_synced_commit":"9a7ed7a3a25b0c5280d9525663a60d15e972b7a3"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/vintasoftware/eslint-config-vinta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vintasoftware%2Feslint-config-vinta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vintasoftware%2Feslint-config-vinta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vintasoftware%2Feslint-config-vinta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vintasoftware%2Feslint-config-vinta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vintasoftware","download_url":"https://codeload.github.com/vintasoftware/eslint-config-vinta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vintasoftware%2Feslint-config-vinta/sbom","scorecard":{"id":922827,"data":{"date":"2025-08-18","repo":{"name":"github.com/vintasoftware/eslint-config-vinta","commit":"286ac0faa8bf4e379ef3f8774e0c07d89c9be076"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 2/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T06:12:01.243Z","repository_id":35013800,"created_at":"2025-08-25T06:12:01.243Z","updated_at":"2025-08-25T06:12:01.243Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: 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":[],"created_at":"2024-11-19T13:26:13.960Z","updated_at":"2026-03-09T15:31:02.084Z","avatar_url":"https://github.com/vintasoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-vinta\n\nVinta's [ESLint](http://eslint.org) and [Prettier](https://prettier.io/) shareable configs.\n\n\u003e This repository is under development and both ESLint and Prettier rules applied here are subject to change.\n\n## Install\n\nFor the basic rules (Use with `extends: ['vinta']`)\n\n```bash\nnpm install \\\n  eslint-config-vinta \\\n  eslint@^8.42.0 \\\n  --save-dev\n```\n\nFor recommended rules (Use with `extends: ['vinta/recommended']`)\n\n```bash\nnpm install \\\n  eslint-config-vinta \\\n  eslint@^8.42.0 \\\n  @babel/eslint-parser@^7.22.5 \\\n  @babel/eslint-plugin@^7.22.5 \\\n  eslint-config-prettier@^8.8.0 \\\n  eslint-plugin-import@^2.27.5 \\\n  eslint-plugin-jest@^27.2.1 \\\n  eslint-plugin-jsx-a1@ \"^6.7.1 \\\n  eslint-plugin-prettier@^4.2.1 \\\n  eslint-plugin-promise@^6.1.1 \\\n  eslint-plugin-react@^7.32.2 \\\n  eslint-plugin-react-hoo@ \"^4.6.0 \\\n  eslint-plugin-sonarjs@^0.19.0 \\\n  eslint-plugin-unicorn@^47.0.0 \\\n  prettier@^2.8.8 \\\n  --save-dev\n```\n\nFor typescript rules (Use with `extends: ['vinta/typescript']`)\n\n```bash\nnpm install \\\n  eslint-config-vinta \\\n  eslint@^8.42.0 \\\n  @typescript-eslint/parser@^5.59.11 \\\n  @typescript-eslint/eslint-plugin@^5.59.11 \\\n  typescript@^5.1.3 \\\n  --save-dev\n```\n\nFor recommended typescript rules (Use with `extends: ['vinta/recommended-typescript']`)\n\n```bash\nnpm install \\\n  eslint-config-vinta \\\n  eslint@^8.42.0 \\\n  eslint-config-prettier@^8.8.0 \\\n  eslint-plugin-import@^2.27.5 \\\n  eslint-plugin-jest@^27.2.1 \\\n  eslint-plugin-jsx-a1@ \"^6.7.1 \\\n  eslint-plugin-prettier@^4.2.1 \\\n  eslint-plugin-promise@^6.1.1 \\\n  eslint-plugin-react@^7.32.2 \\\n  eslint-plugin-react-hoo@ \"^4.6.0 \\\n  eslint-plugin-sonarjs@^0.19.0 \\\n  eslint-plugin-unicorn@^47.0.0 \\\n  prettier@^2.8.8 \\\n  @typescript-eslint/parser@^5.59.11 \\\n  @typescript-eslint/eslint-plugin@^5.59.11 \\\n  typescript@^5.1.3 \\\n  --save-dev\n```\n\n## Usage\n\nThis repository contains the configurations for both `ESLint` and `Prettier`, and each one of them handles shareable configurations differently.\n\n### ESLint\n\nFor ESLint, your `.eslintrc` file should look (at least) like this:\n\n\u003e Keep in mind that ESLint ignores the `eslint-config-` prefix, so all you need to write is `vinta`.\n\n```js\nmodule.exports = {\n  extends: ['vinta'],\n};\n```\n\nIf you're already using ESLint on your project, just add `'vinta'` to the `extends` property.\n\n#### Recommended\n\nWe also have a recommended configuration. It extends all plugins from the `plugins` folder and all the rules defined in the `rules` folder. It also includes [prettier](#prettier) for formatting.\n\n```js\nmodule.exports = {\n  extends: ['vinta/recommended'],\n};\n```\n\n#### Selecting Plugins\n\nIf you're not using the recommended configuration (which includes all plugins), you can easily select your desired plugins:\n\n```js\nmodule.exports = {\n  extends: ['vinta', 'vinta/plugins/react', 'vinta/plugins/jest'],\n};\n```\n\n*The base `vinta` configuration includes all ESLint rules, but no plugins.*\n\nPossible plugin options:\n\n- **vinta/plugins/babel** (from [@babel/eslint-plugin](https://github.com/babel/babel/tree/main/eslint/babel-eslint-plugin))\n- **vinta/plugins/import** (from [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import))\n- **vinta/plugins/jest** (from [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest))\n- **vinta/plugins/jsx-a11y** (from [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y))\n- **vinta/plugins/promise** (from [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise))\n- **vinta/plugins/react** (from [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react))\n- **vinta/plugins/react-hooks** (from [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks))\n- **vinta/plugins/sonar** (from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs))\n- **vinta/plugins/unicorn** (from [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn))\n\nYou can learn more about ESLint's shareable configs [here](http://eslint.org/docs/developer-guide/shareable-configs).\n\n### Typescript\n\nFor usage with Typescript, [install the appropriate dependencies](#install) and the following to your `.eslintrc`:\n\n```js\nmodule.exports = {\n  extends: ['vinta/typescript'],\n};\n```\n\n#### Recommended\n\nWe also have a recommended configuration. It extends all plugins from the `plugins` folder and all the rules defined in the `rules` folder. It also includes [prettier](#prettier) for formatting.\n\n```js\nmodule.exports = {\n  extends: ['vinta/typescript-recommended'],\n};\n```\n\n### Prettier\n\nFor Prettier, add the following line to your `package.json` file:\n\n```json\n\"prettier\": \"eslint-config-vinta/.prettierrc\",\n```\n\nAnd be sure to have the following packages installed:\n\n```bash\nnpm install \\\n  prettier@^2.8.8 \\\n  eslint-config-prettier@^8.8.0 \\\n  eslint-plugin-prettier@^4.2.1 \\\n  --save-dev\n```\n\nIf you already have a working configuration for your project, you can either ignore this step or extend our config in your `.prettierrc` file:\n\n```js\n{\n  ...require('eslint-config-vinta/prettier'),\n  semi: false,\n  bracketSpacing: false,\n};\n```\n\nYou can learn more about Prettier's shareable configs [here](https://github.com/prettier/prettier/blob/master/docs/configuration.md#sharing-configurations).\n\n## Versioning\n\nSee the [VERSIONING.md](VERSIONING.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvintasoftware%2Feslint-config-vinta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvintasoftware%2Feslint-config-vinta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvintasoftware%2Feslint-config-vinta/lists"}