Skip to content

Instantly share code, notes, and snippets.

@tuhuynh27
Created April 17, 2019 10:55
Show Gist options
  • Save tuhuynh27/2eeedcd125bf342b2a8dec591caac32f to your computer and use it in GitHub Desktop.
Save tuhuynh27/2eeedcd125bf342b2a8dec591caac32f to your computer and use it in GitHub Desktop.
Vue Linter
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/standard"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
quotes: ["error", "double"],
semi: ["error", "always"],
"comma-dangle": ["error", "never"]
},
parserOptions: {
parser: "babel-eslint"
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment