1
0
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2026-02-20 03:08:59 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
7549e87974 build(deps): update latest 2026-02-10 23:06:48 +01:00
3afd26c1a9 fix: update .oxlintrc.json 2026-02-10 23:00:28 +01:00
4 changed files with 673 additions and 535 deletions

View File

@@ -16,6 +16,7 @@
"no-await-in-loop": "off",
"constructor-super": "error",
"for-direction": "error",
"getter-return": "error",
"no-async-promise-executor": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
@@ -40,6 +41,7 @@
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-loss-of-precision": "error",
"no-misleading-character-class": "error",
"no-new-native-nonconstructor": "error",
"no-obj-calls": "error",
"no-promise-executor-return": "error",
@@ -49,7 +51,9 @@
"no-setter-return": "error",
"no-sparse-arrays": "error",
"no-this-before-super": "error",
"no-undef": "error",
"no-unexpected-multiline": "error",
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unsafe-optional-chaining": "error",
@@ -159,6 +163,12 @@
}
],
"no-with": "error",
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"prefer-object-has-own": "error",
"prefer-promise-reject-errors": "error",
"radix": "error",
@@ -253,6 +263,7 @@
"import-x/no-absolute-path": "error",
"import-x/no-webpack-loader-syntax": "error",
"import-x/no-self-import": "error",
"import-x/export": "error",
"import-x/no-duplicates": "error",
"import-x/no-named-default": "error",
"import-x/no-empty-named-blocks": "error",

View File

@@ -37,7 +37,7 @@ More information about **formatting rules** vs **code-quality rules** can be fou
npm install --save-dev \
eslint@^9.22.0 \
eslint-plugin-promise@^7.2.1 \
eslint-plugin-unicorn@^62.0.0 \
eslint-plugin-unicorn@^63.0.0 \
eslint-plugin-import-x@^4.6.1 \
globals@^17.0.0 \
typescript@^5.9.3 \

1175
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -41,7 +41,7 @@
"lint:editorconfig": "editorconfig-checker",
"lint:eslint": "eslint . --max-warnings 0 --config eslint.config.mjs",
"lint:prettier": "prettier . --check",
"oxlint:migrate": "npx @oxlint/migrate@latest eslint.config.js --type-aware",
"oxlint:migrate": "npx @oxlint/migrate@latest eslint.config.js --type-aware --details --with-nursery",
"inspect": "eslint --inspect-config",
"test": "node --test",
"release": "semantic-release"
@@ -49,7 +49,7 @@
"peerDependencies": {
"eslint": "^9.22.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unicorn": "^61.0.0 || ^62.0.0",
"eslint-plugin-unicorn": "^61.0.0 || ^62.0.0 || ^63.0.0",
"eslint-plugin-import-x": "^4.6.1",
"globals": "^16.0.0 || ^17.0.0",
"typescript-eslint": "^8.32.0"
@@ -75,18 +75,18 @@
}
},
"devDependencies": {
"@types/node": "25.0.8",
"globals": "17.0.0",
"@types/node": "25.2.3",
"globals": "17.3.0",
"editorconfig-checker": "6.1.1",
"oxlint": "1.39.0",
"@oxlint/migrate": "1.39.0",
"oxlint": "1.46.0",
"@oxlint/migrate": "1.46.0",
"eslint": "9.39.2",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-unicorn": "62.0.0",
"eslint-plugin-unicorn": "63.0.0",
"eslint-plugin-import-x": "4.16.1",
"typescript-eslint": "8.53.0",
"prettier": "3.7.4",
"semantic-release": "25.0.2",
"typescript-eslint": "8.55.0",
"prettier": "3.8.1",
"semantic-release": "25.0.3",
"typescript": "5.9.3"
}
}