Skip to content

Instantly share code, notes, and snippets.

@lucien144
Last active October 25, 2018 23:32
Show Gist options
  • Save lucien144/dbb3aa3c8ec7e7701a2478f9a7f8a109 to your computer and use it in GitHub Desktop.
Save lucien144/dbb3aa3c8ec7e7701a2478f9a7f8a109 to your computer and use it in GitHub Desktop.
Vue with XO
// The XO has to be installed as dependency. If you use it globally, it won't work...
"xo": {
"extensions": [
"vue"
],
"parserOptions": {
"parser": "babel-eslint"
},
"extends": [
"plugin:vue/recommended"
],
"rules": {
"vue/html-indent": ["error", "tab"],
"import/extensions": ["error", "never", { "vue": "always" }],
"import/no-unresolved": [2, { "ignore": ["vue$"] }],
"unicorn/filename-case": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment