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:
@@ -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",
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user