fix(web): eslint ignore setup
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
node_modules
|
|
||||||
dist
|
|
||||||
.eslintrc
|
|
||||||
*.webpack.*.js
|
|
||||||
web.webpack-defaults.js
|
|
||||||
*.config.js
|
|
||||||
__mocks__
|
|
||||||
|
|
||||||
src/components
|
|
||||||
src/favicon
|
|
||||||
src/vendor
|
|
||||||
@@ -9,6 +9,18 @@
|
|||||||
"../../node_modules/@standardnotes/config/src/.eslintrc"
|
"../../node_modules/@standardnotes/config/src/.eslintrc"
|
||||||
],
|
],
|
||||||
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
"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": {
|
"rules": {
|
||||||
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
|
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
|
||||||
"no-throw-literal": 0,
|
"no-throw-literal": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user