feat: add desktop repo (#1071)
This commit is contained in:
42
packages/desktop/.eslintrc
Normal file
42
packages/desktop/.eslintrc
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"env": {
|
||||
"node": true,
|
||||
"commonjs": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/eslint-recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier",
|
||||
"../../node_modules/@standardnotes/config/src/.eslintrc"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"ignorePatterns": ["test", "scripts", ".eslintrc", "tsconfig.json", "node_modules"],
|
||||
"rules": {
|
||||
/** Style */
|
||||
"quotes": ["error", "single", { "avoidEscape": true }],
|
||||
|
||||
/** Preferences */
|
||||
"no-console": "off",
|
||||
"accessor-pairs": 0,
|
||||
"no-nonoctal-decimal-escape": 0,
|
||||
"no-unsafe-optional-chaining": 0,
|
||||
"@typescript-eslint/explicit-function-return-type": 0,
|
||||
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
|
||||
"@typescript-eslint/no-non-null-assertion": 0,
|
||||
"@typescript-eslint/no-explicit-any": 0,
|
||||
"@typescript-eslint/no-var-requires": 0,
|
||||
/**
|
||||
* The following rules are disabled because they are already implemented
|
||||
* in the TypeScript configuration, or vice-versa
|
||||
*/
|
||||
"no-unused-vars": 0,
|
||||
"no-useless-constructor": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"@typescript-eslint/camelcase": 0
|
||||
},
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"globals": {
|
||||
"zip": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user