* feat(web): add deploying static app * fix(web): linter ignore patterns * fix(web): cloudfront invalidation and favicons placement * feat(web-server): remove web-server package in favour of web * fix(web): remove linter parallel jobs due to oom issue * fix(mobile): eslintignore paths * fix(web): copy of components * fix(web): include building components in building all process * fix(web): copying of components
34 lines
984 B
Plaintext
34 lines
984 B
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"plugin:react-hooks/recommended",
|
|
"../../node_modules/@standardnotes/config/src/.eslintrc"
|
|
],
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
|
"rules": {
|
|
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
|
|
"no-throw-literal": 0,
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }],
|
|
"semi": 1,
|
|
"camelcase": "warn",
|
|
"sort-imports": "off",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "error",
|
|
"eol-last": "error",
|
|
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
|
|
"no-trailing-spaces": "error",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"no-invalid-this": "warn"
|
|
},
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"__WEB_VERSION__": true
|
|
}
|
|
}
|