fcoin/.eslintrc.json
2017-07-31 18:21:03 -07:00

54 lines
1.3 KiB
JSON

{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"consistent-return": "off",
"func-name-matching": "off",
"indent": ["error", 2, {
"SwitchCase": 1,
"CallExpression": {
"arguments": "off"
},
"ArrayExpression": "off"
}],
"handle-callback-err": "off",
"linebreak-style": ["error", "unix"],
"no-buffer-constructor": "error",
"no-console": "off",
"no-cond-assign": "off",
"no-extra-semi": "off",
"no-fallthrough": "off",
"no-func-assign": "off",
"no-param-reassign": "off",
"no-shadow-restricted-names": "error",
"no-tabs": "error",
"no-unused-vars": ["error", {
"vars": "all",
"args": "none",
"ignoreRestSiblings": false
}],
"no-use-before-define": ["error", {
"functions": false,
"classes": false
}],
"no-unreachable": "off",
"no-useless-escape": "off",
"no-unsafe-finally": "off",
"no-var": "error",
"prefer-const": ["error", {
"destructuring": "all",
"ignoreReadBeforeAssign": true
}],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"strict": "error",
"valid-jsdoc": "error"
}
}