Skip to content

Commit 62946f3

Browse files
committed
chore: get rid of .js files
1 parent d082bbd commit 62946f3

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

.eslintrc.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

.eslintrc.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)