File tree 2 files changed +30
-34
lines changed
2 files changed +30
-34
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "root" : true ,
3
+ "env" : {
4
+ "browser" : true ,
5
+ "node" : true
6
+ },
7
+ "ignorePatterns" : [" common/**/*" ],
8
+ "extends" : [
9
+ " plugin:vue/vue3-recommended" ,
10
+ " plugin:vue-scoped-css/vue3-recommended" ,
11
+ " @nuxt/eslint-config" ,
12
+ " eslint:recommended" ,
13
+ " plugin:prettier/recommended"
14
+ ],
15
+ "rules" : {
16
+ "no-undef" : " off" ,
17
+ "no-console" : " off" ,
18
+ "prettier/prettier" : " error" ,
19
+ "prefer-const" : " error" ,
20
+ "vue/multi-word-component-names" : " off" ,
21
+ "local-rules/matching-translation-keys" : [
22
+ " error" ,
23
+ {
24
+ "ignoreKeysRegex" : " ^(global|entity|contentNode\\ .[a-z][a-zA-Z]+|print\\ .(global|activity|cover|picasso|program|story|toc))\\ ..+" ,
25
+ "translationKeyPropRegex" : " [a-zA-Z0-9]-i18n-key$"
26
+ }
27
+ ]
28
+ },
29
+ "plugins" : [" eslint-plugin-local-rules" ]
30
+ }
Original file line number Diff line number Diff line change 55
55
"vitest" : " 2.0.5" ,
56
56
"vite-svg-loader" : " 5.1.0" ,
57
57
"vue" : " 3.4.37"
58
- },
59
- "eslintConfig" : {
60
- "root" : true ,
61
- "env" : {
62
- "browser" : true ,
63
- "node" : true
64
- },
65
- "ignorePatterns" : [
66
- " common/**/*"
67
- ],
68
- "extends" : [
69
- " plugin:vue/vue3-recommended" ,
70
- " plugin:vue-scoped-css/vue3-recommended" ,
71
- " @nuxt/eslint-config" ,
72
- " eslint:recommended" ,
73
- " plugin:prettier/recommended"
74
- ],
75
- "rules" : {
76
- "no-undef" : " off" ,
77
- "no-console" : " off" ,
78
- "prettier/prettier" : " error" ,
79
- "prefer-const" : " error" ,
80
- "vue/multi-word-component-names" : " off" ,
81
- "local-rules/matching-translation-keys" : [
82
- " error" ,
83
- {
84
- "ignoreKeysRegex" : " ^(global|entity|contentNode\\ .[a-z][a-zA-Z]+|print\\ .(global|activity|cover|picasso|program|story|toc))\\ ..+" ,
85
- "translationKeyPropRegex" : " [a-zA-Z0-9]-i18n-key$"
86
- }
87
- ]
88
- },
89
- "plugins" : [
90
- " eslint-plugin-local-rules"
91
- ]
92
58
}
93
59
}
You can’t perform that action at this time.
0 commit comments