# neostandard

The successor to Standard for flat config, with TypeScript support.

- Linter: ESLint
- Package: `neostandard` (https://github.com/neostandard/neostandard)
- Author: neostandard (community)
- Rules: 95, plus 60 from plugins this site doesn't track
- Weekly downloads: 317.6K, +50.2% last quarter
- Technologies: javascript (80), typescript (8), node (7)

## Install

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

## Config: `eslint.config.js`

```js
// eslint.config.js
import neostandard from "neostandard";

export default [
  ...neostandard({ ts: true }),
];
```

## 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-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-irregular-whitespace](https://lintradar.dev/rules/eslint/no-irregular-whitespace.md) | error | Disallow irregular whitespace | 277.6M |
| [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/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/no-class-assign](https://lintradar.dev/rules/eslint/no-class-assign.md) | error | Disallow reassigning class members | 273.7M |
| [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-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-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/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) | warn | 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-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/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 |
| [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 |
| [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-implied-eval](https://lintradar.dev/rules/eslint/no-implied-eval.md) | error | Disallow the use of `eval()`-like methods | 50.4M |
| [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 |
| [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/no-unneeded-ternary](https://lintradar.dev/rules/eslint/no-unneeded-ternary.md) | error | Disallow ternary operators when simpler alternatives exist | 45.3M |
| [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 |
| [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-throw-literal](https://lintradar.dev/rules/eslint/no-throw-literal.md) | error | Disallow throwing literals as exceptions | 20.9M |
| [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/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-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/curly](https://lintradar.dev/rules/eslint/curly.md) | error | Enforce consistent brace style for all control statements | 16.7M |
| [node/no-exports-assign](https://lintradar.dev/rules/node/no-exports-assign.md) | error | Disallow the assignment to `exports` | 16.4M |
| [node/no-deprecated-api](https://lintradar.dev/rules/node/no-deprecated-api.md) | warn | 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/camelcase](https://lintradar.dev/rules/eslint/camelcase.md) | error | Enforce camelcase naming convention | 14M |
| [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/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 |
| [typescript/no-redeclare](https://lintradar.dev/rules/typescript/no-redeclare.md) | error | Disallow variable redeclaration | 6.6M |
| [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 |
| [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 |
| [eslint/no-object-constructor](https://lintradar.dev/rules/eslint/no-object-constructor.md) | error | Disallow calls to the `Object` constructor without an argument | 3M |
| [typescript/no-loss-of-precision](https://lintradar.dev/rules/typescript/no-loss-of-precision.md) | error | Disallow literal numbers that lose precision | 2.2M |

---

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