37 lines
713 B
JavaScript
37 lines
713 B
JavaScript
module.exports = {
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
parserOptions: {
|
|
"ecmaVersion": 2020,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"google",
|
|
],
|
|
rules: {
|
|
"no-restricted-globals": ["error", "name", "length"],
|
|
"prefer-arrow-callback": "error",
|
|
"quotes": ["error", "double", {"allowTemplateLiterals": true}],
|
|
"max-len": "off",
|
|
"valid-jsdoc": "off",
|
|
"require-jsdoc": "off",
|
|
"guard-for-in": "off",
|
|
"no-unused-vars": "warn",
|
|
"brace-style": "off",
|
|
"object-curly-spacing": "off",
|
|
"arrow-parens": "off",
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ["**/*.spec.*"],
|
|
env: {
|
|
mocha: true,
|
|
},
|
|
rules: {},
|
|
},
|
|
],
|
|
globals: {},
|
|
};
|