Mailspring/build/config/eslint.json
2016-05-06 11:55:55 -07:00

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"]}}
}
}