Skip to content

Commit 3df289c

Browse files
committed
Update ESLint config after updating
1 parent deefe6c commit 3df289c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2+
"plugins": ["github"],
23
"extends": [
34
"plugin:github/browser",
4-
"plugin:github/es6",
5+
"plugin:github/recommended",
56
"plugin:github/typescript"
67
],
78
"globals": {
@@ -11,7 +12,10 @@
1112
{
1213
"files": "test/**/*.js",
1314
"rules": {
14-
"github/unescaped-html-literal": "off"
15+
"github/no-inner-html": "off",
16+
"github/unescaped-html-literal": "off",
17+
"import/extensions": "off",
18+
"import/no-unresolved": "off"
1519
}
1620
}
1721
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"scripts": {
1616
"clean": "rm -rf dist",
17-
"lint": "github-lint",
17+
"lint": "eslint .",
1818
"prebuild": "npm run clean && npm run lint && mkdir dist",
1919
"build": "tsc",
2020
"test": "karma start karma.config.cjs",

0 commit comments

Comments
 (0)