mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"overrides": [{
|
|
"files": ["*.js", "*.ts", "*.tsx", "*.mts", "*.cts"]
|
|
}],
|
|
"rules": {
|
|
"no-debugger": "error",
|
|
"for-direction": "error",
|
|
"no-constant-binary-expression": "error",
|
|
"no-self-compare": "error",
|
|
"constructor-super": "error",
|
|
"eqeqeq": "error",
|
|
"for-direction": "error",
|
|
"no-debugger": "error",
|
|
"no-dupe-keys": "error",
|
|
"no-duplicate-case": "error",
|
|
"no-array-constructor": "error",
|
|
"no-async-promise-executor": "error",
|
|
"no-caller": "error",
|
|
"no-const-assign": "error",
|
|
"no-dupe-class-members": "error",
|
|
"no-empty": "error",
|
|
"no-empty-pattern": "error",
|
|
"no-new-symbol": "error",
|
|
"no-self-compare": "error",
|
|
"no-mixed-operators": "error",
|
|
"no-constant-binary-expression": "error",
|
|
"no-compare-neg-zero": "error",
|
|
"no-unsafe-negation": "error",
|
|
"use-isnan": "error",
|
|
"valid-typeof": "error"
|
|
}
|
|
}
|