Created
June 12, 2018 08:51
-
-
Save Dpblandin/5e0f32428ea7090cf0a5eedafb1be2b2 to your computer and use it in GitHub Desktop.
eslint config file with vuejs
This file contains 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
Show hidden characters
{ | |
"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