1
0
mirror of synced 2024-11-25 23:06:02 +03:00
vue-formulario/.eslintrc.js

23 lines
513 B
JavaScript
Raw Normal View History

2018-01-31 01:21:21 +03:00
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
2018-01-31 01:21:21 +03:00
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
2018-01-31 01:21:21 +03:00
extends: [
'standard',
'plugin:vue/recommended'
2018-01-31 01:21:21 +03:00
],
env: {
browser: true,
},
2018-01-31 01:21:21 +03:00
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
2018-01-31 01:21:21 +03:00
}