Spookie/.eslintrc

65 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-05-06 13:52:18 +02:00
{
"extends": [
// add more generic rulesets here, such as:
"eslint:recommended",
"airbnb-base",
"plugin:vue/recommended"
],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"env": {
"es6": true,
2022-05-23 16:25:55 +02:00
"browser": true,
"vue/setup-compiler-macros": true
2022-05-06 13:52:18 +02:00
},
"rules": {
2022-05-11 14:48:04 +02:00
"semi": [
"error",
"never"
],
"vue/no-v-html": "off",
2022-05-06 13:52:18 +02:00
"vue/html-indent": [
"error",
"tab"
],
2022-05-23 16:25:55 +02:00
"vue/html-closing-bracket-spacing": [
"error",
{
"startTag": "never",
"endTag": "never",
"selfClosingTag": "never"
}
],
"vue/component-api-style": [
"error",
[
"script-setup",
"composition"
]
// "script-setup", "composition", "composition-vue2", or "options"
],
2022-05-06 13:52:18 +02:00
"indent": [
"error",
"tab"
],
"no-tabs": "off",
"comma-dangle": "off",
"no-alert": 0,
"no-unused-vars": "warn",
"spaced-comment": "off",
"no-param-reassign": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": [
"error",
{
// allow devDependencies for packages
"devDependencies": true
}
]
}
}