1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-11-12 22:33:14 +01:00

build(deps): update latest

BREAKING CHANGE: peerDependencies: `eslint@^8.56.0`
`eslint-plugin-import@^2.29.1`
`eslint-plugin-unicorn@^51.0.1`
`typescript@^5.3.3`
`@typescript-eslint/eslint-plugin@^6.21.0`
`@typescript-eslint/parser@^6.21.0`
This commit is contained in:
Théo LUDWIG 2024-02-08 21:50:33 +01:00
parent b671018a00
commit dab4433431
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
4 changed files with 475 additions and 278 deletions

View File

@ -37,10 +37,10 @@ More information about **formatting rules** vs **code-quality rules** can be fou
```sh ```sh
npm install --save-dev \ npm install --save-dev \
eslint@^8.53.0 \ eslint@^8.56.0 \
eslint-plugin-import@^2.29.0 \ eslint-plugin-import@^2.29.1 \
eslint-plugin-promise@^6.1.1 \ eslint-plugin-promise@^6.1.1 \
eslint-plugin-unicorn@^50.0.0 \ eslint-plugin-unicorn@^51.0.1 \
eslint-config-conventions@latest eslint-config-conventions@latest
``` ```
@ -57,9 +57,9 @@ If you want to use **TypeScript**, you also need to install:
```sh ```sh
npm install --save-dev \ npm install --save-dev \
typescript@^5.2.2 \ typescript@^5.3.3 \
@typescript-eslint/eslint-plugin@^6.11.0 \ @typescript-eslint/eslint-plugin@^6.21.0 \
@typescript-eslint/parser@^6.11.0 @typescript-eslint/parser@^6.21.0
``` ```
Dependencies are: Dependencies are:

707
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,7 @@
}, },
"engines": { "engines": {
"node": ">=18.0.0", "node": ">=18.0.0",
"npm": ">=9.0.0" "npm": ">=10.0.0"
}, },
"scripts": { "scripts": {
"lint:commit": "commitlint", "lint:commit": "commitlint",
@ -42,38 +42,38 @@
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --config eslintrc.json", "lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --config eslintrc.json",
"lint:prettier": "prettier . --check", "lint:prettier": "prettier . --check",
"lint:staged": "lint-staged", "lint:staged": "lint-staged",
"test": "node --test test/", "test": "node --test",
"release": "semantic-release", "release": "semantic-release",
"postinstall": "husky", "postinstall": "husky",
"prepublishOnly": "pinst --disable", "prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable" "postpublish": "pinst --enable"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.53.0", "eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.0", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"eslint-plugin-unicorn": "^49.0.0 || ^50.0.0" "eslint-plugin-unicorn": "^51.0.1"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "18.6.0", "@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "18.6.0", "@commitlint/config-conventional": "18.6.0",
"@tsconfig/strictest": "2.0.2", "@tsconfig/strictest": "2.0.2",
"@types/eslint": "8.56.2", "@types/eslint": "8.56.2",
"@types/node": "20.11.10", "@types/node": "20.11.17",
"@typescript-eslint/eslint-plugin": "6.20.0", "@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.20.0", "@typescript-eslint/parser": "6.21.0",
"editorconfig-checker": "5.1.2", "editorconfig-checker": "5.1.3",
"eslint": "8.56.0", "eslint": "8.56.0",
"eslint-plugin-import": "2.29.1", "eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.1.1", "eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "50.0.1", "eslint-plugin-unicorn": "51.0.1",
"husky": "9.0.7", "husky": "9.0.10",
"lint-staged": "15.2.0", "lint-staged": "15.2.2",
"markdownlint-cli2": "0.12.1", "markdownlint-cli2": "0.12.1",
"markdownlint-rule-relative-links": "2.2.0", "markdownlint-rule-relative-links": "2.3.1",
"pinst": "3.0.0", "pinst": "3.0.0",
"prettier": "3.2.4", "prettier": "3.2.5",
"semantic-release": "23.0.0", "semantic-release": "23.0.2",
"typescript": "5.3.3" "typescript": "5.3.3"
} }
} }

View File

@ -6,6 +6,6 @@
"module": "commonjs", "module": "commonjs",
"lib": ["ESNext"], "lib": ["ESNext"],
"moduleResolution": "node", "moduleResolution": "node",
"rootDir": "./", "rootDir": "./"
}, }
} }