Spoke/.eslintrc.js

23 строки
534 B
JavaScript
Исходник Обычный вид История

2018-05-29 04:35:21 +03:00
module.exports = {
parser: "babel-eslint",
env: {
browser: true,
es6: true,
node: true
},
globals: {
THREE: true
},
plugins: ["prettier", "react"],
rules: {
"prettier/prettier": "error",
"prefer-const": "error",
"no-use-before-define": "error",
"no-var": "error",
"no-throw-literal": "error",
// Light console usage is useful but remove debug logs before merging to master.
"no-console": "off"
},
extends: ["prettier", "plugin:react/recommended", "eslint:recommended"]
};