Skip to content

Commit

Permalink
update dependencies, enable new rules (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: Kangrui Ye <[email protected]>
  • Loading branch information
strawberry-choco authored Dec 12, 2023
1 parent 3a942ee commit e3911e1
Show file tree
Hide file tree
Showing 12 changed files with 689 additions and 503 deletions.
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@cloudflight/eslint-plugin",
"version": "0.21.0",
"version": "0.22.0",
"private": true,
"volta": {
"node": "18.17.1",
"yarn": "4.0.0-rc.52"
"node": "20.10.0",
"yarn": "4.0.2"
},
"workspaces": [
"packages/*"
Expand All @@ -28,34 +28,34 @@
"author": "Cloudflight GmbH",
"license": "Apache-2.0",
"devDependencies": {
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular-eslint/eslint-plugin-template": "16.2.0",
"@angular-eslint/template-parser": "16.2.0",
"@rushstack/eslint-patch": "1.5.1",
"@types/eslint": "8.44.3",
"@types/estree": "1.0.2",
"@types/jest": "29.5.5",
"@types/node": "18.18.1",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"@angular-eslint/eslint-plugin": "16.3.1",
"@angular-eslint/eslint-plugin-template": "16.3.1",
"@angular-eslint/template-parser": "16.3.1",
"@rushstack/eslint-patch": "1.6.0",
"@types/eslint": "8.44.8",
"@types/estree": "1.0.5",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"@vue/eslint-config-typescript": "12.0.0",
"eslint": "8.50.0",
"eslint-plugin-import": "2.28.1",
"eslint": "8.55.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-json-es": "1.5.7",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-security": "1.7.1",
"eslint-plugin-vue": "9.17.0",
"eslint-plugin-vue": "9.19.2",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "14.0.1",
"lint-staged": "15.2.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.2.2"
"ts-node": "10.9.2",
"typescript": "5.3.3"
},
"lint-staged": {
"*.js": "eslint --config .eslintrc.format.js --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con
The following dependencies are required:

```
"@cloudflight/eslint-plugin-typescript": ">=0.21.0",
"@cloudflight/eslint-plugin-typescript": ">=0.22.0",
"@rushstack/eslint-patch": "1.2.0",
"eslint": ">=8.0.0 <9.0.0"
```
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-plugin-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-angular",
"version": "0.21.0",
"version": "0.22.0",
"description": "Cloudflight eslint-plugin & eslint-config for angular",
"volta": {
"extends": "../../package.json"
Expand All @@ -26,15 +26,15 @@
"build-package": "tsc"
},
"dependencies": {
"@angular-eslint/eslint-plugin": "^16.2.0",
"@angular-eslint/eslint-plugin-template": "^16.2.0",
"@angular-eslint/template-parser": "^16.2.0"
"@angular-eslint/eslint-plugin": "^16.3.1",
"@angular-eslint/eslint-plugin-template": "^16.3.1",
"@angular-eslint/template-parser": "^16.3.1"
},
"peerDependencies": {
"@cloudflight/eslint-plugin-typescript": "workspace:*",
"eslint": ">=8.0.0 <9.0.0"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con
The following dependencies are required:

```
"@cloudflight/eslint-plugin-typescript": ">=0.21.0",
"@cloudflight/eslint-plugin-typescript": ">=0.22.0",
"@rushstack/eslint-patch": "1.2.0",
"eslint": ">=8.0.0 <9.0.0"
```
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-node",
"version": "0.21.0",
"version": "0.22.0",
"description": "Cloudflight eslint-plugin & eslint-config for node",
"volta": {
"extends": "../../package.json"
Expand Down Expand Up @@ -35,6 +35,6 @@
"eslint": ">=8.0.0 <9.0.0"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con
The following dependencies are required:

```
"@cloudflight/eslint-plugin-typescript": ">=0.21.0",
"@cloudflight/eslint-plugin-typescript": ">=0.22.0",
"@rushstack/eslint-patch": "1.2.0",
"eslint": ">=8.0.0 <9.0.0"
```
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-react",
"version": "0.21.0",
"version": "0.22.0",
"description": "Cloudflight eslint-plugin & eslint-config for React",
"volta": {
"extends": "../../package.json"
Expand All @@ -26,7 +26,7 @@
"build-package": "tsc"
},
"dependencies": {
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0"
},
Expand All @@ -35,6 +35,6 @@
"eslint": ">=8.0.0 <9.0.0"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.3.3"
}
}
10 changes: 5 additions & 5 deletions packages/eslint-plugin-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-typescript",
"version": "0.21.0",
"version": "0.22.0",
"description": "Cloudflight eslint-plugin & eslint-config for typescript",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,9 +27,9 @@
"test-package": "jest"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint-plugin-import": "^2.28.1",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-json-es": "^1.5.7",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-simple-import-sort": "^10.0.0"
Expand All @@ -38,6 +38,6 @@
"eslint": ">=8.0.0 <9.0.0"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.3.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const typescriptEslintRules: TSESLint.Linter.RulesRecord = {
// enums can be used as a holder of constants, working
// with external APIs can be painful if this is not allowed
[`${pluginPrefix}/no-unsafe-enum-comparison`]: 'off',
[`${pluginPrefix}/no-unsafe-unary-minus`]: 'error',
'no-unused-vars': 'off',
[`${pluginPrefix}/no-unused-vars`]: ['error', {args: 'none', ignoreRestSiblings: true}],
[`${pluginPrefix}/promise-function-async`]: ['error'],
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con
The following dependencies are required:

```
"@cloudflight/eslint-plugin-typescript": ">=0.21.0",
"@cloudflight/eslint-plugin-typescript": ">=0.22.0",
"@rushstack/eslint-patch": "1.2.0",
"eslint": ">=8.0.0 <9.0.0"
```
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-vue",
"version": "0.21.0",
"version": "0.22.0",
"description": "Cloudflight eslint-plugin & eslint-config for vue",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,13 +27,13 @@
},
"dependencies": {
"@vue/eslint-config-typescript": "^12.0.0",
"eslint-plugin-vue": "^9.17.0"
"eslint-plugin-vue": "^9.19.2"
},
"peerDependencies": {
"@cloudflight/eslint-plugin-typescript": "workspace:*",
"eslint": ">=8.0.0 <9.0.0"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.3.3"
}
}
Loading

0 comments on commit e3911e1

Please sign in to comment.