зеркало из https://github.com/mozilla/Spoke.git
23 строки
534 B
JavaScript
23 строки
534 B
JavaScript
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"]
|
|
};
|