Skip to content

Instantly share code, notes, and snippets.

@BPagoaga
Created September 21, 2017 19:36
Show Gist options
  • Save BPagoaga/4cc59e9ac89a54ef1e16b0e7f6c042d2 to your computer and use it in GitHub Desktop.
Save BPagoaga/4cc59e9ac89a54ef1e16b0e7f6c042d2 to your computer and use it in GitHub Desktop.
Eslint config
// 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