2015-11-07 08:54:56 +08:00
|
|
|
{
|
2016-05-04 03:37:32 +08:00
|
|
|
"parser": "babel-eslint",
|
2015-11-07 08:54:56 +08:00
|
|
|
"extends": "airbnb",
|
|
|
|
"globals": {
|
2015-12-13 06:11:22 +08:00
|
|
|
"NylasEnv": false,
|
2016-03-04 04:37:20 +08:00
|
|
|
"$n": false,
|
2016-03-15 06:34:16 +08:00
|
|
|
"waitsForPromise": false,
|
2016-03-15 08:04:40 +08:00
|
|
|
"advanceClock": false,
|
2016-03-25 10:35:24 +08:00
|
|
|
"TEST_ACCOUNT_ID": false,
|
|
|
|
"TEST_ACCOUNT_NAME": false,
|
|
|
|
"TEST_ACCOUNT_ALIAS_EMAIL": false
|
2015-11-07 08:54:56 +08:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"jasmine": true
|
|
|
|
},
|
|
|
|
"rules": {
|
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",
|
|
|
|
"react/no-multi-comp": "off",
|
|
|
|
"react/prop-types": ["error", {"ignore": ["children"]}],
|
|
|
|
"react/sort-comp": "error"
|
2016-05-04 03:37:32 +08:00
|
|
|
}
|
2015-11-07 08:54:56 +08:00
|
|
|
}
|