Skip to content

Commit 9019b9e

Browse files
committed
update npm packages, correct eslint errors
1 parent 5514fb8 commit 9019b9e

12 files changed

+757
-595
lines changed

.eslintrc

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@
44
"es6": true,
55
"mocha": true
66
},
7+
"parserOptions": {
8+
"project": "./tsconfig.json"
9+
},
710
"parser": "@typescript-eslint/parser",
8-
"plugins": ["@typescript-eslint", "prettier"],
11+
"plugins": [
12+
"@typescript-eslint",
13+
"prettier"
14+
],
915
"extends": [
10-
"standard",
16+
"eslint:recommended",
1117
"plugin:@typescript-eslint/recommended",
18+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1219
"plugin:import/errors",
1320
"plugin:import/warnings",
1421
"plugin:import/typescript",
@@ -27,7 +34,9 @@
2734
"no-dupe-class-members": "off",
2835
"@typescript-eslint/no-dupe-class-members": "error",
2936
"no-empty-function": "off",
30-
"@typescript-eslint/no-empty-function": ["error"],
37+
"@typescript-eslint/no-empty-function": [
38+
"error"
39+
],
3140
"@typescript-eslint/no-empty-interface": "off",
3241
"@typescript-eslint/no-explicit-any": "error",
3342
"@typescript-eslint/no-non-null-assertion": "off",
@@ -53,7 +62,9 @@
5362
"class-methods-use-this": [
5463
"error",
5564
{
56-
"exceptMethods": ["dispose"]
65+
"exceptMethods": [
66+
"dispose"
67+
]
5768
}
5869
],
5970
"func-names": "off",
@@ -63,7 +74,10 @@
6374
"import/no-unresolved": [
6475
"error",
6576
{
66-
"ignore": ["monaco-editor", "vscode"]
77+
"ignore": [
78+
"monaco-editor",
79+
"vscode"
80+
]
6781
}
6882
],
6983
"import/prefer-default-export": "off",
@@ -101,6 +115,8 @@
101115
],
102116
"operator-assignment": "off",
103117
"strict": "off",
104-
"prettier/prettier": ["error"]
118+
"prettier/prettier": [
119+
"error"
120+
]
105121
}
106-
}
122+
}

0 commit comments

Comments
 (0)