Skip to content

Commit ac78eb2

Browse files
committed
workflow: modify eslint rules
1 parent 4f1023a commit ac78eb2

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.eslintrc.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* 搭建 eslint:
2+
* Setup eslint:
33
* 1. pnpm add husky lint-staged eslint @antfu/eslint-config -D
44
* 2. npx husky install
55
*/
@@ -22,6 +22,17 @@
2222
"vue/attribute-hyphenation": 0,
2323
"curly": 0,
2424
"brace-style": 0,
25-
"@typescript-eslint/brace-style": 0
26-
}
25+
"@typescript-eslint/brace-style": 0,
26+
"vue/no-deprecated-dollar-listeners-api": 0,
27+
"vue/component-options-name-casing": 0,
28+
"vue/custom-event-name-casing": [
29+
"error",
30+
"kebab-case"
31+
],
32+
"no-console": 0
33+
},
34+
"ignorePatterns": [
35+
"**/*.css",
36+
"**/*.scss"
37+
]
2738
}

0 commit comments

Comments
 (0)