Skip to content

Commit 161bc32

Browse files
committed
chore(lint): migrate ESLint configs
1 parent a829529 commit 161bc32

File tree

3 files changed

+49
-6
lines changed

3 files changed

+49
-6
lines changed

eslint.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import typescriptEslint from "typescript-eslint"
2+
import js from "@eslint/js";
3+
4+
export default typescriptEslint.config(
5+
js.configs.recommended,
6+
...typescriptEslint.configs.recommended,
7+
{
8+
rules: {
9+
"no-unused-vars": "off",
10+
"@typescript-eslint/no-unused-vars": ["error", {
11+
varsIgnorePattern: "^_",
12+
}],
13+
"@typescript-eslint/no-non-null-assertion": "off",
14+
"@typescript-eslint/camelcase": "off",
15+
"no-unused-expressions": "off",
16+
"@typescript-eslint/no-unused-expressions": "off"
17+
}
18+
}
19+
);

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525
},
2626
"homepage": "https://github.com/ivaoth/ivac-sector-file#readme",
2727
"devDependencies": {
28+
"@eslint/js": "9.8.0",
2829
"@types/archiver": "6.0.2",
2930
"@types/fs-extra": "11.0.4",
3031
"@types/inquirer": "9.0.7",
3132
"@types/node": "20.14.14",
3233
"@types/sqlite3": "3.1.11",
3334
"@types/xml": "1.0.11",
34-
"@typescript-eslint/eslint-plugin": "8.0.1",
35-
"@typescript-eslint/parser": "8.0.1",
3635
"commit-and-tag-version": "12.4.1",
3736
"eslint": "9.8.0",
3837
"eslint-config-prettier": "9.1.0",
3938
"eslint-plugin-prettier": "5.2.1",
4039
"prettier": "3.3.3",
4140
"ts-node": "10.9.2",
42-
"typescript": "5.5.4"
41+
"typescript": "5.5.4",
42+
"typescript-eslint": "8.0.1"
4343
},
4444
"dependencies": {
4545
"archiver": "7.0.1",

0 commit comments

Comments
 (0)