Skip to content

Commit 5075ffb

Browse files
committed
Update lint
1 parent 5c96242 commit 5075ffb

File tree

7 files changed

+6687
-2540
lines changed

7 files changed

+6687
-2540
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
dist
2+
**/node_modules/**
3+
test/karma.config.js

.eslintrc.json

+20-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
{
2+
"plugins": ["github"],
23
"extends": [
3-
"plugin:github/browser",
4-
"plugin:github/es6",
5-
"plugin:github/typescript"
4+
"plugin:github/recommended"
65
],
6+
"parser": "@typescript-eslint/parser",
77
"globals": {
8-
"RemoteInputElement": "readable"
8+
"RemoteInputElement": "readonly",
9+
"RequestInit": true
910
},
10-
"overrides": [
11-
{
12-
"files": "*.js",
13-
"parser": "espree",
14-
"parserOptions": {
15-
"ecmaVersion": "2020"
16-
}
17-
},
18-
{
19-
"files": "test/**/*.js",
20-
"rules": {
21-
"github/unescaped-html-literal": "off"
11+
"env": {
12+
"browser": true,
13+
"commonjs": true,
14+
"es6": true,
15+
"jest": true,
16+
"node": true
17+
},
18+
"rules": {
19+
"no-unused-vars": [
20+
"error",
21+
{
22+
"argsIgnorePattern": "^_",
23+
"varsIgnorePattern": "^_"
2224
}
23-
}
24-
]
25+
]
26+
}
2527
}

0 commit comments

Comments
 (0)