We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d082bbd commit 62946f3Copy full SHA for 62946f3
.eslintrc.js
.eslintrc.json
@@ -0,0 +1,27 @@
1
+/**
2
+ * 搭建 eslint:
3
+ * 1. pnpm add husky lint-staged eslint @antfu/eslint-config -D
4
+ * 2. npx husky install
5
+ */
6
+{
7
+ "extends": "@antfu",
8
+ "rules": {
9
+ "vue/component-tags-order": [
10
+ "error",
11
+ {
12
+ "order": [
13
+ [
14
+ "script",
15
+ "template"
16
+ ],
17
+ "style"
18
+ ]
19
+ }
20
21
+ "vue/no-deprecated-v-bind-sync": 0,
22
+ "vue/attribute-hyphenation": 0,
23
+ "curly": 0,
24
+ "brace-style": 0,
25
+ "@typescript-eslint/brace-style": 0
26
27
+}
0 commit comments