update
[gyphy-test.git] / .eslintrc.js
blob67c085d60401799f3034456860b7a5309134e74f
1 // http://eslint.org/docs/user-guide/configuring
3 module.exports = {
4   root: true,
5   parser: 'babel-eslint',
6   parserOptions: {
7     sourceType: 'module'
8   },
9   env: {
10     browser: true,
11   },
12   // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
13   extends: 'standard',
14   // required to lint *.vue files
15   plugins: [
16     'html'
17   ],
18   // add your custom rules here
19   'rules': {
20     // allow paren-less arrow functions
21     'arrow-parens': 0,
22     // allow async-await
23     'generator-star-spacing': 0,
24     // allow debugger during development
25     'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
26   }