You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.8 KiB
67 lines
1.8 KiB
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"vue/setup-compiler-macros": true,
|
|
"es2021": true
|
|
},
|
|
"globals": {
|
|
"defineEmits": "readonly",
|
|
"defineProps": "readonly",
|
|
"defineExpose": "readonly"
|
|
},
|
|
"parser": "vue-eslint-parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:vue/vue3-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended",
|
|
"prettier",
|
|
"./.eslintrc-auto-import.json"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"parser": "@typescript-eslint/parser",
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"plugins": ["vue", "@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"no-explicit-any": "off",
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-use-before-define": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"no-var": "error",
|
|
"prettier/prettier": "error",
|
|
"vue/multi-word-component-names": 0,
|
|
"camelcase": 2,
|
|
"consistent-this": [2, "that"],
|
|
"eqeqeq": 2,
|
|
"no-await-in-loop": 0,
|
|
"consistent-return": 0,
|
|
"no-plusplus": 0,
|
|
"no-unused-expressions": 0,
|
|
"operator-linebreak": 0,
|
|
"comma-dangle": [
|
|
2,
|
|
{
|
|
"arrays": "ignore",
|
|
"objects": "ignore",
|
|
"imports": "never",
|
|
"exports": "never",
|
|
"functions": "ignore"
|
|
}
|
|
]
|
|
}
|
|
}
|