1
1
mirror of https://github.com/Fabio286/antares.git synced 2024-12-12 16:56:18 +01:00
antares/.eslintrc

96 lines
2.2 KiB
Plaintext
Raw 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",
2022-04-12 17:04:11 +02:00
"@typescript-eslint"
],
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"
2020-04-30 17:48:53 +02:00
}
}