* feat: add "sync" pane to preferences -> account tab * chore: configure eslint to add new line at the end of file and remove trailing spaces * chore: add newline at the end of file
36 lines
974 B
Plaintext
36 lines
974 B
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
|
"parserOptions": {
|
|
"project": "./app/assets/javascripts/tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
|
|
"no-throw-literal": 0,
|
|
"no-console": "off",
|
|
"semi": 1,
|
|
"camelcase": "warn",
|
|
"sort-imports": "off",
|
|
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
|
|
"react-hooks/exhaustive-deps": "error", // Checks effect dependencies
|
|
"eol-last": "error",
|
|
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
|
|
"no-trailing-spaces": "error"
|
|
},
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"SFJS": true,
|
|
"__VERSION__": true,
|
|
"zip": true
|
|
}
|
|
}
|