Skip to content

Commit

Permalink
chore: eslint to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Nov 7, 2023
1 parent f16c460 commit 5642913
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 337 deletions.
5 changes: 1 addition & 4 deletions configs/eslint-config-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vitest": "0.3.1"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
"eslint-plugin-vitest": "0.3.9"
}
}
2 changes: 1 addition & 1 deletion configs/eslint-config-ts/noimport.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
],
rules: {
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-explicit-any': 'warn',
'jsdoc/require-description': 'warn',
'jsdoc/require-returns': 'off',
'jsdoc/require-jsdoc': 'off',
Expand Down
11 changes: 4 additions & 7 deletions configs/eslint-config-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@
},
"dependencies": {
"@suspensive/eslint-config-js": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^2.7.1",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prettier": "^5.0.1"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
}
3 changes: 0 additions & 3 deletions configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
}
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"autoprefixer": "^10.4.16",
"eslint": "^8.52.0",
"eslint-config-next": "13.5.4",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@vitest/ui": "^0.34.6",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.52.0",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.3.0",
Expand Down
Loading

0 comments on commit 5642913

Please sign in to comment.