-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy path.cursorrules
55 lines (55 loc) · 1.34 KB
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"projectName": "FluentRead",
"description": "一款高效的浏览器翻译插件,支持多种翻译引擎和翻译模式",
"rules": {
"ignore": [
"node_modules",
"dist",
"*.log",
".git",
"*.zip",
"*.crx",
"*.xpi",
"misc",
".output",
"*.lock",
".DS_Store",
"coverage",
"temp"
],
"language": {
"typescript": {
"filePatterns": ["*.ts", "*.tsx"],
"tabSize": 2
},
"vue": {
"filePatterns": ["*.vue"],
"tabSize": 2
},
"css": {
"filePatterns": ["*.css"],
"tabSize": 2
}
},
"formatting": {
"useTabs": false,
"trimTrailingWhitespace": true,
"insertFinalNewline": true
},
"search": {
"excludePatterns": [
"node_modules/**",
"dist/**",
"misc/**",
".output/**",
"coverage/**",
"temp/**"
]
},
"build": {
"outDir": ".output",
"sourcemap": true,
"minify": true
}
}
}