We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad9daa commit 89a0cf8Copy full SHA for 89a0cf8
src/sg/rules/jsx-directive/pascal-case.yml
@@ -15,32 +15,4 @@ transform:
15
source: $A
16
toCase: pascalCase
17
separatedBy: [dash]
18
-fix:
19
- $B
20
-
21
----
22
23
-id: v-pascal-case for attributeName
24
-language: tsx
25
-rule:
26
- any:
27
- - kind: property_identifier
28
- pattern: $A
29
- regex: ^[^v]-
30
- - kind: identifier
31
32
- regex: '-'
33
- follows:
34
- kind: identifier
35
- stopBy: end
36
- inside:
37
- kind: jsx_namespace_name
38
39
-transform:
40
- B:
41
- convert:
42
- source: $A
43
- toCase: camelCase
44
- separatedBy: [dash]
45
46
+fix: $B
0 commit comments