Created
September 21, 2017 19:36
-
-
Save BPagoaga/4cc59e9ac89a54ef1e16b0e7f6c042d2 to your computer and use it in GitHub Desktop.
Eslint config
This file contains hidden or 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
// http://eslint.org/docs/user-guide/configuring | |
module.exports = { | |
root: true, | |
parser: "babel-eslint", | |
parserOptions: { | |
sourceType: "module" | |
}, | |
env: { | |
browser: true | |
}, | |
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | |
extends: "prettier", | |
// required to lint *.vue files | |
plugins: ["html", "prettier"], | |
// add your custom rules here | |
rules: { | |
"prettier/prettier": "error" | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment