2020-12-05 23:52:52 +00:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
commonjs: true,
|
|
|
|
es2021: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'standard'
|
|
|
|
],
|
|
|
|
rules: {
|
2020-12-06 17:09:37 +00:00
|
|
|
'no-shadow': 'error',
|
2020-12-07 01:26:27 +00:00
|
|
|
'no-unused-vars': ['error', {
|
|
|
|
argsIgnorePattern: '^_',
|
|
|
|
caughtErrorsIgnorePattern: '^_'
|
|
|
|
}]
|
2020-12-05 23:52:52 +00:00
|
|
|
}
|
|
|
|
}
|