Last active
October 25, 2018 23:32
-
-
Save lucien144/dbb3aa3c8ec7e7701a2478f9a7f8a109 to your computer and use it in GitHub Desktop.
Vue with XO
This file contains hidden or 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
// 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