2016-11-24 15:47:41 -05:00
|
|
|
{
|
|
|
|
|
"root": true,
|
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
|
"env": {
|
|
|
|
|
"node": true,
|
|
|
|
|
"es6": true
|
|
|
|
|
},
|
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
|
"plugins": [
|
|
|
|
|
"flowtype"
|
|
|
|
|
],
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
|
"sourceType": "module"
|
|
|
|
|
},
|
|
|
|
|
"rules": {
|
|
|
|
|
"indent": ["error", 2],
|
2016-12-01 10:24:46 -08:00
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
|
"no-trailing-spaces": 2,
|
2016-12-02 16:11:54 -08:00
|
|
|
"eol-last": 2,
|
2016-12-06 13:35:23 -08:00
|
|
|
"space-in-parens": ["error", "never"],
|
2016-12-07 15:17:05 -08:00
|
|
|
"no-multiple-empty-lines": 1,
|
2017-01-11 12:31:40 -08:00
|
|
|
"prefer-const": "error",
|
2017-06-20 09:15:26 -07:00
|
|
|
"space-infix-ops": "error",
|
|
|
|
|
"no-useless-escape": "off"
|
2016-11-24 15:47:41 -05:00
|
|
|
}
|
|
|
|
|
}
|