by Nuxt · @nuxt/eslint-config
The Nuxt team's flat config for Nuxt and Vue projects, with TypeScript and import rules included.
pnpm add -D eslint @nuxt/eslint-config// eslint.config.js
import { createConfigForNuxt } from "@nuxt/eslint-config";
export default createConfigForNuxt();| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| eslint/no-cond-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-ex-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-global-assign | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-shadow-restricted-names | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-sparse-arrays | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/use-isnan | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-control-regex | error | In ESLint, Oxlint, Biome | 279.5M | +44.9% |
| eslint/no-useless-escape | error | In ESLint, Oxlint, Biome | 278.7M | +44.9% |
| eslint/no-empty-character-class | error | In ESLint, Oxlint, Biome | 278.3M | +45.0% |
| eslint/no-duplicate-case | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/no-empty-pattern | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/no-self-assign | error | In ESLint, Oxlint, Biome | 278.3M | +45.2% |
| eslint/no-debugger | error | In ESLint, Oxlint, Biome | 275.4M | +45.8% |
| eslint/no-extra-boolean-cast | error | In ESLint, Oxlint, Biome | 275.4M | +45.8% |
| eslint/no-irregular-whitespace | error | In ESLint, Oxlint, Biome | 274.9M | +45.9% |
| eslint/no-async-promise-executor | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-compare-neg-zero | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-misleading-character-class | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-unsafe-finally | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/no-useless-catch | error | In ESLint, Oxlint, Biome | 274.2M | +46.0% |
| eslint/require-yield | error | In ESLint, Oxlint, Biome | 274.1M | +45.6% |
| eslint/no-unused-labels | error | In ESLint, Oxlint, Biome | 273.9M | +45.6% |
| eslint/no-loss-of-precision | error | In ESLint, Oxlint, Biome | 273.9M | +46.0% |
| eslint/no-constant-condition | error | In ESLint, Oxlint, Biome | 273.5M | +46.0% |
| eslint/no-useless-backreference | error | In ESLint, Oxlint, Biome | 273M | +46.1% |
| eslint/for-direction | error | In ESLint, Oxlint, Biome | 270.1M | +46.5% |
| eslint/no-dupe-else-if | error | In ESLint, Oxlint, Biome | 270.1M | +46.5% |
| eslint/no-nonoctal-decimal-escape | error | In ESLint, Oxlint, Biome | 270M | +46.5% |
| eslint/no-unsafe-optional-chaining | error | In ESLint, Oxlint, Biome | 269.9M | +46.5% |
| eslint/no-unused-private-class-members | error | In ESLint, Oxlint, Biome | 259.6M | +49.1% |
| typescript/no-duplicate-enum-values | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-non-null-asserted-optional-chain | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-this-alias | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/prefer-namespace-keyword | error | In ESLint, Oxlint, Biome | 257.7M | +52.0% |
| typescript/no-extra-non-null-assertion | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/no-misused-new | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/no-unsafe-declaration-merging | error | In ESLint, Oxlint, Biome | 257.6M | +52.0% |
| typescript/triple-slash-reference | error | In ESLint, Oxlint, Biome | 256.9M | +52.0% |
| eslint/no-delete-var | error | In ESLint, Oxlint, Biome | 251.5M | +40.3% |
| eslint/no-invalid-regexp | error | In ESLint, Oxlint | 250.3M | +40.3% |
| eslint/no-constant-binary-expression | error | In ESLint, Oxlint, Biome | 232.1M | +44.0% |
| eslint/no-empty-static-block | error | In ESLint, Oxlint, Biome | 232.1M | +44.0% |
| eslint/no-unassigned-vars | error | In ESLint, Oxlint, Biome | 231.4M | +44.2% |
| eslint/no-fallthrough | error | In ESLint, Oxlint, Biome | 229.8M | +30.9% |
| eslint/no-regex-spaces | error | In ESLint, Oxlint, Biome | 229.8M | +30.9% |
| eslint/no-octal | error | In ESLint, Biome | 229.7M | +30.9% |
| typescript/prefer-as-const | error | In ESLint, Oxlint, Biome | 229.6M | +47.3% |
| typescript/no-wrapper-object-types | error | In ESLint, Oxlint, Biome | 229.6M | +47.3% |
| eslint/no-case-declarations | error | In ESLint, Oxlint, Biome | 224.5M | +31.6% |
| eslint/no-prototype-builtins | error | In ESLint, Oxlint, Biome | 224.4M | +31.6% |
| eslint/prefer-const | error | In ESLint, Oxlint, Biome | 221.9M | +34.2% |
| eslint/prefer-rest-params | error | In ESLint, Oxlint, Biome | 218.5M | +34.5% |
| typescript/no-unnecessary-type-constraint | error | In ESLint, Oxlint, Biome | 207.9M | +36.6% |
| typescript/ban-ts-comment | error | In ESLint, Oxlint, Biome | 207.9M | +36.6% |
| typescript/no-explicit-any | error | In ESLint, Oxlint, Biome | 206.7M | +36.7% |
| eslint/no-unexpected-multiline | error | In ESLint, Oxlint | 196.5M | +25.2% |
| eslint/no-empty | error | In ESLint, Oxlint, Biome | 196.5M | +25.1% |
| eslint/no-var | error | In ESLint, Oxlint, Biome | 193.9M | +27.7% |
| eslint/prefer-spread | error | In ESLint, Oxlint, Biome | 190.5M | +27.9% |
| typescript/no-unused-vars | error | In ESLint, Biome | 184.2M | +27.9% |
| typescript/no-array-constructor | error | In ESLint, Biome | 184.1M | +28.1% |
| typescript/no-unused-expressions | error | In ESLint | 183.4M | +28.0% |
| eslint/preserve-caught-error | error | In ESLint, Oxlint, Biome | 181.8M | +26.8% |
| typescript/no-unsafe-function-type | error | In ESLint, Oxlint, Biome | 179.9M | +29.8% |
| typescript/no-empty-object-type | error | In ESLint, Oxlint, Biome | 179.3M | +29.8% |
| typescript/no-namespace | error | In ESLint, Oxlint, Biome | 179.2M | +29.7% |
| typescript/no-require-imports | error | In ESLint, Oxlint, Biome | 176.6M | +29.0% |
| import/no-duplicates | error | In ESLint, Oxlint | 97.8M | +31.1% |
| typescript/prefer-literal-enum-member | error | In ESLint, Oxlint, Biome | 76.5M | +52.6% |
| typescript/no-extraneous-class | error | In ESLint, Oxlint, Biome | 75.7M | +52.7% |
| typescript/no-invalid-void-type | error | In ESLint, Oxlint, Biome | 75.4M | +53.2% |
| typescript/no-useless-constructor | error | In ESLint, Biome | 51.9M | +26.1% |
| typescript/no-non-null-asserted-nullish-coalescing | error | In ESLint, Oxlint | 48.5M | +32.5% |
| typescript/unified-signatures | error | In ESLint, Oxlint, Biome | 47.8M | +32.3% |
| typescript/no-dynamic-delete | error | In ESLint, Oxlint, Biome | 47.7M | +32.3% |
| vue/no-arrow-functions-in-watch | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-async-in-computed-properties | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-computed-properties-in-data | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-data-object-declaration | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-delete-set | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-destroyed-lifecycle | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-events-api | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-model-definition | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-props-default-this | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-vue-config-keycodes | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-export-in-script-setup | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-expose-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-lifecycle-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-reserved-keys | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-reserved-props | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-side-effects-in-computed-properties | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-watch-after-await | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/prefer-import-from-vue | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-prop-type-constructor | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-render-return | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/require-slots-as-functions | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/return-in-computed-property | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/return-in-emits-validator | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-emits | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-options | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-define-props | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/valid-next-tick | error | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-child-content | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-dollar-listeners-api | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-dollar-scopedslots-api | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-filter | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-functional-template | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-html-element-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-inline-template | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-router-link-tag-prop | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-scope-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-slot-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-slot-scope-attribute | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-bind-sync | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-on-native-modifier | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-deprecated-v-on-number-modifiers | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-dupe-v-else-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-duplicate-attributes | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-mutating-props | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-ref-as-operand | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-template-key | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-textarea-mustache | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-use-v-if-with-v-for | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-useless-template-attributes | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-v-for-template-key-on-child | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-v-text-v-html-on-component | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-component-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-toggle-inside-transition | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-v-for-key | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-valid-default-prop | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/use-v-on-exact | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-attribute-name | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-template-root | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-bind | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-cloak | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-else | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-else-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-for | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-html | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-if | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-is | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-memo | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-model | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-on | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-once | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-pre | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-show | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-slot | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/valid-v-text | error | In ESLint, Biome | 41.7M | +88.5% |
| vue/prop-name-casing | warn | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/attribute-hyphenation | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-template-shadow | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/one-component-per-file | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/require-explicit-emits | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-bind-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-on-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/v-slot-style | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-multiple-slot-args | warn | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/no-required-prop-with-default | warn | In ESLint, Oxlint, Biome | 41.7M | +88.5% |
| vue/block-order | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-lone-template | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/this-in-template | warn | In ESLint, Biome | 41.7M | +88.5% |
| vue/no-dupe-keys | error | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/require-default-prop | warn | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/require-prop-types | warn | In ESLint, Oxlint, Biome | 40.9M | +89.4% |
| vue/no-v-html | warn | In ESLint, Biome | 40.9M | +89.4% |
| typescript/consistent-type-imports | error | In ESLint, Oxlint, Biome | 32.1M | +103.7% |
| import/first | error | In ESLint, Oxlint, Biome | 21.8M | +15.0% |
| import/no-named-default | error | In ESLint, Oxlint | 17.7M | +17.7% |
| import/no-mutable-exports | error | In ESLint, Oxlint | 14.6M | +18.9% |
| vue/no-shared-component-data | error | In ESLint, Oxlint, Biome | 11.7M | +49.7% |
| vue/no-reserved-component-names | error | In ESLint, Oxlint | 11.7M | +49.7% |
| vue/no-unused-vars | error | In ESLint, Biome | 11.7M | +49.7% |
| vue/comment-directive | error | In ESLint | 11.7M | +49.7% |
| vue/jsx-uses-vars | error | In ESLint | 11.7M | +49.7% |
| vue/no-parsing-error | error | In ESLint | 11.7M | +49.7% |
| vue/no-unused-components | error | In ESLint | 11.7M | +49.7% |
| vue/no-use-computed-property-like-method | error | In ESLint | 11.7M | +49.7% |
| vue/component-definition-name-casing | warn | In ESLint, Oxlint | 11.7M | +49.7% |
| vue/v-on-event-hyphenation | warn | In ESLint, Biome | 11.7M | +49.7% |
| vue/first-attribute-linebreak | warn | In ESLint | 11.7M | +49.7% |
| vue/html-end-tags | warn | In ESLint | 11.7M | +49.7% |
| vue/html-self-closing | warn | In ESLint | 11.7M | +49.7% |
| vue/attributes-order | warn | In ESLint | 11.7M | +49.7% |
| vue/order-in-components | warn | In ESLint | 11.7M | +49.7% |
| typescript/no-import-type-side-effects | error | In ESLint, Oxlint | 4.5M | +92.8% |
| vue/no-multiple-template-root | error | In ESLint | 1.5M | +72.5% |