Skip to content

Instantly share code, notes, and snippets.

@nulpatrol
Created November 28, 2017 12:16
Show Gist options
  • Save nulpatrol/1e3dcd06fc578cbadd74f41cf0989ce9 to your computer and use it in GitHub Desktop.
Save nulpatrol/1e3dcd06fc578cbadd74f41cf0989ce9 to your computer and use it in GitHub Desktop.
ESLint Vue Plugin
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"browser": true
},
"extends": [
"airbnb-base",
"plugin:vue/base",
"plugin:vue/essential",
"plugin:vue/recommended",
"plugin:vue/strongly-recommended"
],
"plugins": [
"html"
],
"globals": {
"_": false
},
"rules": {
"no-param-reassign": 0,
"no-multi-assign": 0,
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-console": "off",
"import/extensions": ["error", "always", {
"js": "never",
"vue": "never"
}]
}
}
"devDependencies": {
...
"eslint-plugin-vue": "^4.0.0-beta.0",
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment