Skip to content

Instantly share code, notes, and snippets.

@ibnu-ja
Created July 17, 2021 05:54
Show Gist options
  • Save ibnu-ja/e27e267f878cbe260e47f3ed43cbdaf0 to your computer and use it in GitHub Desktop.
Save ibnu-ja/e27e267f878cbe260e47f3ed43cbdaf0 to your computer and use it in GitHub Desktop.
module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'],
parserOptions: {
parser: 'babel-eslint',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'prettier/prettier': [
'warn',
{
singleQuote: true,
semi: false,
trailingComma: 'all',
},
],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment