filebrowser/.eslintrc.js
Henrique Dias a07ddfdccd update
Former-commit-id: c4262568ff52062dc118aba4d0d1be64c084aef4 [formerly a3f6851f480a274d0bc82816cf58a1acda6566c5] [formerly e0786e7fe9142d080c850eddf8dcee3bdb03b972 [formerly 6036f2ef5e]]
Former-commit-id: 239dfe9ec88a13c07aa43f3e009fcac2feb5bf97 [formerly 10a7a77ba48f5674e6b5ee2f6515e7ee800fafe2]
Former-commit-id: b15137471be011e5278eb4f098cfebb3be176789
2017-07-06 08:12:19 +01:00

28 lines
642 B
JavaScript

// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'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
}
}