Skip to content

Instantly share code, notes, and snippets.

@onlyurei
Created January 25, 2018 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onlyurei/46edf2cf155b90e0fc85a3823623b700 to your computer and use it in GitHub Desktop.
Save onlyurei/46edf2cf155b90e0fc85a3823623b700 to your computer and use it in GitHub Desktop.
vue-prettier eslintrc example
{
"root": true,
"extends": [
"plugin:vue/recommended",
"groupon"
],
"plugins": [
"vue"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"vue/max-attributes-per-line": [
"error",
{
"singleline": 4,
"multiline": {
"max": 4,
"allowFirstLine": true
}
}
],
"node/no-unsupported-features": "off",
"strict": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": false,
"printWidth": 100
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment