File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ export default [
8
8
// Base ESLint recommended rules
9
9
js . configs . recommended ,
10
10
11
+ // Prettier configuration to disable conflicting rules
12
+ {
13
+ rules : {
14
+ ...prettierConfig . rules ,
15
+ 'unicode-bom' : 'off'
16
+ }
17
+ } ,
18
+
11
19
// Vue plugin configuration
12
20
{
13
21
files : [ '**/*.vue' ] ,
@@ -26,9 +34,12 @@ export default [
26
34
...vue . configs . base . rules ,
27
35
...vue . configs [ 'vue3-recommended' ] . rules ,
28
36
37
+ '@stylistic/js/indent' : 'off' ,
38
+ '@stylistic/js/quotes' : 'off' ,
39
+
29
40
// Disable specific Vue rules
30
41
'vue/no-v-html' : 'off' ,
31
- 'vue/comment-directive' : 'off' // Previously disabled
42
+ 'vue/comment-directive' : 'off'
32
43
33
44
// You can add other Vue-specific rules here
34
45
}
@@ -43,14 +54,7 @@ export default [
43
54
}
44
55
} ,
45
56
46
- // Prettier configuration to disable conflicting rules
47
- {
48
- rules : {
49
- ...prettierConfig . rules
50
- }
51
- } ,
52
-
53
- // Custom rules and environment settings
57
+ // Custom rules (if any)
54
58
{
55
59
languageOptions : {
56
60
globals : {
You can’t perform that action at this time.
0 commit comments