Skip to content

Commit

Permalink
breaking: Extend eslint config from @patternslib/dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jun 15, 2022
1 parent fa15a47 commit 354dac2
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@
module.exports = {
extends: ["eslint:recommended", "prettier"],
root: true,
env: {
es6: "true",
browser: true,
node: true,
jest: true,
},
parser: "@babel/eslint-parser",
ignorePatterns: [],
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: {
spyOn: true, // eventually replace with jest.spyOn and then fix a ton of test failures.
},
};
module.exports = require("@patternslib/dev/.eslintrc.js");

0 comments on commit 354dac2

Please sign in to comment.