mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-12 16:57:03 +01:00
27 lines
491 B
JavaScript
27 lines
491 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: 'babel-eslint',
|
|
parserOptions: {
|
|
sourceType: 'module'
|
|
},
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
extends: 'standard',
|
|
globals: {
|
|
__static: true
|
|
},
|
|
plugins: [
|
|
'html'
|
|
],
|
|
'rules': {
|
|
// allow paren-less arrow functions
|
|
'arrow-parens': 0,
|
|
// allow async-await
|
|
'generator-star-spacing': 0,
|
|
// allow debugger during development
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
|
}
|
|
}
|