# eslint-config-love

A strict TypeScript config, formerly eslint-config-standard-with-typescript. Leans heavily on type-aware rules.

- Linter: ESLint
- Package: `eslint-config-love` (https://github.com/mightyiam/eslint-config-love)
- Author: Shahar Dawn Or (community)
- Rules: 258, plus 6 from plugins this site doesn't track
- Weekly downloads: 171.7K, +39.3% last quarter
- Technologies: javascript (136), typescript (115), node (7)

## Install

```sh
npm install -D eslint eslint-config-love
pnpm add -D eslint eslint-config-love
yarn add -D eslint eslint-config-love
bun add -d eslint eslint-config-love
```

## Config: `eslint.config.js`

```js
// eslint.config.js
import love from "eslint-config-love";

export default [
  love,
];
```

## Rules it enables

| Rule | Severity | Description | Reach |
| --- | --- | --- | --- |
| [eslint/no-cond-assign](https://lintradar.dev/rules/eslint/no-cond-assign.md) | error | Disallow assignment operators in conditional expressions | 282.3M |
| [eslint/no-ex-assign](https://lintradar.dev/rules/eslint/no-ex-assign.md) | error | Disallow reassigning exceptions in `catch` clauses | 282.3M |
| [eslint/no-global-assign](https://lintradar.dev/rules/eslint/no-global-assign.md) | error | Disallow assignments to native objects or read-only global variables | 282.3M |
| [eslint/no-shadow-restricted-names](https://lintradar.dev/rules/eslint/no-shadow-restricted-names.md) | error | Disallow identifiers from shadowing restricted names | 282.3M |
| [eslint/no-sparse-arrays](https://lintradar.dev/rules/eslint/no-sparse-arrays.md) | error | Disallow sparse arrays | 282.3M |
| [eslint/use-isnan](https://lintradar.dev/rules/eslint/use-isnan.md) | error | Require calls to `isNaN()` when checking for `NaN` | 282.3M |
| [eslint/no-control-regex](https://lintradar.dev/rules/eslint/no-control-regex.md) | error | Disallow control characters in regular expressions | 282.3M |
| [eslint/no-useless-escape](https://lintradar.dev/rules/eslint/no-useless-escape.md) | error | Disallow unnecessary escape characters | 281.5M |
| [eslint/no-empty-character-class](https://lintradar.dev/rules/eslint/no-empty-character-class.md) | error | Disallow empty character classes in regular expressions | 281.1M |
| [eslint/no-duplicate-case](https://lintradar.dev/rules/eslint/no-duplicate-case.md) | error | Disallow duplicate case labels | 281.1M |
| [eslint/no-empty-pattern](https://lintradar.dev/rules/eslint/no-empty-pattern.md) | error | Disallow empty destructuring patterns | 281.1M |
| [eslint/no-self-assign](https://lintradar.dev/rules/eslint/no-self-assign.md) | error | Disallow assignments where both sides are exactly the same | 281.1M |
| [eslint/valid-typeof](https://lintradar.dev/rules/eslint/valid-typeof.md) | error | Enforce comparing `typeof` expressions against valid strings | 280.8M |
| [eslint/no-with](https://lintradar.dev/rules/eslint/no-with.md) | error | Disallow `with` statements | 279.7M |
| [eslint/no-const-assign](https://lintradar.dev/rules/eslint/no-const-assign.md) | error | Disallow reassigning `const`, `using`, and `await using` variables | 278.7M |
| [eslint/no-dupe-keys](https://lintradar.dev/rules/eslint/no-dupe-keys.md) | error | Disallow duplicate keys in object literals | 278.7M |
| [eslint/no-func-assign](https://lintradar.dev/rules/eslint/no-func-assign.md) | error | Disallow reassigning `function` declarations | 278.7M |
| [eslint/no-obj-calls](https://lintradar.dev/rules/eslint/no-obj-calls.md) | error | Disallow calling global object properties as functions | 278.7M |
| [eslint/no-unreachable](https://lintradar.dev/rules/eslint/no-unreachable.md) | error | Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements | 278.7M |
| [eslint/no-debugger](https://lintradar.dev/rules/eslint/no-debugger.md) | error | Disallow the use of `debugger` | 278.2M |
| [eslint/no-extra-boolean-cast](https://lintradar.dev/rules/eslint/no-extra-boolean-cast.md) | error | Disallow unnecessary boolean casts | 278.2M |
| [eslint/no-this-before-super](https://lintradar.dev/rules/eslint/no-this-before-super.md) | error | Disallow `this`/`super` before calling `super()` in constructors | 278.1M |
| [eslint/no-irregular-whitespace](https://lintradar.dev/rules/eslint/no-irregular-whitespace.md) | error | Disallow irregular whitespace | 277.6M |
| [eslint/no-unsafe-negation](https://lintradar.dev/rules/eslint/no-unsafe-negation.md) | error | Disallow negating the left operand of relational operators | 277.5M |
| [eslint/no-async-promise-executor](https://lintradar.dev/rules/eslint/no-async-promise-executor.md) | error | Disallow using an async function as a Promise executor | 277M |
| [eslint/no-compare-neg-zero](https://lintradar.dev/rules/eslint/no-compare-neg-zero.md) | error | Disallow comparing against `-0` | 277M |
| [eslint/no-misleading-character-class](https://lintradar.dev/rules/eslint/no-misleading-character-class.md) | error | Disallow characters which are made with multiple code points in character class syntax | 277M |
| [eslint/no-unsafe-finally](https://lintradar.dev/rules/eslint/no-unsafe-finally.md) | error | Disallow control flow statements in `finally` blocks | 277M |
| [eslint/no-useless-catch](https://lintradar.dev/rules/eslint/no-useless-catch.md) | error | Disallow unnecessary `catch` clauses | 277M |
| [eslint/require-yield](https://lintradar.dev/rules/eslint/require-yield.md) | error | Require generator functions to contain `yield` | 276.9M |
| [eslint/no-loss-of-precision](https://lintradar.dev/rules/eslint/no-loss-of-precision.md) | error | Disallow literal numbers that lose precision | 276.6M |
| [eslint/no-constant-condition](https://lintradar.dev/rules/eslint/no-constant-condition.md) | error | Disallow constant expressions in conditions | 276.2M |
| [eslint/no-useless-backreference](https://lintradar.dev/rules/eslint/no-useless-backreference.md) | error | Disallow useless backreferences in regular expressions | 275.8M |
| [eslint/constructor-super](https://lintradar.dev/rules/eslint/constructor-super.md) | error | Require `super()` calls in constructors | 274.1M |
| [eslint/no-class-assign](https://lintradar.dev/rules/eslint/no-class-assign.md) | error | Disallow reassigning class members | 273.7M |
| [eslint/no-import-assign](https://lintradar.dev/rules/eslint/no-import-assign.md) | error | Disallow assigning to imported bindings | 273.4M |
| [eslint/for-direction](https://lintradar.dev/rules/eslint/for-direction.md) | error | Enforce `for` loop update clause moving the counter in the right direction | 272.8M |
| [eslint/no-dupe-else-if](https://lintradar.dev/rules/eslint/no-dupe-else-if.md) | error | Disallow duplicate conditions in if-else-if chains | 272.8M |
| [eslint/no-nonoctal-decimal-escape](https://lintradar.dev/rules/eslint/no-nonoctal-decimal-escape.md) | error | Disallow `\8` and `\9` escape sequences in string literals | 272.8M |
| [typescript/no-duplicate-enum-values](https://lintradar.dev/rules/typescript/no-duplicate-enum-values.md) | error | Disallow duplicate enum member values | 260.7M |
| [typescript/no-non-null-asserted-optional-chain](https://lintradar.dev/rules/typescript/no-non-null-asserted-optional-chain.md) | error | Disallow non-null assertions after an optional chain expression | 260.7M |
| [typescript/no-this-alias](https://lintradar.dev/rules/typescript/no-this-alias.md) | error | Disallow aliasing `this` | 260.7M |
| [typescript/prefer-namespace-keyword](https://lintradar.dev/rules/typescript/prefer-namespace-keyword.md) | error | Require using `namespace` keyword over `module` keyword to declare custom TypeScript modules | 260.7M |
| [typescript/no-extra-non-null-assertion](https://lintradar.dev/rules/typescript/no-extra-non-null-assertion.md) | error | Disallow extra non-null assertions | 260.7M |
| [typescript/no-misused-new](https://lintradar.dev/rules/typescript/no-misused-new.md) | error | Enforce valid definition of `new` and `constructor` | 260.7M |
| [typescript/no-unsafe-declaration-merging](https://lintradar.dev/rules/typescript/no-unsafe-declaration-merging.md) | error | Disallow unsafe declaration merging | 260.7M |
| [typescript/triple-slash-reference](https://lintradar.dev/rules/typescript/triple-slash-reference.md) | error | Disallow certain triple slash directives in favor of ES6-style import declarations | 260M |
| [eslint/no-delete-var](https://lintradar.dev/rules/eslint/no-delete-var.md) | error | Disallow deleting variables | 253.8M |
| [eslint/no-invalid-regexp](https://lintradar.dev/rules/eslint/no-invalid-regexp.md) | error | Disallow invalid regular expression strings in `RegExp` constructors | 252.6M |
| [eslint/no-constant-binary-expression](https://lintradar.dev/rules/eslint/no-constant-binary-expression.md) | error | Disallow expressions where the operation doesn't affect the value | 234.4M |
| [eslint/no-empty-static-block](https://lintradar.dev/rules/eslint/no-empty-static-block.md) | error | Disallow empty static blocks | 234.3M |
| [typescript/prefer-as-const](https://lintradar.dev/rules/typescript/prefer-as-const.md) | error | Enforce the use of `as const` over literal type | 232.2M |
| [typescript/no-wrapper-object-types](https://lintradar.dev/rules/typescript/no-wrapper-object-types.md) | error | Disallow using confusing built-in primitive class wrappers | 232.2M |
| [eslint/no-new-native-nonconstructor](https://lintradar.dev/rules/eslint/no-new-native-nonconstructor.md) | error | Disallow `new` operators with global non-constructor functions | 231.9M |
| [eslint/no-fallthrough](https://lintradar.dev/rules/eslint/no-fallthrough.md) | error | Disallow fallthrough of `case` statements | 231.5M |
| [eslint/no-regex-spaces](https://lintradar.dev/rules/eslint/no-regex-spaces.md) | error | Disallow multiple spaces in regular expressions | 231.5M |
| [eslint/no-octal](https://lintradar.dev/rules/eslint/no-octal.md) | error | Disallow octal literals | 231.4M |
| [eslint/no-dupe-args](https://lintradar.dev/rules/eslint/no-dupe-args.md) | error | Disallow duplicate arguments in `function` definitions | 226.6M |
| [eslint/no-case-declarations](https://lintradar.dev/rules/eslint/no-case-declarations.md) | error | Disallow lexical declarations in case clauses | 226.2M |
| [eslint/no-prototype-builtins](https://lintradar.dev/rules/eslint/no-prototype-builtins.md) | error | Disallow calling some `Object.prototype` methods directly on objects | 226.1M |
| [eslint/prefer-const](https://lintradar.dev/rules/eslint/prefer-const.md) | error | Require `const` declarations for variables that are never reassigned after declared | 223.9M |
| [eslint/prefer-rest-params](https://lintradar.dev/rules/eslint/prefer-rest-params.md) | error | Require rest parameters instead of `arguments` | 220.5M |
| [eslint/no-useless-assignment](https://lintradar.dev/rules/eslint/no-useless-assignment.md) | error | Disallow variable assignments when the value is not used | 209.9M |
| [typescript/no-unnecessary-type-constraint](https://lintradar.dev/rules/typescript/no-unnecessary-type-constraint.md) | error | Disallow unnecessary constraints on generic types | 209.9M |
| [typescript/ban-ts-comment](https://lintradar.dev/rules/typescript/ban-ts-comment.md) | error | Disallow `@ts-<directive>` comments or require descriptions after directives | 209.9M |
| [typescript/no-explicit-any](https://lintradar.dev/rules/typescript/no-explicit-any.md) | error | Disallow the `any` type | 208.7M |
| [eslint/no-unexpected-multiline](https://lintradar.dev/rules/eslint/no-unexpected-multiline.md) | error | Disallow confusing multiline expressions | 197.7M |
| [eslint/no-empty](https://lintradar.dev/rules/eslint/no-empty.md) | error | Disallow empty block statements | 197.7M |
| [eslint/no-var](https://lintradar.dev/rules/eslint/no-var.md) | error | Require `let` or `const` instead of `var` | 195.4M |
| [eslint/prefer-spread](https://lintradar.dev/rules/eslint/prefer-spread.md) | error | Require spread operators instead of `.apply()` | 192M |
| [typescript/no-unused-vars](https://lintradar.dev/rules/typescript/no-unused-vars.md) | error | Disallow unused variables | 185.6M |
| [typescript/no-array-constructor](https://lintradar.dev/rules/typescript/no-array-constructor.md) | error | Disallow generic `Array` constructors | 185.6M |
| [typescript/no-unused-expressions](https://lintradar.dev/rules/typescript/no-unused-expressions.md) | error | Disallow unused expressions | 184.8M |
| [eslint/preserve-caught-error](https://lintradar.dev/rules/eslint/preserve-caught-error.md) | error | Disallow losing originally caught error when re-throwing custom errors | 183M |
| [typescript/no-unsafe-function-type](https://lintradar.dev/rules/typescript/no-unsafe-function-type.md) | error | Disallow using the unsafe built-in Function type | 181.4M |
| [typescript/no-empty-object-type](https://lintradar.dev/rules/typescript/no-empty-object-type.md) | error | Disallow accidentally using the "empty object" type | 180.8M |
| [typescript/no-namespace](https://lintradar.dev/rules/typescript/no-namespace.md) | error | Disallow TypeScript namespaces | 180.7M |
| [typescript/no-require-imports](https://lintradar.dev/rules/typescript/no-require-imports.md) | error | Disallow invocation of `require()` | 178.1M |
| [typescript/no-floating-promises](https://lintradar.dev/rules/typescript/no-floating-promises.md) | error | Require Promise-like statements to be handled appropriately | 126.5M |
| [typescript/no-array-delete](https://lintradar.dev/rules/typescript/no-array-delete.md) | error | Disallow using the `delete` operator on array values | 125.9M |
| [typescript/no-duplicate-type-constituents](https://lintradar.dev/rules/typescript/no-duplicate-type-constituents.md) | error | Disallow duplicate constituents of union or intersection types | 125.9M |
| [typescript/no-unsafe-unary-minus](https://lintradar.dev/rules/typescript/no-unsafe-unary-minus.md) | error | Require unary negation to take a number | 125.9M |
| [typescript/no-redundant-type-constituents](https://lintradar.dev/rules/typescript/no-redundant-type-constituents.md) | error | Disallow members of unions and intersections that do nothing or override type information | 125.5M |
| [eslint/no-caller](https://lintradar.dev/rules/eslint/no-caller.md) | error | Disallow the use of `arguments.caller` or `arguments.callee` | 102.1M |
| [eslint/no-eval](https://lintradar.dev/rules/eslint/no-eval.md) | error | Disallow the use of `eval()` | 101.4M |
| [eslint/no-useless-rename](https://lintradar.dev/rules/eslint/no-useless-rename.md) | error | Disallow renaming import, export, and destructured assignments to the same name | 100.2M |
| [typescript/no-implied-eval](https://lintradar.dev/rules/typescript/no-implied-eval.md) | error | Disallow the use of `eval()`-like functions | 98.9M |
| [typescript/no-for-in-array](https://lintradar.dev/rules/typescript/no-for-in-array.md) | error | Disallow iterating over an array with a for-in loop | 97.4M |
| [typescript/no-base-to-string](https://lintradar.dev/rules/typescript/no-base-to-string.md) | error | Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified | 97.4M |
| [typescript/await-thenable](https://lintradar.dev/rules/typescript/await-thenable.md) | error | Disallow awaiting a value that is not a Thenable | 97.4M |
| [typescript/restrict-template-expressions](https://lintradar.dev/rules/typescript/restrict-template-expressions.md) | error | Enforce template literal expressions to be of `string` type | 97.4M |
| [typescript/no-meaningless-void-operator](https://lintradar.dev/rules/typescript/no-meaningless-void-operator.md) | error | Disallow the `void` operator except when used to discard a value | 97.4M |
| [typescript/no-misused-spread](https://lintradar.dev/rules/typescript/no-misused-spread.md) | error | Disallow using the spread operator when it might cause unexpected behavior | 97.4M |
| [typescript/no-useless-default-assignment](https://lintradar.dev/rules/typescript/no-useless-default-assignment.md) | error | Disallow default values that will never be used | 97.4M |
| [typescript/unbound-method](https://lintradar.dev/rules/typescript/unbound-method.md) | error | Enforce unbound methods are called with their expected scope | 97M |
| [typescript/no-useless-empty-export](https://lintradar.dev/rules/typescript/no-useless-empty-export.md) | error | Disallow empty exports that don't change anything in a module file | 82M |
| [typescript/prefer-literal-enum-member](https://lintradar.dev/rules/typescript/prefer-literal-enum-member.md) | error | Require all enum members to be literal values | 77.4M |
| [typescript/no-extraneous-class](https://lintradar.dev/rules/typescript/no-extraneous-class.md) | error | Disallow classes used as namespaces | 76.6M |
| [typescript/no-invalid-void-type](https://lintradar.dev/rules/typescript/no-invalid-void-type.md) | error | Disallow `void` type outside of generic or return types | 76.3M |
| [typescript/adjacent-overload-signatures](https://lintradar.dev/rules/typescript/adjacent-overload-signatures.md) | error | Require that function overload signatures be consecutive | 75.2M |
| [typescript/prefer-function-type](https://lintradar.dev/rules/typescript/prefer-function-type.md) | error | Enforce using function types instead of interfaces with call signatures | 75.2M |
| [typescript/no-misused-promises](https://lintradar.dev/rules/typescript/no-misused-promises.md) | error | Disallow Promises in places not designed to handle them | 75.1M |
| [typescript/no-unnecessary-type-assertion](https://lintradar.dev/rules/typescript/no-unnecessary-type-assertion.md) | error | Disallow type assertions that do not change the type of an expression | 75.1M |
| [typescript/no-non-null-assertion](https://lintradar.dev/rules/typescript/no-non-null-assertion.md) | error | Disallow non-null assertions using the `!` postfix operator | 74.7M |
| [eslint/no-iterator](https://lintradar.dev/rules/eslint/no-iterator.md) | error | Disallow the use of the `__iterator__` property | 72.9M |
| [typescript/no-unnecessary-parameter-property-assignment](https://lintradar.dev/rules/typescript/no-unnecessary-parameter-property-assignment.md) | error | Disallow unnecessary assignment of constructor property parameter | 53.5M |
| [typescript/require-array-sort-compare](https://lintradar.dev/rules/typescript/require-array-sort-compare.md) | error | Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction` | 53.5M |
| [typescript/no-useless-constructor](https://lintradar.dev/rules/typescript/no-useless-constructor.md) | error | Disallow unnecessary constructors | 52.3M |
| [eslint/eqeqeq](https://lintradar.dev/rules/eslint/eqeqeq.md) | error | Require the use of `===` and `!==` | 51.1M |
| [typescript/consistent-type-assertions](https://lintradar.dev/rules/typescript/consistent-type-assertions.md) | error | Enforce consistent usage of type assertions | 50.7M |
| [eslint/no-self-compare](https://lintradar.dev/rules/eslint/no-self-compare.md) | error | Disallow comparisons where both sides are exactly the same | 50.6M |
| [eslint/no-sequences](https://lintradar.dev/rules/eslint/no-sequences.md) | error | Disallow comma operators | 50.6M |
| [eslint/no-octal-escape](https://lintradar.dev/rules/eslint/no-octal-escape.md) | error | Disallow octal escape sequences in string literals | 50.6M |
| [eslint/no-labels](https://lintradar.dev/rules/eslint/no-labels.md) | error | Disallow labeled statements | 49.8M |
| [eslint/no-lone-blocks](https://lintradar.dev/rules/eslint/no-lone-blocks.md) | error | Disallow unnecessary nested blocks | 49.8M |
| [eslint/array-callback-return](https://lintradar.dev/rules/eslint/array-callback-return.md) | error | Enforce `return` statements in callbacks of array methods | 49.4M |
| [eslint/no-template-curly-in-string](https://lintradar.dev/rules/eslint/no-template-curly-in-string.md) | error | Disallow template literal placeholder syntax in regular strings | 49.4M |
| [typescript/no-non-null-asserted-nullish-coalescing](https://lintradar.dev/rules/typescript/no-non-null-asserted-nullish-coalescing.md) | error | Disallow non-null assertions in the left operand of a nullish coalescing operator | 48.9M |
| [typescript/return-await](https://lintradar.dev/rules/typescript/return-await.md) | error | Enforce consistent awaiting of returned promises | 48.5M |
| [typescript/unified-signatures](https://lintradar.dev/rules/typescript/unified-signatures.md) | error | Disallow two overloads that could be unified into one with a union or an optional/rest parameter | 48.2M |
| [typescript/no-dynamic-delete](https://lintradar.dev/rules/typescript/no-dynamic-delete.md) | error | Disallow using the `delete` operator on computed key expressions | 48.2M |
| [typescript/consistent-type-definitions](https://lintradar.dev/rules/typescript/consistent-type-definitions.md) | error | Enforce type definitions to consistently use either `interface` or `type` | 47.4M |
| [typescript/no-inferrable-types](https://lintradar.dev/rules/typescript/no-inferrable-types.md) | error | Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean | 46.7M |
| [typescript/prefer-for-of](https://lintradar.dev/rules/typescript/prefer-for-of.md) | error | Enforce the use of `for-of` loop over the standard `for` loop where possible | 46.7M |
| [typescript/class-literal-property-style](https://lintradar.dev/rules/typescript/class-literal-property-style.md) | error | Enforce that literals on classes are exposed in a consistent style | 46.7M |
| [typescript/array-type](https://lintradar.dev/rules/typescript/array-type.md) | error | Require consistently using either `T[]` or `Array<T>` for arrays | 46.6M |
| [typescript/no-mixed-enums](https://lintradar.dev/rules/typescript/no-mixed-enums.md) | error | Disallow enums from having both number and string members | 46.6M |
| [typescript/no-unnecessary-template-expression](https://lintradar.dev/rules/typescript/no-unnecessary-template-expression.md) | error | Disallow unnecessary template expressions | 46.6M |
| [typescript/no-unsafe-return](https://lintradar.dev/rules/typescript/no-unsafe-return.md) | error | Disallow returning a value with type `any` from a function | 46.6M |
| [typescript/only-throw-error](https://lintradar.dev/rules/typescript/only-throw-error.md) | error | Disallow throwing non-`Error` values as exceptions | 46.6M |
| [typescript/prefer-promise-reject-errors](https://lintradar.dev/rules/typescript/prefer-promise-reject-errors.md) | error | Require using Error objects as Promise rejection reasons | 46.6M |
| [typescript/prefer-reduce-type-parameter](https://lintradar.dev/rules/typescript/prefer-reduce-type-parameter.md) | error | Enforce using type parameter when calling `Array#reduce` instead of using a type assertion | 46.6M |
| [typescript/restrict-plus-operands](https://lintradar.dev/rules/typescript/restrict-plus-operands.md) | error | Require both operands of addition to be the same type and be `bigint`, `number`, or `string` | 46.6M |
| [typescript/no-unsafe-assignment](https://lintradar.dev/rules/typescript/no-unsafe-assignment.md) | error | Disallow assigning a value with type `any` to variables and properties | 46.6M |
| [typescript/no-unsafe-enum-comparison](https://lintradar.dev/rules/typescript/no-unsafe-enum-comparison.md) | error | Disallow comparing an enum value with a non-enum value | 46.6M |
| [typescript/no-unsafe-member-access](https://lintradar.dev/rules/typescript/no-unsafe-member-access.md) | error | Disallow member access on a value with type `any` | 46.6M |
| [typescript/consistent-indexed-object-style](https://lintradar.dev/rules/typescript/consistent-indexed-object-style.md) | error | Require or disallow the `Record` type | 46.6M |
| [typescript/no-deprecated](https://lintradar.dev/rules/typescript/no-deprecated.md) | warn | Disallow using code marked as `@deprecated` | 46.6M |
| [typescript/no-unnecessary-type-conversion](https://lintradar.dev/rules/typescript/no-unnecessary-type-conversion.md) | error | Disallow conversion idioms when they do not change the type or value of the expression | 46.6M |
| [typescript/ban-tslint-comment](https://lintradar.dev/rules/typescript/ban-tslint-comment.md) | error | Disallow `// tslint:<rule-flag>` comments | 46.6M |
| [typescript/consistent-generic-constructors](https://lintradar.dev/rules/typescript/consistent-generic-constructors.md) | error | Enforce specifying generic type arguments on type annotation or constructor name of a constructor call | 46.6M |
| [typescript/no-confusing-non-null-assertion](https://lintradar.dev/rules/typescript/no-confusing-non-null-assertion.md) | error | Disallow non-null assertion in locations that may be confusing | 46.6M |
| [typescript/no-unsafe-enum-assignment](https://lintradar.dev/rules/typescript/no-unsafe-enum-assignment.md) | error | Disallow assigning non-enum values to enum typed locations | 46.6M |
| [typescript/prefer-return-this-type](https://lintradar.dev/rules/typescript/prefer-return-this-type.md) | error | Enforce that `this` is used when only `this` type is returned | 46.6M |
| [typescript/related-getter-setter-pairs](https://lintradar.dev/rules/typescript/related-getter-setter-pairs.md) | error | Enforce that `get()` types should be assignable to their equivalent `set()` type | 46.6M |
| [typescript/use-unknown-in-catch-callback-variable](https://lintradar.dev/rules/typescript/use-unknown-in-catch-callback-variable.md) | error | Enforce typing arguments in Promise rejection callbacks as `unknown` | 46.6M |
| [eslint/no-proto](https://lintradar.dev/rules/eslint/no-proto.md) | error | Disallow the use of the `__proto__` property | 46.5M |
| [typescript/no-empty-function](https://lintradar.dev/rules/typescript/no-empty-function.md) | error | Disallow empty functions | 46.4M |
| [eslint/no-script-url](https://lintradar.dev/rules/eslint/no-script-url.md) | error | Disallow `javascript:` URLs | 46.4M |
| [typescript/no-unsafe-argument](https://lintradar.dev/rules/typescript/no-unsafe-argument.md) | error | Disallow calling a function with a value with type `any` | 46.2M |
| [typescript/no-unsafe-call](https://lintradar.dev/rules/typescript/no-unsafe-call.md) | error | Disallow calling a value with type `any` | 46.2M |
| [typescript/no-unnecessary-condition](https://lintradar.dev/rules/typescript/no-unnecessary-condition.md) | error | Disallow conditionals where the type is always truthy or always falsy | 46.2M |
| [typescript/no-confusing-void-expression](https://lintradar.dev/rules/typescript/no-confusing-void-expression.md) | error | Require expressions of type void to appear in statement position | 46.2M |
| [typescript/no-generated-empty-object-type](https://lintradar.dev/rules/typescript/no-generated-empty-object-type.md) | error | Disallow type operations that resolve to the "empty object" type | 46.2M |
| [typescript/no-unnecessary-boolean-literal-compare](https://lintradar.dev/rules/typescript/no-unnecessary-boolean-literal-compare.md) | error | Disallow unnecessary equality comparisons against boolean literals | 46.2M |
| [typescript/no-unnecessary-type-arguments](https://lintradar.dev/rules/typescript/no-unnecessary-type-arguments.md) | error | Disallow type arguments that are equal to the default | 46.2M |
| [typescript/no-unnecessary-type-parameters](https://lintradar.dev/rules/typescript/no-unnecessary-type-parameters.md) | error | Disallow type parameters that aren't used multiple times | 46.2M |
| [eslint/new-cap](https://lintradar.dev/rules/eslint/new-cap.md) | error | Require constructor names to begin with a capital letter | 45.9M |
| [eslint/default-case-last](https://lintradar.dev/rules/eslint/default-case-last.md) | error | Enforce `default` clauses in `switch` statements to be last | 45.3M |
| [eslint/prefer-regex-literals](https://lintradar.dev/rules/eslint/prefer-regex-literals.md) | error | Disallow use of the `RegExp` constructor in favor of regular expression literals | 45.3M |
| [eslint/no-unneeded-ternary](https://lintradar.dev/rules/eslint/no-unneeded-ternary.md) | error | Disallow ternary operators when simpler alternatives exist | 45.3M |
| [typescript/require-await](https://lintradar.dev/rules/typescript/require-await.md) | error | Disallow async functions which do not return promises and have no `await` expression | 44.2M |
| [eslint/prefer-arrow-callback](https://lintradar.dev/rules/eslint/prefer-arrow-callback.md) | error | Require using arrow functions for callbacks | 42.4M |
| [eslint/radix](https://lintradar.dev/rules/eslint/radix.md) | error | Enforce the use of the radix argument when using `parseInt()` | 42.3M |
| [eslint/prefer-exponentiation-operator](https://lintradar.dev/rules/eslint/prefer-exponentiation-operator.md) | error | Disallow the use of `Math.pow` in favor of the `**` operator | 41.8M |
| [eslint/prefer-template](https://lintradar.dev/rules/eslint/prefer-template.md) | error | Require template literals instead of string concatenation | 41.4M |
| [eslint/no-constructor-return](https://lintradar.dev/rules/eslint/no-constructor-return.md) | error | Disallow returning value from constructor | 41.1M |
| [eslint/prefer-numeric-literals](https://lintradar.dev/rules/eslint/prefer-numeric-literals.md) | error | Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals | 41.1M |
| [eslint/no-useless-call](https://lintradar.dev/rules/eslint/no-useless-call.md) | error | Disallow unnecessary calls to `.call()` and `.apply()` | 35.4M |
| [node/no-path-concat](https://lintradar.dev/rules/node/no-path-concat.md) | error | Disallow string concatenation with `__dirname`, `__filename`, and `import.meta` paths | 35.3M |
| [typescript/consistent-type-imports](https://lintradar.dev/rules/typescript/consistent-type-imports.md) | error | Enforce consistent usage of type imports | 32.7M |
| [typescript/consistent-type-exports](https://lintradar.dev/rules/typescript/consistent-type-exports.md) | error | Enforce consistent usage of type exports | 31.1M |
| [typescript/prefer-string-starts-ends-with](https://lintradar.dev/rules/typescript/prefer-string-starts-ends-with.md) | error | Enforce using `String#startsWith` and `String#endsWith` over other equivalent methods of checking substrings | 31.1M |
| [typescript/switch-exhaustiveness-check](https://lintradar.dev/rules/typescript/switch-exhaustiveness-check.md) | error | Require switch-case statements to be exhaustive | 31.1M |
| [typescript/prefer-optional-chain](https://lintradar.dev/rules/typescript/prefer-optional-chain.md) | error | Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects | 31.1M |
| [eslint/no-new-wrappers](https://lintradar.dev/rules/eslint/no-new-wrappers.md) | error | Disallow `new` operators with the `String`, `Number`, and `Boolean` objects | 22.7M |
| [eslint/no-extend-native](https://lintradar.dev/rules/eslint/no-extend-native.md) | error | Disallow extending native types | 22.7M |
| [eslint/no-extra-bind](https://lintradar.dev/rules/eslint/no-extra-bind.md) | error | Disallow unnecessary calls to `.bind()` | 22.7M |
| [eslint/no-new-func](https://lintradar.dev/rules/eslint/no-new-func.md) | error | Disallow `new` operators with the `Function` object | 22.1M |
| [eslint/no-multi-str](https://lintradar.dev/rules/eslint/no-multi-str.md) | error | Disallow multiline strings | 21.5M |
| [eslint/no-useless-computed-key](https://lintradar.dev/rules/eslint/no-useless-computed-key.md) | error | Disallow unnecessary computed property keys in objects and classes | 20.9M |
| [eslint/unicode-bom](https://lintradar.dev/rules/eslint/unicode-bom.md) | error | Require or disallow Unicode byte order mark (BOM) | 20.1M |
| [eslint/no-new](https://lintradar.dev/rules/eslint/no-new.md) | error | Disallow `new` operators outside of assignments or comparisons | 18M |
| [eslint/yoda](https://lintradar.dev/rules/eslint/yoda.md) | error | Require or disallow "Yoda" conditions | 18M |
| [eslint/one-var](https://lintradar.dev/rules/eslint/one-var.md) | error | Enforce variables to be declared either together or separately in functions | 17.4M |
| [eslint/no-return-assign](https://lintradar.dev/rules/eslint/no-return-assign.md) | error | Disallow assignment operators in `return` statements | 17.3M |
| [eslint/no-void](https://lintradar.dev/rules/eslint/no-void.md) | error | Disallow `void` operators | 17.3M |
| [eslint/symbol-description](https://lintradar.dev/rules/eslint/symbol-description.md) | error | Require symbol descriptions | 16.8M |
| [eslint/no-unreachable-loop](https://lintradar.dev/rules/eslint/no-unreachable-loop.md) | error | Disallow loops with a body that allows only one iteration | 16.8M |
| [eslint/no-useless-return](https://lintradar.dev/rules/eslint/no-useless-return.md) | error | Disallow redundant return statements | 16.8M |
| [eslint/object-shorthand](https://lintradar.dev/rules/eslint/object-shorthand.md) | warn | Require or disallow method and property shorthand syntax for object literals | 16.8M |
| [eslint/no-useless-concat](https://lintradar.dev/rules/eslint/no-useless-concat.md) | error | Disallow unnecessary concatenation of literals or template literals | 16.7M |
| [eslint/curly](https://lintradar.dev/rules/eslint/curly.md) | error | Enforce consistent brace style for all control statements | 16.7M |
| [eslint/no-loop-func](https://lintradar.dev/rules/eslint/no-loop-func.md) | error | Disallow function declarations that contain unsafe references inside loop statements | 16.6M |
| [node/no-exports-assign](https://lintradar.dev/rules/node/no-exports-assign.md) | error | Disallow the assignment to `exports` | 16.4M |
| [eslint/strict](https://lintradar.dev/rules/eslint/strict.md) | error | Require or disallow strict mode directives | 16.2M |
| [node/no-deprecated-api](https://lintradar.dev/rules/node/no-deprecated-api.md) | error | Disallow deprecated APIs | 14.8M |
| [node/process-exit-as-throw](https://lintradar.dev/rules/node/process-exit-as-throw.md) | error | Require that `process.exit()` expressions use the same code path as `throw` | 14.8M |
| [eslint/no-alert](https://lintradar.dev/rules/eslint/no-alert.md) | error | Disallow the use of `alert`, `confirm`, and `prompt` | 13.8M |
| [promise/param-names](https://lintradar.dev/rules/promise/param-names.md) | error | Enforce consistent param names and ordering when creating new promises. | 13.5M |
| [eslint/guard-for-in](https://lintradar.dev/rules/eslint/guard-for-in.md) | error | Require `for-in` loops to include an `if` statement | 13.2M |
| [eslint/grouped-accessor-pairs](https://lintradar.dev/rules/eslint/grouped-accessor-pairs.md) | error | Require grouped accessor pairs in object literals and classes | 12.6M |
| [eslint/prefer-object-spread](https://lintradar.dev/rules/eslint/prefer-object-spread.md) | error | Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead | 12.6M |
| [eslint/no-promise-executor-return](https://lintradar.dev/rules/eslint/no-promise-executor-return.md) | error | Disallow returning values from Promise executor functions | 12.6M |
| [eslint/arrow-body-style](https://lintradar.dev/rules/eslint/arrow-body-style.md) | error | Require braces around arrow function bodies | 12.6M |
| [eslint/no-await-in-loop](https://lintradar.dev/rules/eslint/no-await-in-loop.md) | error | Disallow `await` inside of loops | 12.6M |
| [eslint/no-lonely-if](https://lintradar.dev/rules/eslint/no-lonely-if.md) | error | Disallow `if` statements as the only statement in `else` blocks | 12.6M |
| [eslint/no-multi-assign](https://lintradar.dev/rules/eslint/no-multi-assign.md) | error | Disallow use of chained assignment expressions | 12.6M |
| [eslint/operator-assignment](https://lintradar.dev/rules/eslint/operator-assignment.md) | error | Require or disallow assignment operator shorthand where possible | 12.6M |
| [eslint/no-param-reassign](https://lintradar.dev/rules/eslint/no-param-reassign.md) | error | Disallow reassigning function parameters | 12.2M |
| [eslint/no-plusplus](https://lintradar.dev/rules/eslint/no-plusplus.md) | error | Disallow the unary operators `++` and `--` | 12.2M |
| [eslint/no-console](https://lintradar.dev/rules/eslint/no-console.md) | error | Disallow the use of `console` | 10.1M |
| [promise/no-return-wrap](https://lintradar.dev/rules/promise/no-return-wrap.md) | error | Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not needed. | 10M |
| [eslint/accessor-pairs](https://lintradar.dev/rules/eslint/accessor-pairs.md) | error | Enforce getter and setter pairs in objects and classes | 6.9M |
| [eslint/no-unmodified-loop-condition](https://lintradar.dev/rules/eslint/no-unmodified-loop-condition.md) | error | Disallow unmodified loop conditions | 6.9M |
| [node/no-new-require](https://lintradar.dev/rules/node/no-new-require.md) | error | Disallow `new` operators with calls to `require` | 6.8M |
| [node/handle-callback-err](https://lintradar.dev/rules/node/handle-callback-err.md) | error | Require error handling in callbacks | 6.4M |
| [typescript/no-use-before-define](https://lintradar.dev/rules/typescript/no-use-before-define.md) | error | Disallow the use of variables before they are defined | 6.4M |
| [typescript/no-import-type-side-effects](https://lintradar.dev/rules/typescript/no-import-type-side-effects.md) | error | Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers | 4.5M |
| [typescript/dot-notation](https://lintradar.dev/rules/typescript/dot-notation.md) | error | Enforce dot notation whenever possible | 4.5M |
| [node/no-callback-literal](https://lintradar.dev/rules/node/no-callback-literal.md) | error | Enforce Node.js-style error-first callback pattern is followed | 3.6M |
| [typescript/no-dupe-class-members](https://lintradar.dev/rules/typescript/no-dupe-class-members.md) | error | Disallow duplicate class members | 3.5M |
| [typescript/method-signature-style](https://lintradar.dev/rules/typescript/method-signature-style.md) | error | Enforce using a particular method signature syntax | 3.4M |
| [eslint/no-object-constructor](https://lintradar.dev/rules/eslint/no-object-constructor.md) | error | Disallow calls to the `Object` constructor without an argument | 3M |
| [eslint/max-nested-callbacks](https://lintradar.dev/rules/eslint/max-nested-callbacks.md) | error | Enforce a maximum depth that callbacks can be nested | 2.7M |
| [eslint/complexity](https://lintradar.dev/rules/eslint/complexity.md) | error | Enforce a maximum cyclomatic complexity allowed in a program | 2.7M |
| [eslint/require-unicode-regexp](https://lintradar.dev/rules/eslint/require-unicode-regexp.md) | error | Enforce the use of `u` or `v` flag on regular expressions | 2.6M |
| [typescript/prefer-find](https://lintradar.dev/rules/typescript/prefer-find.md) | error | Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result | 2.6M |
| [typescript/prefer-readonly](https://lintradar.dev/rules/typescript/prefer-readonly.md) | error | Require private members to be marked as `readonly` if they're never modified outside of the constructor | 2.6M |
| [eslint/prefer-object-has-own](https://lintradar.dev/rules/eslint/prefer-object-has-own.md) | error | Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()` | 2.6M |
| [typescript/no-unnecessary-qualifier](https://lintradar.dev/rules/typescript/no-unnecessary-qualifier.md) | error | Disallow unnecessary namespace qualifiers | 2.6M |
| [typescript/prefer-includes](https://lintradar.dev/rules/typescript/prefer-includes.md) | error | Enforce `includes` method over `indexOf` method | 2.6M |
| [typescript/prefer-nullish-coalescing](https://lintradar.dev/rules/typescript/prefer-nullish-coalescing.md) | error | Enforce using the nullish coalescing operator instead of logical assignments or chaining | 2.6M |
| [typescript/strict-boolean-expressions](https://lintradar.dev/rules/typescript/strict-boolean-expressions.md) | error | Disallow certain types in boolean expressions | 2.6M |
| [eslint/no-implicit-globals](https://lintradar.dev/rules/eslint/no-implicit-globals.md) | error | Disallow declarations in the global scope | 2.6M |
| [typescript/non-nullable-type-assertion-style](https://lintradar.dev/rules/typescript/non-nullable-type-assertion-style.md) | error | Enforce non-null assertions over explicit type assertions | 2.6M |
| [typescript/promise-function-async](https://lintradar.dev/rules/typescript/promise-function-async.md) | error | Require any function or method that returns a Promise to be marked async | 2.6M |
| [typescript/strict-void-return](https://lintradar.dev/rules/typescript/strict-void-return.md) | error | Disallow passing a value-returning function in a position accepting a void function | 2.6M |
| [typescript/naming-convention](https://lintradar.dev/rules/typescript/naming-convention.md) | error | Enforce naming conventions for everything across a codebase | 2.4M |
| [eslint/prefer-named-capture-group](https://lintradar.dev/rules/eslint/prefer-named-capture-group.md) | error | Enforce using named capture group in regular expression | 2.2M |
| [eslint/no-negated-condition](https://lintradar.dev/rules/eslint/no-negated-condition.md) | error | Disallow negated conditions | 2.2M |
| [typescript/prefer-regexp-exec](https://lintradar.dev/rules/typescript/prefer-regexp-exec.md) | error | Enforce `RegExp#exec` over `String#match` if no global flag is provided | 2.2M |
| [eslint/logical-assignment-operators](https://lintradar.dev/rules/eslint/logical-assignment-operators.md) | error | Require or disallow logical assignment operator shorthand | 2.2M |
| [typescript/no-unsafe-type-assertion](https://lintradar.dev/rules/typescript/no-unsafe-type-assertion.md) | error | Disallow type assertions that narrow a type | 2.2M |
| [promise/avoid-new](https://lintradar.dev/rules/promise/avoid-new.md) | error | Disallow creating `new` promises outside of utility libs (use [util.promisify][] instead). | 2.2M |
| [promise/no-multiple-resolved](https://lintradar.dev/rules/promise/no-multiple-resolved.md) | error | Disallow creating new promises with paths that resolve multiple times. | 2.2M |
| [promise/prefer-catch](https://lintradar.dev/rules/promise/prefer-catch.md) | error | Prefer `catch` to `then(a, b)`/`then(null, b)` for handling errors. | 2.2M |
| [eslint/consistent-this](https://lintradar.dev/rules/eslint/consistent-this.md) | error | Enforce consistent naming when capturing the current execution context | 1.4M |
| [eslint/max-depth](https://lintradar.dev/rules/eslint/max-depth.md) | error | Enforce a maximum depth that blocks can be nested | 616.1K |
| [eslint/max-lines](https://lintradar.dev/rules/eslint/max-lines.md) | error | Enforce a maximum number of lines per file | 584.7K |
| [typescript/no-unused-private-class-members](https://lintradar.dev/rules/typescript/no-unused-private-class-members.md) | error | Disallow unused private class members | 584.7K |
| [typescript/explicit-function-return-type](https://lintradar.dev/rules/typescript/explicit-function-return-type.md) | error | Require explicit return types on functions and class methods | 171.7K |
| [eslint/require-atomic-updates](https://lintradar.dev/rules/eslint/require-atomic-updates.md) | error | Disallow assignments that can lead to race conditions due to usage of `await` or `yield` | 171.7K |
| [typescript/max-params](https://lintradar.dev/rules/typescript/max-params.md) | error | Enforce a maximum number of parameters in function definitions | 171.7K |
| [typescript/no-magic-numbers](https://lintradar.dev/rules/typescript/no-magic-numbers.md) | error | Disallow magic numbers | 171.7K |
| [typescript/prefer-destructuring](https://lintradar.dev/rules/typescript/prefer-destructuring.md) | error | Require destructuring from arrays and/or objects | 171.7K |
| [typescript/class-methods-use-this](https://lintradar.dev/rules/typescript/class-methods-use-this.md) | error | Enforce that class methods utilize `this` | 171.7K |
| [typescript/init-declarations](https://lintradar.dev/rules/typescript/init-declarations.md) | error | Require or disallow initialization in variable declarations | 171.7K |

---

Web page: https://lintradar.dev/presets/love. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
