mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
feat: add support for typescript-eslint v6.0.0
This commit is contained in:
parent
34ec74cff7
commit
f89c4415cf
@ -196,8 +196,6 @@
|
||||
"no-undef": "off",
|
||||
"no-dupe-class-members": "off",
|
||||
"@typescript-eslint/no-dupe-class-members": "error",
|
||||
"no-duplicate-imports": "off",
|
||||
"@typescript-eslint/no-duplicate-imports": "error",
|
||||
"no-loss-of-precision": "off",
|
||||
"@typescript-eslint/no-loss-of-precision": "error",
|
||||
"no-unused-vars": "off",
|
||||
@ -319,7 +317,7 @@
|
||||
],
|
||||
"@typescript-eslint/restrict-plus-operands": [
|
||||
"error",
|
||||
{ "checkCompoundAssignments": true }
|
||||
{ "skipCompoundAssignments": true }
|
||||
],
|
||||
"@typescript-eslint/restrict-template-expressions": [
|
||||
"error",
|
||||
|
@ -59,9 +59,9 @@ If you want to use **TypeScript**, you also need to install:
|
||||
|
||||
```sh
|
||||
npm install --save-dev \
|
||||
typescript@^5.0.4 \
|
||||
@typescript-eslint/eslint-plugin@^5.60.1 \
|
||||
@typescript-eslint/parser@^5.60.1
|
||||
typescript@^5.1.6 \
|
||||
@typescript-eslint/eslint-plugin@^6.0.0 \
|
||||
@typescript-eslint/parser@^6.0.0
|
||||
```
|
||||
|
||||
Dependencies are:
|
||||
@ -107,7 +107,7 @@ echo "{}" > .prettierrc.json
|
||||
{
|
||||
"scripts": {
|
||||
"lint:eslint": "eslint . --ignore-path .gitignore",
|
||||
"lint:prettier": "prettier . --check --ignore-path .gitignore"
|
||||
"lint:prettier": "prettier . --check"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
627
package-lock.json
generated
627
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -40,7 +40,7 @@
|
||||
"lint:editorconfig": "editorconfig-checker",
|
||||
"lint:markdown": "markdownlint-cli2",
|
||||
"lint:eslint": "eslint . -c eslintrc.json",
|
||||
"lint:prettier": "prettier . --check --ignore-path .gitignore",
|
||||
"lint:prettier": "prettier . --check",
|
||||
"lint:staged": "lint-staged",
|
||||
"test": "node --test test/",
|
||||
"release": "semantic-release",
|
||||
@ -58,12 +58,12 @@
|
||||
"@commitlint/cli": "17.6.6",
|
||||
"@commitlint/config-conventional": "17.6.6",
|
||||
"@tsconfig/strictest": "2.0.1",
|
||||
"@types/eslint": "8.40.2",
|
||||
"@types/node": "20.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "5.60.1",
|
||||
"@typescript-eslint/parser": "5.60.1",
|
||||
"@types/eslint": "8.44.0",
|
||||
"@types/node": "20.4.2",
|
||||
"@typescript-eslint/eslint-plugin": "6.0.0",
|
||||
"@typescript-eslint/parser": "6.0.0",
|
||||
"editorconfig-checker": "5.1.1",
|
||||
"eslint": "8.44.0",
|
||||
"eslint": "8.45.0",
|
||||
"eslint-plugin-import": "2.27.5",
|
||||
"eslint-plugin-promise": "6.1.1",
|
||||
"eslint-plugin-unicorn": "47.0.0",
|
||||
@ -72,8 +72,8 @@
|
||||
"markdownlint-cli2": "0.8.1",
|
||||
"markdownlint-rule-relative-links": "2.1.0",
|
||||
"pinst": "3.0.0",
|
||||
"prettier": "2.8.8",
|
||||
"semantic-release": "21.0.6",
|
||||
"typescript": "5.0.4"
|
||||
"prettier": "3.0.0",
|
||||
"semantic-release": "21.0.7",
|
||||
"typescript": "5.1.6"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user