filesafe/src/js/.eslintrc.js
Bobby 364e16af7f
feat: update src/js/.eslintrc.js
enable no-undefined rule, and disable no-void rule
2022-10-06 02:46:13 +07:00

23 lines
324 B
JavaScript

module.exports = {
root: true,
parserOptions: {
sourceType: 'script'
},
env: {
browser: true,
es2016: true
},
extends: [
'standard',
'plugin:compat/recommended'
],
rules: {
'no-undefined': 'error',
'no-void': 0,
'object-shorthand': [
'error',
'always'
]
}
}