Created
December 3, 2017 12:28
-
-
Save ChangJoo-Park/b31b1bdc60ea73147a73a2cb2d006b1a to your computer and use it in GitHub Desktop.
Vue.js webpack template + eslint-plugin-vue
This file contains 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
// https://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" | |
], | |
plugins: [ | |
"html", | |
"standard", | |
"vue" | |
], | |
// add your custom rules here | |
rules: { | |
// allow async-await | |
'generator-star-spacing': 'off', | |
// allow debugger during development | |
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment