mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
{
|
|
"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", "*.webpack.*.js"],
|
|
"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
|
|
}
|
|
}
|