# Alloy

Tencent AlloyTeam's config for JavaScript, TypeScript and React. Leaves formatting to Prettier and documents why each rule is on.

- Linter: ESLint
- Package: `eslint-config-alloy` (https://github.com/AlloyTeam/eslint-config-alloy)
- Author: AlloyTeam (community)
- Rules: 166
- Weekly downloads: 31.4K, +32.4% last quarter
- Technologies: javascript (100), react (36), typescript (30)

## Install

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

## Config: `eslint.config.js`

```js
// .eslintrc.json (legacy config format)
{
  "extends": ["alloy", "alloy/react", "alloy/typescript"]
}
```

## 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-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-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-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/getter-return](https://lintradar.dev/rules/eslint/getter-return.md) | error | Enforce `return` statements in getters | 274.2M |
| [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-unsafe-optional-chaining](https://lintradar.dev/rules/eslint/no-unsafe-optional-chaining.md) | error | Disallow use of optional chaining in contexts where the `undefined` value is not allowed | 272.6M |
| [eslint/no-setter-return](https://lintradar.dev/rules/eslint/no-setter-return.md) | error | Disallow returning values from setters | 270.1M |
| [eslint/no-unused-private-class-members](https://lintradar.dev/rules/eslint/no-unused-private-class-members.md) | error | Disallow unused private class members | 262.3M |
| [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/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-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-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-case-declarations](https://lintradar.dev/rules/eslint/no-case-declarations.md) | error | Disallow lexical declarations in case clauses | 226.2M |
| [typescript/no-unnecessary-type-constraint](https://lintradar.dev/rules/typescript/no-unnecessary-type-constraint.md) | error | Disallow unnecessary constraints on generic types | 209.9M |
| [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 |
| [typescript/no-unused-vars](https://lintradar.dev/rules/typescript/no-unused-vars.md) | error | Disallow unused variables | 185.6M |
| [typescript/no-unused-expressions](https://lintradar.dev/rules/typescript/no-unused-expressions.md) | error | Disallow unused expressions | 184.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 |
| [react/jsx-no-comment-textnodes](https://lintradar.dev/rules/react/jsx-no-comment-textnodes.md) | error | Disallow comments from being inserted as text nodes | 167.2M |
| [react/jsx-no-duplicate-props](https://lintradar.dev/rules/react/jsx-no-duplicate-props.md) | error | Disallow duplicate properties in JSX | 167.2M |
| [react/no-danger-with-children](https://lintradar.dev/rules/react/no-danger-with-children.md) | error | Disallow when a DOM element is using both children and dangerouslySetInnerHTML | 166M |
| [react/no-string-refs](https://lintradar.dev/rules/react/no-string-refs.md) | error | Disallow using string references | 163.2M |
| [react/no-children-prop](https://lintradar.dev/rules/react/no-children-prop.md) | error | Disallow passing of children as props | 161.9M |
| [react/no-render-return-value](https://lintradar.dev/rules/react/no-render-return-value.md) | error | Disallow usage of the return value of ReactDOM.render | 161.9M |
| [react/jsx-key](https://lintradar.dev/rules/react/jsx-key.md) | error | Disallow missing `key` props in iterators/collection literals | 158.5M |
| [react/jsx-no-undef](https://lintradar.dev/rules/react/jsx-no-undef.md) | error | Disallow undeclared variables in JSX | 136.7M |
| [react/no-is-mounted](https://lintradar.dev/rules/react/no-is-mounted.md) | error | Disallow usage of isMounted | 135.4M |
| [react/require-render-return](https://lintradar.dev/rules/react/require-render-return.md) | error | Enforce ES5 or ES6 class for returning value in render function | 135.4M |
| [react/jsx-uses-react](https://lintradar.dev/rules/react/jsx-uses-react.md) | error | Disallow React to be incorrectly marked as unused | 132.6M |
| [react/jsx-uses-vars](https://lintradar.dev/rules/react/jsx-uses-vars.md) | error | Disallow variables used in JSX to be incorrectly marked as unused | 132.6M |
| [react/no-direct-mutation-state](https://lintradar.dev/rules/react/no-direct-mutation-state.md) | error | Disallow direct mutation of this.state | 132M |
| [react/no-find-dom-node](https://lintradar.dev/rules/react/no-find-dom-node.md) | error | Disallow usage of findDOMNode | 131.4M |
| [react/no-unescaped-entities](https://lintradar.dev/rules/react/no-unescaped-entities.md) | error | Disallow unescaped HTML entities from appearing in markup | 131.4M |
| [react/no-deprecated](https://lintradar.dev/rules/react/no-deprecated.md) | error | Disallow usage of deprecated methods | 131.4M |
| [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 |
| [react/no-unknown-property](https://lintradar.dev/rules/react/no-unknown-property.md) | error | Disallow usage of unknown DOM property | 84.5M |
| [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 |
| [eslint/no-iterator](https://lintradar.dev/rules/eslint/no-iterator.md) | error | Disallow the use of the `__iterator__` property | 72.9M |
| [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-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/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/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 |
| [eslint/no-proto](https://lintradar.dev/rules/eslint/no-proto.md) | error | Disallow the use of the `__proto__` property | 46.5M |
| [eslint/no-undef-init](https://lintradar.dev/rules/eslint/no-undef-init.md) | error | Disallow initializing variables to `undefined` | 46.4M |
| [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/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/no-constructor-return](https://lintradar.dev/rules/eslint/no-constructor-return.md) | error | Disallow returning value from constructor | 41.1M |
| [eslint/no-inner-declarations](https://lintradar.dev/rules/eslint/no-inner-declarations.md) | error | Disallow variable or `function` declarations in nested blocks | 40.9M |
| [eslint/no-useless-call](https://lintradar.dev/rules/eslint/no-useless-call.md) | error | Disallow unnecessary calls to `.call()` and `.apply()` | 35.4M |
| [react/jsx-no-useless-fragment](https://lintradar.dev/rules/react/jsx-no-useless-fragment.md) | error | Disallow unnecessary fragments | 34M |
| [react/void-dom-elements-no-children](https://lintradar.dev/rules/react/void-dom-elements-no-children.md) | error | Disallow void DOM elements (e.g. `<img />`, `<br />`) from receiving children | 34M |
| [typescript/consistent-type-imports](https://lintradar.dev/rules/typescript/consistent-type-imports.md) | error | Enforce consistent usage of type imports | 32.7M |
| [typescript/no-empty-interface](https://lintradar.dev/rules/typescript/no-empty-interface.md) | error | Disallow the declaration of empty interfaces | 30.6M |
| [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/no-new-object](https://lintradar.dev/rules/eslint/no-new-object.md) | error | Disallow `Object` constructors | 19M |
| [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/no-new-symbol](https://lintradar.dev/rules/eslint/no-new-symbol.md) | error | Disallow `new` operators with the `Symbol` object | 17.8M |
| [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/prefer-promise-reject-errors](https://lintradar.dev/rules/eslint/prefer-promise-reject-errors.md) | error | Require using Error objects as Promise rejection reasons | 16.9M |
| [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-concat](https://lintradar.dev/rules/eslint/no-useless-concat.md) | error | Disallow unnecessary concatenation of literals or template literals | 16.7M |
| [eslint/strict](https://lintradar.dev/rules/eslint/strict.md) | error | Require or disallow strict mode directives | 16.2M |
| [eslint/spaced-comment](https://lintradar.dev/rules/eslint/spaced-comment.md) | error | Enforce consistent spacing after the `//` or `/*` in a comment | 13.7M |
| [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/no-param-reassign](https://lintradar.dev/rules/eslint/no-param-reassign.md) | error | Disallow reassigning function parameters | 12.2M |
| [react/jsx-pascal-case](https://lintradar.dev/rules/react/jsx-pascal-case.md) | error | Enforce PascalCase for user-defined JSX components | 7.5M |
| [react/style-prop-object](https://lintradar.dev/rules/react/style-prop-object.md) | error | Enforce style prop value is an object | 7.5M |
| [react/no-typos](https://lintradar.dev/rules/react/no-typos.md) | error | Disallow common typos | 7.5M |
| [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 |
| [react/self-closing-comp](https://lintradar.dev/rules/react/self-closing-comp.md) | error | Disallow extra closing tags for components without children | 6.7M |
| [react/jsx-fragments](https://lintradar.dev/rules/react/jsx-fragments.md) | error | Enforce shorthand or standard form for React fragments | 5.5M |
| [react/no-did-update-set-state](https://lintradar.dev/rules/react/no-did-update-set-state.md) | error | Disallow usage of setState in componentDidUpdate | 4.7M |
| [react/no-unstable-nested-components](https://lintradar.dev/rules/react/no-unstable-nested-components.md) | error | Disallow creating unstable components inside components | 4.7M |
| [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/method-signature-style](https://lintradar.dev/rules/typescript/method-signature-style.md) | error | Enforce using a particular method signature syntax | 3.4M |
| [react/jsx-curly-brace-presence](https://lintradar.dev/rules/react/jsx-curly-brace-presence.md) | error | Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes | 3.4M |
| [react/jsx-no-script-url](https://lintradar.dev/rules/react/jsx-no-script-url.md) | error | Disallow usage of `javascript:` URLs | 3.4M |
| [react/jsx-no-constructed-context-values](https://lintradar.dev/rules/react/jsx-no-constructed-context-values.md) | error | Disallows JSX context provider values from taking values that will cause needless rerenders | 3.4M |
| [react/no-namespace](https://lintradar.dev/rules/react/no-namespace.md) | error | Enforce that namespaces are not used in React elements | 3.4M |
| [react/no-redundant-should-component-update](https://lintradar.dev/rules/react/no-redundant-should-component-update.md) | error | Disallow usage of shouldComponentUpdate when extending React.PureComponent | 3.4M |
| [react/no-this-in-sfc](https://lintradar.dev/rules/react/no-this-in-sfc.md) | error | Disallow `this` from being used in stateless functional components | 3.4M |
| [react/prefer-es6-class](https://lintradar.dev/rules/react/prefer-es6-class.md) | error | Enforce ES5 or ES6 class for React Components | 3.4M |
| [react/static-property-placement](https://lintradar.dev/rules/react/static-property-placement.md) | error | Enforces where React component static properties should be positioned. | 3.4M |
| [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/no-eq-null](https://lintradar.dev/rules/eslint/no-eq-null.md) | error | Disallow `null` comparisons without type-checking operators | 2.5M |
| [eslint/func-name-matching](https://lintradar.dev/rules/eslint/func-name-matching.md) | error | Require function names to match the name of the variable or property to which they are assigned | 2.5M |
| [typescript/no-loss-of-precision](https://lintradar.dev/rules/typescript/no-loss-of-precision.md) | error | Disallow literal numbers that lose precision | 2.2M |
| [typescript/explicit-member-accessibility](https://lintradar.dev/rules/typescript/explicit-member-accessibility.md) | error | Require explicit accessibility modifiers on class properties and methods | 2.1M |
| [react/iframe-missing-sandbox](https://lintradar.dev/rules/react/iframe-missing-sandbox.md) | error | Enforce sandbox attribute on iframe elements | 2.1M |
| [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-params](https://lintradar.dev/rules/eslint/max-params.md) | error | Enforce a maximum number of parameters in function definitions | 444.4K |
| [eslint/no-implicit-coercion](https://lintradar.dev/rules/eslint/no-implicit-coercion.md) | error | Disallow shorthand type conversions | 444.4K |
| [react/no-unsafe](https://lintradar.dev/rules/react/no-unsafe.md) | error | Disallow usage of unsafe lifecycle methods | 31.4K |
| [typescript/member-ordering](https://lintradar.dev/rules/typescript/member-ordering.md) | error | Require a consistent member declaration order | 31.4K |
| [typescript/no-invalid-this](https://lintradar.dev/rules/typescript/no-invalid-this.md) | error | Disallow `this` keywords outside of classes or class-like objects | 31.4K |
| [typescript/typedef](https://lintradar.dev/rules/typescript/typedef.md) | error | Require type annotations in certain places | 31.4K |

---

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