Mailspring/build/config/eslint.json

41 lines
1 KiB
JSON
Raw Normal View History

{
2016-05-04 03:37:32 +08:00
"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": {
2016-05-06 13:49:45 +08:00
"arrow-body-style": "off",
2016-05-06 07:50:03 +08:00
"eqeqeq": ["error", "smart"],
"id-length": "off",
"object-curly-spacing": "off",
2016-05-06 08:58:20 +08:00
"max-len": "off",
2016-05-06 07:50:03 +08:00
"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",
2016-05-07 02:12:37 +08:00
"import/no-unresolved": ["error", {"ignore": ["nylas-exports"]}],
2016-05-06 07:50:03 +08:00
"react/no-multi-comp": "off",
"react/prop-types": ["error", {"ignore": ["children"]}],
"react/sort-comp": "error"
2016-05-07 01:59:59 +08:00
},
"settings": {
2016-05-07 02:08:02 +08:00
"import/resolver": {"node": {"extensions": [".es6", ".jsx", ".coffee", ".json"]}}
2016-05-04 03:37:32 +08:00
}
}