2021-11-26 11:32:16 +08:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"eslint-config-airbnb-base",
|
|
|
|
"plugin:vue/vue3-recommended",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"jest": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"vue",
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"sourceType": "module",
|
|
|
|
"allowImportExportEverywhere": true,
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"import/extensions": [
|
|
|
|
".js",
|
|
|
|
".jsx",
|
|
|
|
".ts",
|
|
|
|
".tsx"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rules": {
|
2021-11-27 18:50:07 +08:00
|
|
|
"no-console": "off",
|
2021-11-26 11:32:16 +08:00
|
|
|
"no-continue": "off",
|
|
|
|
"no-restricted-syntax": "off",
|
2021-11-27 18:50:07 +08:00
|
|
|
"no-plusplus": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-shadow": "off",
|
2021-11-26 11:32:16 +08:00
|
|
|
"guard-for-in": "off",
|
2021-11-27 18:50:07 +08:00
|
|
|
|
|
|
|
"import/extensions": "off",
|
|
|
|
"import/no-unresolved": "off",
|
2021-11-26 11:32:16 +08:00
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"import/prefer-default-export": "off",
|
2021-11-27 18:50:07 +08:00
|
|
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
2021-11-26 11:32:16 +08:00
|
|
|
}
|
|
|
|
}
|