fix(web): eslint ignore setup

This commit is contained in:
Karol Sójko
2022-08-03 15:41:11 +02:00
parent f259f774c5
commit 966c15701f
2 changed files with 12 additions and 11 deletions

View File

@@ -1,11 +0,0 @@
node_modules
dist
.eslintrc
*.webpack.*.js
web.webpack-defaults.js
*.config.js
__mocks__
src/components
src/favicon
src/vendor

View File

@@ -9,6 +9,18 @@
"../../node_modules/@standardnotes/config/src/.eslintrc"
],
"plugins": ["@typescript-eslint", "react", "react-hooks"],
"ignorePatterns": [
"node_modules",
"dist",
".eslintrc.js",
"*.webpack.*.js",
"webpack-defaults.js",
"jest.config.js",
"__mocks__",
"src/components",
"src/favicon",
"src/vendor"
],
"rules": {
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
"no-throw-literal": 0,