mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
39 lines
979 B
JSON
39 lines
979 B
JSON
{
|
|
"parser": "babel-eslint",
|
|
"extends": "airbnb",
|
|
"globals": {
|
|
"NylasEnv": false,
|
|
"$n": false,
|
|
"waitsForPromise": false,
|
|
"advanceClock": false,
|
|
"TEST_ACCOUNT_ID": false,
|
|
"TEST_ACCOUNT_NAME": false,
|
|
"TEST_ACCOUNT_ALIAS_EMAIL": false
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jasmine": true
|
|
},
|
|
"rules": {
|
|
"arrow-body-style": "off",
|
|
"eqeqeq": ["error", "smart"],
|
|
"id-length": "off",
|
|
"object-curly-spacing": "off",
|
|
"max-len": "off",
|
|
"new-cap": ["error", {"capIsNew": false}],
|
|
"no-console": "off",
|
|
"no-constant-condition": "off",
|
|
"no-loop-func": "off",
|
|
"no-shadow": "error",
|
|
"no-underscore-dangle": "off",
|
|
"quotes": "off",
|
|
"semi": "off",
|
|
"react/no-multi-comp": "off",
|
|
"react/prop-types": ["error", {"ignore": ["children"]}],
|
|
"react/sort-comp": "error"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {"node": {"extensions": [".es6", ".jsx", ".coffee", ".json"]}}
|
|
}
|
|
}
|