{"id":13483252,"url":"https://github.com/nuxt/eslint-plugin-nuxt","last_synced_at":"2025-09-30T19:31:00.027Z","repository":{"id":33740147,"uuid":"160390967","full_name":"nuxt/eslint-plugin-nuxt","owner":"nuxt","description":"ESLint plugin for Nuxt.js [WIP]","archived":true,"fork":false,"pushed_at":"2024-03-19T14:51:52.000Z","size":3929,"stargazers_count":129,"open_issues_count":30,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-09T05:48:28.042Z","etag":null,"topics":["eslint-plugin","nuxt"],"latest_commit_sha":null,"homepage":"","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/nuxt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-12-04T16:58:46.000Z","updated_at":"2025-05-22T01:51:19.000Z","dependencies_parsed_at":"2023-10-04T09:29:51.228Z","dependency_job_id":"d9144b13-4e14-4ab4-a057-64271785b950","html_url":"https://github.com/nuxt/eslint-plugin-nuxt","commit_stats":{"total_commits":235,"total_committers":9,"mean_commits":26.11111111111111,"dds":0.5446808510638298,"last_synced_commit":"681fee5265ef3448bc93979a5570e80c3ca419ff"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/nuxt/eslint-plugin-nuxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt%2Feslint-plugin-nuxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt%2Feslint-plugin-nuxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt%2Feslint-plugin-nuxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt%2Feslint-plugin-nuxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuxt","download_url":"https://codeload.github.com/nuxt/eslint-plugin-nuxt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt%2Feslint-plugin-nuxt/sbom","scorecard":{"id":699148,"data":{"date":"2025-08-11","repo":{"name":"github.com/nuxt/eslint-plugin-nuxt","commit":"e9e88eba7d35d3fdccc0c04b5630fb4cf3a05113"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/16 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/eslint-plugin-nuxt/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/eslint-plugin-nuxt/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/eslint-plugin-nuxt/ci.yaml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nuxt/.github/SECURITY.md:1","Info: Found linked content: github.com/nuxt/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nuxt/.github/SECURITY.md:1","Info: Found text in security policy: github.com/nuxt/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 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-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T04:42:02.764Z","repository_id":33740147,"created_at":"2025-08-22T04:42:02.765Z","updated_at":"2025-08-22T04:42:02.765Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277746958,"owners_count":25870057,"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","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-plugin","nuxt"],"created_at":"2024-07-31T17:01:09.407Z","updated_at":"2025-09-30T19:30:59.625Z","avatar_url":"https://github.com/nuxt.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e `eslint-plugin-nuxt` was designed for Nuxt 2 and will not receive active development. Since many rules are no longer relevant in Nuxt 3, we created a new nuxt plugin [`@nuxt/eslint-plugin`](https://eslint.nuxt.com/packages/plugin) for Nuxt 3 under the [nuxt/eslint](https://github.com/nuxt/eslint) repository.\n\n----\n\n\n# eslint-plugin-nuxt\n\n[![Standard JS][standard-js-src]][standard-js-href]\n[![Circle CI][circle-ci-src]][circle-ci-href]\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n\n[standard-js-src]: https://flat.badgen.net/badge/code%20style/standard/green\n[standard-js-href]: https://standardjs.com\n[circle-ci-src]: https://flat.badgen.net/circleci/github/nuxt/eslint-plugin-nuxt\n[circle-ci-href]: https://circleci.com/gh/nuxt/eslint-plugin-nuxt\n[codecov-src]: https://flat.badgen.net/codecov/c/github/nuxt/eslint-plugin-nuxt\n[codecov-href]: https://codecov.io/gh/nuxt/eslint-plugin-nuxt\n[npm-version-src]: https://flat.badgen.net/npm/v/eslint-plugin-nuxt/latest\n[npm-version-href]: https://npmjs.com/package/eslint-plugin-nuxt\n[npm-downloads-src]: https://flat.badgen.net/npm/dt/eslint-plugin-nuxt\n[npm-downloads-href]: https://npmjs.com/package/eslint-plugin-nuxt\n\n:sparkles: ESLint plugin for Nuxt.js\n\n## :cd: Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```sh\n$ npm i eslint --save-dev\nsuccess Saved 1 new dependencies\n```\n\nNext, install `eslint-plugin-nuxt`:\n\n```sh\n$ npm install eslint-plugin-nuxt --save-dev\nsuccess Saved 1 new dependencies\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-nuxt` globally.\n\n## :rocket: Usage\n\nAdd `nuxt` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n1. Use our preset to extend recommended defaults:\n\n```json\n{\n  \"extends\": [\n    \"plugin:nuxt/recommended\"\n  ]\n}\n```\n\n2. Or specify individual rules manually:\n\n```json\n{\n    \"plugins\": [\n        \"nuxt\"\n    ],\n    \"rules\": {\n        \"nuxt/rule-name\": 2\n    }\n}\n```\n\n## :gear: Configs\n\nThis plugin provides four predefined configs:\n\n- `plugin:nuxt/base` - Settings and rules to enable correct ESLint parsing\n- `plugin:nuxt/recommended` - Above, plus rules to enforce subjective community defaults to ensure consistency\n\n## :bulb: Rules\n\n\u003c!--RULES_TABLE_START--\u003e\n\n### Base Rules\n\n```json\n{\n  \"extends\": \"plugin:nuxt/base\"\n}\n```\n\n|    | Rule ID | Description |\n|:---|:--------|:------------|\n|  | [nuxt/no-env-in-context](./docs/rules/no-env-in-context.md) | Disallow `context.isServer/context.isClient` in `asyncData/fetch/nuxtServerInit` |\n|  | [nuxt/no-env-in-hooks](./docs/rules/no-env-in-hooks.md) | Disallow `process.server/process.client` in client only Vue lifecycle hooks like: `mounted, beforeMount, updated...` |\n|  | [nuxt/no-globals-in-created](./docs/rules/no-globals-in-created.md) | Disallow `window/document` in `created/beforeCreate` |\n|  | [nuxt/no-this-in-fetch-data](./docs/rules/no-this-in-fetch-data.md) | Disallow `this` in `asyncData/fetch` |\n|  | [nuxt/no-cjs-in-config](./docs/rules/no-cjs-in-config.md) | Disallow `require/modules.exports/exports` in `nuxt.config.js` |\n\n### Recommended Rules\n\nInclude all the below rules, as well as all priority rules in above categories, with:\n\n```json\n{\n  \"extends\": \"plugin:nuxt/recommended\"\n}\n```\n\n|    | Rule ID | Description |\n|:---|:--------|:------------|\n|  | [nuxt/no-timing-in-fetch-data](./docs/rules/no-timing-in-fetch-data.md) | Disallow `setTimeout/setInterval` in `asyncData/fetch` |\n\n### Other Rules\n\n|    | Rule ID | Description |\n|:---|:--------|:------------|\n|  | [nuxt/require-func-head](./docs/rules/require-func-head.md) | Enforce `head` property in component to be a function. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt%2Feslint-plugin-nuxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuxt%2Feslint-plugin-nuxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt%2Feslint-plugin-nuxt/lists"}