* chore(package): update dependencies * docs(readme): add Greenkeeper badge * Fix indent issues with eslint 4.0 see http://eslint.org/docs/user-guide/migrating-to-4.0.0\#-the-indent-rule-is-more-strict
28 lines
625 B
JSON
28 lines
625 B
JSON
{
|
|
"root": true,
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"parser": "babel-eslint",
|
|
"plugins": [
|
|
"flowtype"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": ["error", 2],
|
|
"linebreak-style": ["error", "unix"],
|
|
"no-trailing-spaces": 2,
|
|
"eol-last": 2,
|
|
"space-in-parens": ["error", "never"],
|
|
"no-multiple-empty-lines": 1,
|
|
"prefer-const": "error",
|
|
"space-infix-ops": "error",
|
|
"no-useless-escape": "off"
|
|
}
|
|
}
|