Mailspring/.eslintrc

44 lines
925 B
Text
Raw Normal View History

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": [
"mailspring-exports",
"mailspring-component-kit",
2017-09-27 02:33:08 +08:00
"electron",
"mailspring-store",
"mailspring-observables"
2017-09-27 02:33:08 +08:00
],
"import/resolver": {
"node": { "extensions": [".es6", ".jsx", ".json", ".js"] }
2017-09-27 02:33:08 +08:00
}
2016-06-19 18:02:32 +08:00
}
}