antares/.eslintrc

99 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

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,
"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",
"@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,
{
"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": [
"error",
2020-04-30 17:48:53 +02:00
"stroustrup"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"curly": [
"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",
"vue/multi-word-component-names": "off",
2020-04-30 17:48:53 +02:00
"vue/require-default-prop": "off",
"vue/comment-directive": "off",
2020-04-30 17:48:53 +02:00
"vue/no-v-html": "off",
"vue/html-indent": [
"error",
3,
{
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0,
"ignores": []
}
],
"vue/max-attributes-per-line": [
"error",
{
"singleline": {
"max": 2
},
"multiline": {
"max": 1
}
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
}
}
],
"@typescript-eslint/no-var-requires": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
2020-04-30 17:48:53 +02:00
}
}