Created
January 11, 2019 06:01
-
-
Save yakubenko/ee5ea6a9384a49854a498508b3c76b66 to your computer and use it in GitHub Desktop.
ESLint config
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
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"parser": "babel-eslint" | |
}, | |
"extends": [ | |
"airbnb-base", | |
"plugin:vue/recommended" | |
], | |
"rules": { | |
"indent": [2, 4, {"SwitchCase": 1}], | |
"vue/html-indent": [2,4], | |
"vue/max-attributes-per-line": 4, | |
"vue/component-name-in-template-casing": ["warn", "kebab-case"], | |
"vue/html-closing-bracket-newline": "off", | |
"no-console":"off", | |
"comma-dangle":"off", | |
"max-len":["warn", 150], | |
"no-new":"off", | |
"no-param-reassign":"off", | |
"object-shorthand":"off", | |
"func-names":"off" | |
}, | |
"globals": { | |
"Vue": false, | |
"Vuex": false, | |
"VueRouter": false, | |
"VueI18n": false, | |
"messages": false, | |
"$": false, | |
"jQuery": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment