Skip to content

Commit 8c65e61

Browse files
authored
Update eslint to v8.23.1 (#9)
* Remove @ts-check * Remove @types/eslint * Update eslint to v8.23.1
1 parent 1baeadb commit 8c65e61

File tree

4 files changed

+97
-99
lines changed

4 files changed

+97
-99
lines changed

.eslintrc.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
// @ts-check
2-
3-
/** @typedef {import("eslint").Linter.BaseConfig } BaseConfig */
4-
5-
/** @type {BaseConfig} */
6-
const config = {
1+
module.exports = {
72
extends: './index.js',
83
rules: {
94
'unicorn/prefer-module': 'off'
105
}
116
}
12-
13-
module.exports = config

index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
// @ts-check
2-
3-
/** @typedef {import("eslint").Linter.BaseConfig} BaseConfig */
4-
5-
/** @type {BaseConfig} */
6-
const config = {
1+
module.exports = {
72
extends: [
83
'standard-with-typescript',
94
'plugin:unicorn/recommended',
105
'plugin:eslint-comments/recommended'
116
]
127
}
13-
14-
module.exports = config

package-lock.json

Lines changed: 93 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"peerDependencies": {
1616
"@typescript-eslint/eslint-plugin": "^5.0.0",
17-
"eslint": "^8.0.0",
17+
"eslint": "^8.23.1",
1818
"eslint-config-standard-with-typescript": "^23.0.0",
1919
"eslint-plugin-eslint-comments": "^3.0.0",
2020
"eslint-plugin-import": "^2.25.2",
@@ -24,9 +24,8 @@
2424
"typescript": "*"
2525
},
2626
"devDependencies": {
27-
"@types/eslint": "8.4.6",
2827
"@typescript-eslint/eslint-plugin": "5.39.0",
29-
"eslint": "8.4.1",
28+
"eslint": "8.23.1",
3029
"eslint-config-standard-with-typescript": "23.0.0",
3130
"eslint-plugin-eslint-comments": "3.2.0",
3231
"eslint-plugin-import": "2.26.0",

0 commit comments

Comments
 (0)