mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-22 19:11:35 +00:00
364e16af7f
enable no-undefined rule, and disable no-void rule
23 lines
324 B
JavaScript
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'
|
|
]
|
|
}
|
|
}
|