Skip to content

Instantly share code, notes, and snippets.

@lionslair
Created February 7, 2022 00:08
Show Gist options
  • Save lionslair/8b295d5b126b1c0c1973490e5f1b6478 to your computer and use it in GitHub Desktop.
Save lionslair/8b295d5b126b1c0c1973490e5f1b6478 to your computer and use it in GitHub Desktop.
eslint rules
module.exports = {
extends: [
// add more generic rulesets here, such as:
// 'eslint:recommended',
"plugin:vue/base",
"plugin:vue/essential",
"plugin:vue/strongly-recommended",
"plugin:vue/recommended",
//"prettier/vue"
],
rules: {
"comma-dangle": ["error", {
"objects": "always-multiline",
"arrays": "always-multiline",
}],
"indent": [2, 2],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment