Skip to content

Commit 49b518c

Browse files
committed
Move ESLint config to own file
1 parent 1f2b3ae commit 49b518c

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

.eslintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"root": true,
3+
"extends": ["plugin:github/browser", "plugin:github/recommended", "plugin:github/typescript"],
4+
"overrides": [
5+
{
6+
"files": "*.js",
7+
"parser": "espree",
8+
"parserOptions": {"ecmaVersion": 8}
9+
}
10+
]
11+
}

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,5 @@
4141
"rollup": "^2.46.0",
4242
"rollup-plugin-typescript2": "^0.30.0",
4343
"typescript": "^4.2.4"
44-
},
45-
"eslintConfig": {
46-
"extends": [
47-
"plugin:github/browser",
48-
"plugin:github/recommended",
49-
"plugin:github/typescript"
50-
]
5144
}
5245
}

0 commit comments

Comments
 (0)