mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 09:32:33 +08:00
44 lines
950 B
Text
44 lines
950 B
Text
{
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"modules": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"extends": ["react-app", "prettier", "prettier/react"],
|
|
"globals": {
|
|
"AppEnv": false,
|
|
"$m": false,
|
|
"waitsForPromise": false,
|
|
"advanceClock": false,
|
|
"TEST_ACCOUNT_ID": false,
|
|
"TEST_ACCOUNT_NAME": false,
|
|
"TEST_ACCOUNT_EMAIL": false,
|
|
"TEST_ACCOUNT_ALIAS_EMAIL": false
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jasmine": true
|
|
},
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"no-cond-assign": 0,
|
|
"prettier/prettier": "error"
|
|
},
|
|
"settings": {
|
|
"import/core-modules": [
|
|
"mailspring-exports",
|
|
"mailspring-component-kit",
|
|
"electron",
|
|
"mailspring-store",
|
|
"mailspring-observables"
|
|
],
|
|
"import/resolver": {
|
|
"node": { "extensions": [".es6", ".jsx", ".json", ".js"] }
|
|
}
|
|
}
|
|
}
|