Created
April 29, 2018 03:20
-
-
Save maxtortime/e18d7b8868cf06205cdac9ab38266afc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://eslint.org/docs/user-guide/configuring | |
module.exports = { | |
root: true, | |
parserOptions: { | |
parser: 'babel-eslint', | |
sourceType: 'module' | |
}, | |
env: { | |
browser: true, | |
}, | |
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | |
extends: [ | |
'standard', | |
'plugin:vue/recommended' | |
], | |
// required to lint *.vue files | |
plugins: [ | |
'html', | |
'standard', | |
'vue' | |
], | |
// 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 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment