Skip to content

Instantly share code, notes, and snippets.

@Dpblandin
Created June 12, 2018 08:51
Show Gist options
  • Save Dpblandin/5e0f32428ea7090cf0a5eedafb1be2b2 to your computer and use it in GitHub Desktop.
Save Dpblandin/5e0f32428ea7090cf0a5eedafb1be2b2 to your computer and use it in GitHub Desktop.
eslint config file with vuejs
{
"root": true,
"env": {
"browser": true
},
"extends": [
"airbnb-base",
"plugin:vue/strongly-recommended"
],
"plugins": [
"vue"
],
"parserOptions": {
"parser" : "babel-eslint",
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 4],
"vue/jsx-uses-vars": 2,
"import/prefer-default-export": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"linebreak-style": 0,
"no-console": 0,
"no-new": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"no-plusplus": 0,
"no-mixed-operators": 0,
"no-underscore-dangle": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment