Skip to content

Commit 2cfeadc

Browse files
committed
breaking: Extend eslint config from @patternslib/dev.
1 parent 9216ed7 commit 2cfeadc

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

.eslintrc.js

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1 @@
1-
module.exports = {
2-
extends: ["eslint:recommended", "prettier"],
3-
root: true,
4-
env: {
5-
es6: "true",
6-
browser: true,
7-
node: true,
8-
jest: true,
9-
},
10-
parser: "@babel/eslint-parser",
11-
ignorePatterns: [
12-
"cache/",
13-
"coverage/",
14-
"dist/",
15-
"node_modules/",
16-
"src/lib/depends_parse.js",
17-
"stats.json",
18-
"style/",
19-
],
20-
rules: {
21-
"no-debugger": 1,
22-
"no-duplicate-imports": 1,
23-
// Do keep due avoid unintendet consequences.
24-
"no-alert": 0,
25-
"no-control-regex": 0,
26-
"no-self-assign": 0,
27-
"no-useless-escape": 0,
28-
},
29-
};
1+
module.exports = require("@patternslib/dev/.eslintrc.js");

0 commit comments

Comments
 (0)