Created
January 17, 2017 22:15
-
-
Save zv3/86ec27f3ee4d00d354e003d72aced5df 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
Show hidden characters
{ | |
"presets": ["es2015", "stage-2"], | |
"plugins": ["transform-runtime"], | |
"comments": false, | |
"env": { | |
"test": { | |
"plugins": [ "istanbul" ] | |
} | |
} | |
} |
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
build/*.js | |
config/*.js |
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
module.exports = { | |
root: true, | |
parser: 'babel-eslint', | |
parserOptions: { | |
sourceType: 'module' | |
}, | |
// 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 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment