2016-06-19 18:02:32 +08:00
|
|
|
{
|
2019-03-05 03:03:12 +08:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2017-09-27 02:33:08 +08:00
|
|
|
"parserOptions": {
|
2019-09-24 02:24:11 +08:00
|
|
|
"project": "./app/tsconfig.json"
|
2017-09-27 02:33:08 +08:00
|
|
|
},
|
2016-06-19 18:02:32 +08:00
|
|
|
"globals": {
|
2017-09-27 02:36:58 +08:00
|
|
|
"AppEnv": false,
|
|
|
|
"$m": false,
|
2016-11-22 06:00:32 +08:00
|
|
|
"waitsForPromise": false,
|
|
|
|
"advanceClock": false,
|
|
|
|
"TEST_ACCOUNT_ID": false,
|
|
|
|
"TEST_ACCOUNT_NAME": false,
|
|
|
|
"TEST_ACCOUNT_EMAIL": false,
|
|
|
|
"TEST_ACCOUNT_ALIAS_EMAIL": false
|
2016-06-19 18:02:32 +08:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"jasmine": true
|
|
|
|
},
|
2019-03-05 03:03:12 +08:00
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"extends": ["plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"],
|
2016-06-19 18:02:32 +08:00
|
|
|
"rules": {
|
2018-01-27 02:57:22 +08:00
|
|
|
"no-cond-assign": 0,
|
2019-03-05 03:03:12 +08:00
|
|
|
"@typescript-eslint/explicit-member-accessibility": 0,
|
|
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
|
|
"@typescript-eslint/prefer-interface": 0,
|
|
|
|
"@typescript-eslint/no-unused-vars": 0,
|
|
|
|
"@typescript-eslint/camelcase": 0,
|
|
|
|
"@typescript-eslint/no-namespace": 0,
|
|
|
|
"@typescript-eslint/no-use-before-define": 0,
|
|
|
|
"@typescript-eslint/interface-name-prefix": 0,
|
|
|
|
"@typescript-eslint/no-var-requires": 0,
|
|
|
|
"@typescript-eslint/no-empty-interface": 0,
|
|
|
|
"@typescript-eslint/class-name-casing": 0,
|
|
|
|
"@typescript-eslint/prefer-namespace-keyword": 0,
|
|
|
|
"@typescript-eslint/no-object-literal-type-assertion": 0,
|
|
|
|
"@typescript-eslint/array-type": 0
|
2016-06-19 18:02:32 +08:00
|
|
|
},
|
|
|
|
"settings": {
|
2017-09-27 02:33:08 +08:00
|
|
|
"import/core-modules": [
|
2017-09-27 02:42:18 +08:00
|
|
|
"mailspring-exports",
|
|
|
|
"mailspring-component-kit",
|
2017-09-27 02:33:08 +08:00
|
|
|
"electron",
|
2017-09-27 02:42:18 +08:00
|
|
|
"mailspring-store",
|
|
|
|
"mailspring-observables"
|
2019-03-05 03:03:12 +08:00
|
|
|
]
|
2016-06-19 18:02:32 +08:00
|
|
|
}
|
|
|
|
}
|