Skip to content

Instantly share code, notes, and snippets.

@wulucxy
Last active April 18, 2020 09:32
Show Gist options
  • Save wulucxy/80a396abecf1937b5e42abf441615aa0 to your computer and use it in GitHub Desktop.
Save wulucxy/80a396abecf1937b5e42abf441615aa0 to your computer and use it in GitHub Desktop.
vue
module.exports = {
singleQuote: true,
semi: false
}
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'plugin:prettier/recommended', // we added this line
'@vue/prettier'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment