Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lloydjatkinson/fc65781d0e2b70ee03932d8facd64689 to your computer and use it in GitHub Desktop.
Save lloydjatkinson/fc65781d0e2b70ee03932d8facd64689 to your computer and use it in GitHub Desktop.
/* eslint-disable quote-props */
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/base',
'plugin:vue/vue3-essential',
'plugin:vue/vue3-recommended',
'plugin:vue/vue3-strongly-recommended',
'@vue/typescript/recommended',
'@vue/airbnb',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'object-shorthand': ['error', 'always'],
indent: ['error', 4],
'linebreak-style': 'off',
'eol-last': ['error', 'never'],
'max-len': ['error', { code: 450 }],
'space-before-function-paren': ['error', 'always'],
'vue/html-indent': ['error', 4, {
attribute: 1,
closeBracket: 0,
alignAttributesVertically: true,
ignores: [],
}],
'vue/html-closing-bracket-newline': ['error', {
singleline: 'never',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment