Skip to content

Commit

Permalink
maint: Extend eslint config from @patternslib/dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jul 6, 2022
1 parent 4330cf7 commit 857f678
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
module.exports = {
extends: ["eslint:recommended", "prettier"],
root: true,
env: {
es6: "true",
browser: true,
node: true,
jest: true,
},
parser: "@babel/eslint-parser",
ignorePatterns: ["dist/", "docs/", "node_modules/"],
rules: {
"no-debugger": 1,
"no-duplicate-imports": 1,
// Do keep due avoid unintendet consequences.
"no-alert": 0,
"no-control-regex": 0,
"no-self-assign": 0,
"no-useless-escape": 0,
},
globals: {},
};
module.exports = require("@patternslib/dev/.eslintrc.js");

0 comments on commit 857f678

Please sign in to comment.