Skip to content

Instantly share code, notes, and snippets.

@esron
Created April 16, 2019 12:26
Show Gist options
  • Select an option

  • Save esron/ce0f8cf3cfd8d58661d82cfe29288323 to your computer and use it in GitHub Desktop.

Select an option

Save esron/ce0f8cf3cfd8d58661d82cfe29288323 to your computer and use it in GitHub Desktop.
eslintrc for sysvale_projects
{
"extends": ["plugin:vue/recommended", "airbnb-base"],
"parserOptions": {
"parser": "babel-eslint"
},
"settings": {
"import/resolver": {
"alias": {
"extensions": [
".js",
".vue",
".json"
],
"map": [
["@", "./resources/assets/js"]
]
}
}
},
"rules": {
"vue/html-indent": [
"error",
"tab",
{
"attribute": 1,
"closeBracket": 0,
"alignAttributesVertically": true,
"ignores": []
}
],
"vue/script-indent": [
"error",
"tab",
{
"baseIndent": 0,
"switchCase": 0,
"ignores": []
}
],
"vue/prop-name-casing": "off",
"import/no-extraneous-dependencies": "off",
"indent": ["error", "tab"],
"semi": ["error", "always"],
"no-else-return": "error",
"eol-last": ["error", "always"],
"no-tabs": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"camelcase": "off"
},
"globals": { "_": true }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment