This commit is contained in:
Annika
2022-07-31 12:33:10 -06:00
commit 3eaefbf02a
58 changed files with 7540 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
const ALWAYS = 'always'
const NEVER = 'never'
const ERROR = 2
const WARN = 1
const OFF = 0
const PROD = process.env.NODE_ENV === 'production'
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-strongly-recommended',
'@vue/standard'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-unused-vars': PROD ? ERROR : WARN,
'no-console': PROD ? ERROR : WARN,
'no-debugger': PROD ? ERROR : WARN,
'space-before-function-paren': [WARN, NEVER],
'vue/max-attributes-per-line': [ERROR, {
singleline: 5,
multiline: {
max: 1,
allowFirstLine: true
}
}],
'vue/html-self-closing': OFF
}
}