Skip to content

Commit

Permalink
fix: react & web config moved to eslint-config-react
Browse files Browse the repository at this point in the history
since there will be non-web typescript projects using this eslint config
  • Loading branch information
romenrg committed Nov 24, 2022
1 parent 7195b71 commit 50040ee
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions legacy.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module.exports = {
root: true,
env: {
browser: true,
es6: true,
jest: true,
node: true,
},
parser: "@typescript-eslint/parser",
ignorePatterns: ["babel.config.js", "jest.config.js"],
ignorePatterns: ["jest.config.js"],
plugins: [
"@typescript-eslint",
"import",
Expand Down Expand Up @@ -64,13 +63,7 @@ module.exports = {
"node/no-unpublished-import": [
"error",
{
allowModules: [
"@jest/globals",
"@testing-library/dom",
"@testing-library/react",
"@testing-library/user-event",
"nock",
],
allowModules: ["@jest/globals"],
},
],
"node/no-unsupported-features/es-syntax": "off",
Expand Down

0 comments on commit 50040ee

Please sign in to comment.