1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +08:00

Fixed eslint

This commit is contained in:
2023-05-02 00:00:29 +08:00
parent 4d96a70d6f
commit 836fb1561a
3 changed files with 1936 additions and 131 deletions

View File

@@ -1,5 +1,4 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
@@ -7,21 +6,28 @@ module.exports = {
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"standard-with-typescript",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier/skip-formatting"
"plugin:prettier/recommended"
],
overrides: [],
parserOptions: {
project: "./tsconfig*.json",
ecmaVersion: "latest",
project: "./tsconfig*.json"
sourceType: "module"
},
plugins: [
"vue"
"vue",
"prettier"
],
rules: {
"no-cond-assign": "error",
"indent": ["error", 4]
"eqeqeq": "error",
"indent": ["error", 4],
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
]
}
};