Created
May 6, 2022 15:27
-
-
Save lloydjatkinson/fc65781d0e2b70ee03932d8facd64689 to your computer and use it in GitHub Desktop.
This file contains 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
/* 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