by Airbnb · eslint-config-airbnb-base
The Airbnb style guide without the React rules.
npx install-peerdeps --dev eslint-config-airbnb-base// .eslintrc.json (legacy config format)
{
"extends": "airbnb-base"
}| 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/valid-typeof | error | In ESLint, Oxlint, Biome | 278M | +44.8% |
| eslint/no-with | error | In ESLint, Oxlint, Biome | 276.9M | +45.0% |
| eslint/no-const-assign | error | In ESLint, Oxlint, Biome | 276M | +45.0% |
| eslint/no-dupe-keys | error | In ESLint, Oxlint, Biome | 276M | +45.0% |
| eslint/no-func-assign | error | In ESLint, Oxlint, Biome | 276M | +45.0% |
| eslint/no-obj-calls | error | In ESLint, Oxlint, Biome | 276M | +45.0% |
| eslint/no-unreachable | error | In ESLint, Oxlint, Biome | 276M | +45.0% |
| 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-this-before-super | error | In ESLint, Oxlint, Biome | 275.4M | +45.2% |
| eslint/no-irregular-whitespace | error | In ESLint, Oxlint, Biome | 274.9M | +45.9% |
| eslint/no-unsafe-negation | error | In ESLint, Oxlint, Biome | 274.7M | +45.2% |
| 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 | warn | In ESLint, Oxlint, Biome | 273.5M | +46.0% |
| eslint/no-useless-backreference | error | In ESLint, Oxlint, Biome | 273M | +46.1% |
| eslint/no-dupe-class-members | error | In ESLint, Oxlint, Biome | 271.7M | +45.9% |
| eslint/getter-return | error | In ESLint, Oxlint, Biome | 271.5M | +45.7% |
| eslint/constructor-super | error | In ESLint, Oxlint, Biome | 271.3M | +46.0% |
| eslint/no-unused-vars | error | In ESLint, Oxlint, Biome | 271.1M | +46.0% |
| eslint/no-class-assign | error | In ESLint, Oxlint, Biome | 271M | +46.1% |
| eslint/no-import-assign | error | In ESLint, Oxlint, Biome | 270.7M | +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-setter-return | error | In ESLint, Oxlint, Biome | 267.4M | +46.6% |
| 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-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% |
| eslint/no-dupe-args | error | In ESLint, Biome | 225M | +30.9% |
| 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/no-redeclare | error | In ESLint, Oxlint, Biome | 220.8M | +31.5% |
| eslint/prefer-rest-params | error | In ESLint, Oxlint, Biome | 218.5M | +34.5% |
| 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/no-undef | error | In ESLint, Oxlint, Biome | 192.8M | +24.9% |
| eslint/prefer-spread | error | In ESLint, Oxlint, Biome | 190.5M | +27.9% |
| eslint/no-caller | error | In ESLint, Oxlint, Biome | 100.4M | +97.3% |
| eslint/no-eval | error | In ESLint, Oxlint, Biome | 99.7M | +98.1% |
| eslint/no-useless-rename | error | In ESLint, Oxlint, Biome | 98.5M | +100.2% |
| import/no-duplicates | error | In ESLint, Oxlint | 97.8M | +31.1% |
| import/export | error | In ESLint, Oxlint | 93.1M | +29.4% |
| import/no-named-as-default | error | In ESLint, Oxlint | 92.4M | +31.2% |
| import/no-named-as-default-member | error | In ESLint, Oxlint | 92.4M | +31.2% |
| import/named | error | In ESLint, Oxlint, Biome | 90M | +30.0% |
| import/no-unresolved | error | In ESLint | 90M | +30.0% |
| eslint/no-iterator | error | In ESLint, Oxlint | 71.7M | +94.8% |
| eslint/no-unused-expressions | error | In ESLint, Oxlint, Biome | 64.8M | +112.4% |
| eslint/eqeqeq | error | In ESLint, Oxlint, Biome | 50.5M | +50.5% |
| eslint/no-self-compare | error | In ESLint, Oxlint, Biome | 50M | +51.2% |
| eslint/no-sequences | error | In ESLint, Oxlint, Biome | 50M | +51.2% |
| eslint/no-octal-escape | error | In ESLint, Biome | 50M | +51.2% |
| eslint/no-implied-eval | error | In ESLint, Oxlint, Biome | 49.8M | +51.3% |
| eslint/no-labels | error | In ESLint, Oxlint, Biome | 49.2M | +51.2% |
| eslint/no-lone-blocks | error | In ESLint, Oxlint, Biome | 49.2M | +51.2% |
| eslint/array-callback-return | error | In ESLint, Oxlint, Biome | 48.8M | +52.8% |
| eslint/no-template-curly-in-string | error | In ESLint, Oxlint, Biome | 48.8M | +52.8% |
| eslint/no-proto | error | In ESLint, Oxlint, Biome | 45.9M | +57.4% |
| eslint/no-script-url | error | In ESLint, Oxlint, Biome | 45.8M | +54.9% |
| eslint/no-undef-init | error | In ESLint, Biome | 45.8M | +57.5% |
| eslint/no-label-var | error | In ESLint, Oxlint, Biome | 45.6M | +54.9% |
| eslint/new-cap | error | In ESLint, Oxlint, Biome | 45.3M | +58.7% |
| eslint/dot-notation | error | In ESLint, Biome | 45M | +58.6% |
| eslint/no-array-constructor | error | In ESLint, Oxlint, Biome | 44.9M | +58.0% |
| eslint/default-case-last | error | In ESLint, Oxlint, Biome | 44.7M | +59.5% |
| eslint/prefer-regex-literals | error | In ESLint, Oxlint, Biome | 44.7M | +59.5% |
| eslint/no-unneeded-ternary | error | In ESLint, Oxlint, Biome | 44.7M | +59.5% |
| eslint/no-extra-label | error | In ESLint, Oxlint, Biome | 44.4M | +56.8% |
| eslint/no-use-before-define | error | In ESLint, Oxlint, Biome | 43M | +60.9% |
| eslint/no-useless-constructor | error | In ESLint, Oxlint, Biome | 43M | +60.9% |
| eslint/prefer-arrow-callback | error | In ESLint, Oxlint, Biome | 41.8M | +63.5% |
| eslint/radix | error | In ESLint, Oxlint, Biome | 41.8M | +62.5% |
| eslint/prefer-exponentiation-operator | error | In ESLint, Oxlint, Biome | 41.3M | +64.7% |
| eslint/prefer-template | error | In ESLint, Oxlint, Biome | 40.9M | +66.0% |
| eslint/no-constructor-return | error | In ESLint, Oxlint, Biome | 40.5M | +65.0% |
| eslint/prefer-numeric-literals | error | In ESLint, Oxlint, Biome | 40.5M | +65.0% |
| eslint/no-inner-declarations | error | In ESLint, Oxlint, Biome | 40.4M | +65.1% |
| eslint/no-new-wrappers | error | In ESLint, Oxlint, Biome | 22.6M | +12.7% |
| eslint/no-extend-native | error | In ESLint, Oxlint, Biome | 22.6M | +12.7% |
| eslint/no-extra-bind | error | In ESLint, Oxlint, Biome | 22.6M | +12.7% |
| eslint/no-new-func | error | In ESLint, Oxlint, Biome | 22M | +12.5% |
| import/first | error | In ESLint, Oxlint, Biome | 21.8M | +15.0% |
| eslint/no-multi-str | error | In ESLint, Oxlint, Biome | 21.4M | +13.0% |
| eslint/no-throw-literal | error | In ESLint, Oxlint, Biome | 20.8M | +13.3% |
| eslint/no-useless-computed-key | error | In ESLint, Oxlint, Biome | 20.8M | +12.8% |
| eslint/unicode-bom | error | In ESLint, Oxlint, Biome | 20M | +11.8% |
| import/no-webpack-loader-syntax | error | In ESLint, Oxlint | 19.5M | +11.2% |
| eslint/no-new-object | error | In ESLint, Biome | 19M | +5.4% |
| eslint/no-new | error | In ESLint, Oxlint, Biome | 17.9M | +14.5% |
| eslint/yoda | error | In ESLint, Oxlint, Biome | 17.9M | +14.5% |
| eslint/no-new-symbol | error | In ESLint, Biome | 17.7M | +5.2% |
| eslint/rest-spread-spacing | error | In ESLint | 17.7M | +5.2% |
| import/no-named-default | error | In ESLint, Oxlint | 17.7M | +17.7% |
| eslint/one-var | error | In ESLint, Oxlint, Biome | 17.3M | +15.2% |
| eslint/no-return-assign | error | In ESLint, Oxlint, Biome | 17.2M | +13.3% |
| eslint/no-void | error | In ESLint, Oxlint, Biome | 17.2M | +13.3% |
| eslint/no-restricted-globals | error | In ESLint, Oxlint, Biome | 17.2M | +12.2% |
| eslint/dot-location | error | In ESLint | 17.1M | +4.7% |
| eslint/new-parens | error | In ESLint | 17.1M | +4.7% |
| eslint/no-mixed-operators | error | In ESLint | 17.1M | +4.7% |
| eslint/no-whitespace-before-property | error | In ESLint | 17.1M | +4.7% |
| eslint/prefer-promise-reject-errors | error | In ESLint, Oxlint, Biome | 16.8M | +15.7% |
| eslint/symbol-description | error | In ESLint, Oxlint, Biome | 16.7M | +15.1% |
| eslint/no-unreachable-loop | error | In ESLint, Oxlint | 16.7M | +15.1% |
| eslint/no-useless-return | error | In ESLint, Oxlint, Biome | 16.7M | +15.0% |
| eslint/object-shorthand | error | In ESLint, Oxlint, Biome | 16.7M | +15.0% |
| eslint/no-useless-concat | error | In ESLint, Oxlint, Biome | 16.6M | +11.1% |
| eslint/no-loop-func | error | In ESLint, Oxlint, Biome | 16.6M | +11.1% |
| eslint/curly | error | In ESLint, Oxlint, Biome | 16.6M | +14.0% |
| import/no-amd | error | In ESLint, Oxlint | 16.4M | +10.9% |
| eslint/strict | error | In ESLint, Biome | 16.2M | +11.7% |
| import/no-absolute-path | error | In ESLint, Oxlint | 15.4M | +13.0% |
| eslint/no-restricted-properties | error | In ESLint, Oxlint, Biome | 15.3M | +4.9% |
| import/no-mutable-exports | error | In ESLint, Oxlint | 14.6M | +18.9% |
| eslint/eol-last | error | In ESLint | 14.2M | +5.4% |
| eslint/no-trailing-spaces | error | In ESLint | 14.2M | +5.4% |
| eslint/quotes | error | In ESLint | 14.2M | +5.4% |
| import/no-extraneous-dependencies | error | In ESLint, Biome | 14.2M | +11.5% |
| eslint/no-restricted-syntax | error | In ESLint | 14M | +3.1% |
| eslint/camelcase | error | In ESLint, Biome | 14M | +6.1% |
| eslint/no-alert | warn | In ESLint, Oxlint, Biome | 13.7M | +12.9% |
| eslint/spaced-comment | error | In ESLint | 13.7M | +5.4% |
| eslint/array-bracket-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/block-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/brace-style | error | In ESLint | 13.7M | +5.4% |
| eslint/comma-dangle | error | In ESLint | 13.7M | +5.4% |
| eslint/comma-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/comma-style | error | In ESLint | 13.7M | +5.4% |
| eslint/computed-property-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/func-call-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/generator-star-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/indent | error | In ESLint | 13.7M | +5.4% |
| eslint/key-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/keyword-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/no-mixed-spaces-and-tabs | error | In ESLint | 13.7M | +5.4% |
| eslint/no-multi-spaces | error | In ESLint | 13.7M | +5.4% |
| eslint/no-multiple-empty-lines | error | In ESLint | 13.7M | +5.4% |
| eslint/no-tabs | error | In ESLint | 13.7M | +5.4% |
| eslint/object-curly-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/operator-linebreak | error | In ESLint | 13.7M | +5.4% |
| eslint/padded-blocks | error | In ESLint | 13.7M | +5.4% |
| eslint/quote-props | error | In ESLint | 13.7M | +5.4% |
| eslint/semi | error | In ESLint | 13.7M | +5.4% |
| eslint/semi-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/space-before-blocks | error | In ESLint | 13.7M | +5.4% |
| eslint/space-before-function-paren | error | In ESLint | 13.7M | +5.4% |
| eslint/yield-star-spacing | error | In ESLint | 13.7M | +5.4% |
| eslint/block-scoped-var | error | In ESLint, Oxlint | 13.6M | +14.4% |
| eslint/no-bitwise | error | In ESLint, Oxlint, Biome | 13.6M | +12.6% |
| eslint/guard-for-in | error | In ESLint, Oxlint, Biome | 13.2M | +13.8% |
| import/newline-after-import | error | In ESLint, Oxlint | 13.1M | +14.8% |
| eslint/arrow-spacing | error | In ESLint | 13M | +4.8% |
| eslint/lines-between-class-members | error | In ESLint | 13M | +4.8% |
| eslint/no-floating-decimal | error | In ESLint | 13M | +4.8% |
| eslint/object-curly-newline | error | In ESLint | 13M | +4.8% |
| eslint/object-property-newline | error | In ESLint | 13M | +4.8% |
| eslint/space-in-parens | error | In ESLint | 13M | +4.8% |
| eslint/space-infix-ops | error | In ESLint | 13M | +4.8% |
| eslint/space-unary-ops | error | In ESLint | 13M | +4.8% |
| eslint/template-curly-spacing | error | In ESLint | 13M | +4.8% |
| eslint/template-tag-spacing | error | In ESLint | 13M | +4.8% |
| eslint/wrap-iife | error | In ESLint | 13M | +4.8% |
| eslint/vars-on-top | error | In ESLint, Oxlint, Biome | 12.7M | +15.6% |
| eslint/grouped-accessor-pairs | error | In ESLint, Oxlint, Biome | 12.5M | +13.5% |
| eslint/prefer-object-spread | error | In ESLint, Oxlint, Biome | 12.5M | +13.5% |
| eslint/no-promise-executor-return | error | In ESLint, Oxlint, Biome | 12.5M | +13.5% |
| eslint/arrow-body-style | error | In ESLint, Oxlint, Biome | 12.5M | +13.4% |
| eslint/no-await-in-loop | error | In ESLint, Oxlint, Biome | 12.5M | +13.4% |
| eslint/no-lonely-if | error | In ESLint, Oxlint, Biome | 12.5M | +13.4% |
| eslint/no-multi-assign | error | In ESLint, Oxlint, Biome | 12.5M | +13.4% |
| eslint/operator-assignment | error | In ESLint, Oxlint, Biome | 12.5M | +13.4% |
| eslint/no-else-return | error | In ESLint, Oxlint, Biome | 12.3M | +13.2% |
| eslint/prefer-destructuring | error | In ESLint, Oxlint, Biome | 12.3M | +13.2% |
| import/no-cycle | error | In ESLint, Oxlint, Biome | 12.3M | +13.2% |
| eslint/func-names | warn | In ESLint, Oxlint, Biome | 12.3M | +13.2% |
| import/no-self-import | error | In ESLint, Oxlint, Biome | 12.3M | +13.2% |
| eslint/no-param-reassign | error | In ESLint, Oxlint, Biome | 12.1M | +14.3% |
| eslint/no-plusplus | error | In ESLint, Oxlint, Biome | 12.1M | +14.3% |
| eslint/class-methods-use-this | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/default-case | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/default-param-last | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/max-classes-per-file | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/no-nested-ternary | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/no-empty-function | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| eslint/no-shadow | error | In ESLint, Oxlint, Biome | 11.9M | +14.0% |
| import/extensions | error | In ESLint, Oxlint, Biome | 11.8M | +2.4% |
| eslint/no-new-require | error | In ESLint, Biome | 11.1M | +3.1% |
| eslint/no-path-concat | error | In ESLint | 11.1M | +3.1% |
| eslint/arrow-parens | error | In ESLint | 10.6M | +3.4% |
| eslint/linebreak-style | error | In ESLint | 10.6M | +3.4% |
| eslint/max-len | error | In ESLint | 10.6M | +3.4% |
| eslint/switch-colon-spacing | error | In ESLint | 10.6M | +3.4% |
| import/no-useless-path-segments | error | In ESLint | 10.3M | +2.2% |
| import/order | error | In ESLint | 10.3M | +2.2% |
| eslint/no-console | warn | In ESLint, Oxlint, Biome | 10.1M | +3.0% |
| eslint/no-continue | error | In ESLint, Oxlint, Biome | 9.9M | +2.5% |
| eslint/no-underscore-dangle | error | In ESLint, Oxlint, Biome | 9.9M | +2.5% |
| import/no-dynamic-require | error | In ESLint, Oxlint, Biome | 9.9M | +2.5% |
| eslint/no-restricted-exports | error | In ESLint, Oxlint | 9.9M | +2.5% |
| eslint/global-require | error | In ESLint, Biome | 9.9M | +2.5% |
| eslint/no-buffer-constructor | error | In ESLint, Biome | 9.9M | +2.5% |
| import/prefer-default-export | error | In ESLint, Oxlint | 9.9M | +2.5% |
| eslint/consistent-return | error | In ESLint | 9.9M | +2.5% |
| eslint/function-call-argument-newline | error | In ESLint | 9.9M | +2.5% |
| eslint/function-paren-newline | error | In ESLint | 9.9M | +2.5% |
| eslint/implicit-arrow-linebreak | error | In ESLint | 9.9M | +2.5% |
| eslint/lines-around-directive | error | In ESLint | 9.9M | +2.5% |
| eslint/newline-per-chained-call | error | In ESLint | 9.9M | +2.5% |
| eslint/no-confusing-arrow | error | In ESLint | 9.9M | +2.5% |
| eslint/no-extra-semi | error | In ESLint | 9.9M | +2.5% |
| eslint/no-return-await | error | In ESLint | 9.9M | +2.5% |
| eslint/no-spaced-func | error | In ESLint | 9.9M | +2.5% |
| eslint/nonblock-statement-body-position | error | In ESLint | 9.9M | +2.5% |
| eslint/one-var-declaration-per-line | error | In ESLint | 9.9M | +2.5% |
| eslint/semi-style | error | In ESLint | 9.9M | +2.5% |
| import/no-import-module-exports | error | In ESLint | 9.9M | +2.5% |
| import/no-relative-packages | error | In ESLint | 9.9M | +2.5% |