Created
July 7, 2017 03:42
-
-
Save mubaidr/77e9062ae266402541bd9069cc7a16fd 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
{ | |
"root": true, | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"extends": [ | |
"standard", | |
"plugin:vue/recommended" | |
], | |
"settings": { | |
"html/html-extensions": [ | |
".html" | |
], | |
"html/report-bad-indent": "error" | |
}, | |
"plugins": [ | |
"html" | |
], | |
"rules": { | |
"no-console": "warn", | |
"space-before-function-paren": "error", | |
"no-extra-semi": "error", | |
"no-unused-vars": "error", | |
"no-multiple-empty-lines": [2, { | |
"max": 1 | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment