2020-04-30 17:48:53 +02:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"standard",
|
2022-04-12 17:04:11 +02:00
|
|
|
"plugin:@typescript-eslint/recommended",
|
2022-04-21 14:39:24 +02:00
|
|
|
"plugin:vue/vue3-recommended"
|
2020-04-30 17:48:53 +02:00
|
|
|
],
|
2022-04-12 17:04:11 +02:00
|
|
|
"parser": "vue-eslint-parser",
|
2020-04-30 17:48:53 +02:00
|
|
|
"parserOptions": {
|
2022-04-12 17:04:11 +02:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2020-05-07 17:45:04 +02:00
|
|
|
"ecmaVersion": 9,
|
2021-04-28 12:11:39 +02:00
|
|
|
"sourceType": "module",
|
|
|
|
"requireConfigFile": false
|
2020-04-30 17:48:53 +02:00
|
|
|
},
|
2022-04-12 17:04:11 +02:00
|
|
|
"plugins": [
|
2022-04-21 14:39:24 +02:00
|
|
|
"vue",
|
2023-08-18 15:57:31 +02:00
|
|
|
"@typescript-eslint",
|
|
|
|
"simple-import-sort"
|
2022-04-12 17:04:11 +02:00
|
|
|
],
|
2020-04-30 17:48:53 +02:00
|
|
|
"rules": {
|
2022-04-12 17:04:11 +02:00
|
|
|
"space-infix-ops": "off",
|
|
|
|
"object-curly-newline": "off",
|
2020-04-30 17:48:53 +02:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
3,
|
2021-04-28 12:11:39 +02:00
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
2020-04-30 17:48:53 +02:00
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
2020-09-17 18:15:48 +02:00
|
|
|
"unix"
|
2020-04-30 17:48:53 +02:00
|
|
|
],
|
|
|
|
"brace-style": [
|
2021-04-28 12:11:39 +02:00
|
|
|
"error",
|
2020-04-30 17:48:53 +02:00
|
|
|
"stroustrup"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"curly": [
|
2021-04-28 12:11:39 +02:00
|
|
|
"error",
|
2020-04-30 17:48:53 +02:00
|
|
|
"multi-or-nest"
|
|
|
|
],
|
|
|
|
"no-console": "off",
|
|
|
|
"no-undef": "off",
|
|
|
|
"vue/no-side-effects-in-computed-properties": "off",
|
2021-11-02 21:51:53 +01:00
|
|
|
"vue/multi-word-component-names": "off",
|
2020-04-30 17:48:53 +02:00
|
|
|
"vue/require-default-prop": "off",
|
2021-10-31 10:36:45 +01:00
|
|
|
"vue/comment-directive": "off",
|
2020-04-30 17:48:53 +02:00
|
|
|
"vue/no-v-html": "off",
|
2021-04-28 12:11:39 +02:00
|
|
|
"vue/html-indent": [
|
|
|
|
"error",
|
|
|
|
3,
|
|
|
|
{
|
|
|
|
"attribute": 1,
|
|
|
|
"baseIndent": 1,
|
|
|
|
"closeBracket": 0,
|
|
|
|
"ignores": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"vue/max-attributes-per-line": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-11-02 21:51:53 +01:00
|
|
|
"singleline": {
|
|
|
|
"max": 2
|
|
|
|
},
|
2021-04-28 12:11:39 +02:00
|
|
|
"multiline": {
|
2021-11-02 21:51:53 +01:00
|
|
|
"max": 1
|
2021-04-28 12:11:39 +02:00
|
|
|
}
|
2020-04-30 17:48:53 +02:00
|
|
|
}
|
2022-04-12 17:04:11 +02:00
|
|
|
],
|
|
|
|
"@typescript-eslint/member-delimiter-style": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"multiline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": true
|
|
|
|
},
|
|
|
|
"singleline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-08-18 15:57:31 +02:00
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
|
|
"simple-import-sort/imports": "error",
|
|
|
|
"simple-import-sort/exports": "error"
|
2020-04-30 17:48:53 +02:00
|
|
|
}
|
|
|
|
}
|