by Google · eslint-config-google
The Google JavaScript style guide. Mostly formatting rules, written for the eslintrc format.
pnpm add -D eslint eslint-config-google// .eslintrc.json (legacy config format)
{
"extends": "google"
}| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| eslint/no-with | error | In ESLint, Oxlint, Biome | 276.9M | +45.0% |
| 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/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/prefer-const | error | In ESLint, Oxlint, Biome | 221.9M | +34.2% |
| 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-var | error | In ESLint, Oxlint, Biome | 193.9M | +27.7% |
| 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/new-cap | error | In ESLint, Oxlint, Biome | 45.3M | +58.7% |
| eslint/no-array-constructor | error | In ESLint, Oxlint, Biome | 44.9M | +58.0% |
| 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-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-new-object | error | In ESLint, Biome | 19M | +5.4% |
| eslint/no-new-symbol | error | In ESLint, Biome | 17.7M | +5.2% |
| eslint/rest-spread-spacing | error | In ESLint | 17.7M | +5.2% |
| eslint/one-var | error | In ESLint, Oxlint, Biome | 17.3M | +15.2% |
| eslint/prefer-promise-reject-errors | error | In ESLint, Oxlint, Biome | 16.8M | +15.7% |
| eslint/curly | error | In ESLint, Oxlint, Biome | 16.6M | +14.0% |
| 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% |
| eslint/camelcase | error | In ESLint, Biome | 14M | +6.1% |
| 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/guard-for-in | error | In ESLint, Oxlint, Biome | 13.2M | +13.8% |
| 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% |
| eslint/no-invalid-this | error | In ESLint, Biome | 644.2K | +19.6% |