2018-09-01 02:40:51 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2021-02-01 01:24:42 +00:00
|
|
|
globals: {
|
|
|
|
"jasmine": true,
|
|
|
|
},
|
2018-09-01 02:40:51 +00:00
|
|
|
plugins: ['prettier'],
|
|
|
|
extends: ['@webpack-contrib/eslint-config-webpack'],
|
|
|
|
rules: {
|
2021-01-29 02:10:32 +00:00
|
|
|
"consistent-return": "off",
|
2021-02-01 01:24:42 +00:00
|
|
|
"camelcase": "off",
|
2021-01-29 02:10:32 +00:00
|
|
|
"no-console": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"prefer-destructuring": ["error", {"object": false, "array": false}],
|
|
|
|
"prefer-rest-params": "off",
|
|
|
|
"strict": ["error", "safe"],
|
2018-09-01 02:40:51 +00:00
|
|
|
'prettier/prettier': [
|
|
|
|
'error',
|
|
|
|
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' },
|
|
|
|
],
|
|
|
|
},
|
2021-01-29 02:10:32 +00:00
|
|
|
};
|