2016-06-19 18:02:32 +08:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2017-09-27 02:33:08 +08:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"modules": true,
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extends": ["react-app", "prettier", "prettier/react"],
|
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
|
|
|
|
},
|
2017-09-27 02:33:08 +08:00
|
|
|
"plugins": ["prettier"],
|
2016-06-19 18:02:32 +08:00
|
|
|
"rules": {
|
2017-09-27 02:33:08 +08:00
|
|
|
"prettier/prettier": "error"
|
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"
|
2017-09-27 02:33:08 +08:00
|
|
|
],
|
|
|
|
"import/resolver": {
|
2018-01-24 15:59:37 +08:00
|
|
|
"node": { "extensions": [".es6", ".jsx", ".json", ".js"] }
|
2017-09-27 02:33:08 +08:00
|
|
|
}
|
2016-06-19 18:02:32 +08:00
|
|
|
}
|
|
|
|
}
|