@@ -6,135 +6,158 @@ source: crates/oxc_linter/src/tester.rs
6
6
1 │ " UTF-8"
7
7
· ───────
8
8
╰────
9
+ help : Replace ` UTF-8` with ` utf8` .
9
10
10
11
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` utf-8` .
11
12
╭─[text_encoding_identifier_case .tsx :1 :1 ]
12
13
1 │ " utf-8"
13
14
· ───────
14
15
╰────
16
+ help : Replace ` utf-8` with ` utf8` .
15
17
16
18
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` utf-8` .
17
19
╭─[text_encoding_identifier_case .tsx :1 :1 ]
18
20
1 │ ' utf-8'
19
21
· ───────
20
22
╰────
23
+ help : Replace ` utf-8` with ` utf8` .
21
24
22
25
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` Utf8` .
23
26
╭─[text_encoding_identifier_case .tsx :1 :1 ]
24
27
1 │ " Utf8"
25
28
· ──────
26
29
╰────
30
+ help : Replace ` Utf8` with ` utf8` .
27
31
28
32
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` ascii` over ` ASCII` .
29
33
╭─[text_encoding_identifier_case .tsx :1 :1 ]
30
34
1 │ " ASCII"
31
35
· ───────
32
36
╰────
37
+ help : Replace ` ASCII` with ` ascii` .
33
38
34
39
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
35
40
╭─[text_encoding_identifier_case .tsx :1 :21 ]
36
41
1 │ fs .readFile ? .(file , " UTF-8" )
37
42
· ───────
38
43
╰────
44
+ help : Replace ` UTF-8` with ` utf8` .
39
45
40
46
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
41
47
╭─[text_encoding_identifier_case .tsx :1 :20 ]
42
48
1 │ fs ? .readFile (file , " UTF-8" )
43
49
· ───────
44
50
╰────
51
+ help : Replace ` UTF-8` with ` utf8` .
45
52
46
53
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
47
54
╭─[text_encoding_identifier_case .tsx :1 :16 ]
48
55
1 │ readFile (file , " UTF-8" )
49
56
· ───────
50
57
╰────
58
+ help : Replace ` UTF-8` with ` utf8` .
51
59
52
60
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
53
61
╭─[text_encoding_identifier_case .tsx :1 :22 ]
54
62
1 │ fs .readFile (... file , " UTF-8" )
55
63
· ───────
56
64
╰────
65
+ help : Replace ` UTF-8` with ` utf8` .
57
66
58
67
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
59
68
╭─[text_encoding_identifier_case .tsx :1 :23 ]
60
69
1 │ new fs .readFile (file , " UTF-8" )
61
70
· ───────
62
71
╰────
72
+ help : Replace ` UTF-8` with ` utf8` .
63
73
64
74
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
65
75
╭─[text_encoding_identifier_case .tsx :1 :30 ]
66
76
1 │ fs .readFile (file , {encoding: " UTF-8" })
67
77
· ───────
68
78
╰────
79
+ help : Replace ` UTF-8` with ` utf8` .
69
80
70
81
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
71
82
╭─[text_encoding_identifier_case .tsx :1 :13 ]
72
83
1 │ fs .readFile (" UTF-8" )
73
84
· ───────
74
85
╰────
86
+ help : Replace ` UTF-8` with ` utf8` .
75
87
76
88
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
77
89
╭─[text_encoding_identifier_case .tsx :1 :19 ]
78
90
1 │ fs .readFile (file , " UTF-8" , () => {})
79
91
· ───────
80
92
╰────
93
+ help : Replace ` UTF-8` with ` utf8` .
81
94
82
95
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
83
96
╭─[text_encoding_identifier_case .tsx :1 :23 ]
84
97
1 │ fs .readFileSync (file , " UTF-8" )
85
98
· ───────
86
99
╰────
100
+ help : Replace ` UTF-8` with ` utf8` .
87
101
88
102
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
89
103
╭─[text_encoding_identifier_case .tsx :1 :20 ]
90
104
1 │ fs [readFile ](file , " UTF-8" )
91
105
· ───────
92
106
╰────
107
+ help : Replace ` UTF-8` with ` utf8` .
93
108
94
109
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
95
110
╭─[text_encoding_identifier_case .tsx :1 :22 ]
96
111
1 │ fs [" readFile" ](file , " UTF-8" )
97
112
· ───────
98
113
╰────
114
+ help : Replace ` UTF-8` with ` utf8` .
99
115
100
116
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
101
117
╭─[text_encoding_identifier_case .tsx :1 :25 ]
102
118
1 │ await fs .readFile (file , " UTF-8" ,)
103
119
· ───────
104
120
╰────
121
+ help : Replace ` UTF-8` with ` utf8` .
105
122
106
123
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
107
124
╭─[text_encoding_identifier_case .tsx :1 :28 ]
108
125
1 │ fs .promises .readFile (file , " UTF-8" ,)
109
126
· ───────
110
127
╰────
128
+ help : Replace ` UTF-8` with ` utf8` .
111
129
112
130
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` UTF-8` .
113
131
╭─[text_encoding_identifier_case .tsx :1 :25 ]
114
132
1 │ whatever .readFile (file , " UTF-8" ,)
115
133
· ───────
116
134
╰────
135
+ help : Replace ` UTF-8` with ` utf8` .
117
136
118
137
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` utf-8` .
119
138
╭─[text_encoding_identifier_case .tsx :1 :19 ]
120
139
1 │ < not - meta charset = " utf-8" / >
121
140
· ───────
122
141
╰────
142
+ help : Replace ` utf-8` with ` utf8` .
123
143
124
144
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` utf8` over ` utf-8` .
125
145
╭─[text_encoding_identifier_case .tsx :1 :19 ]
126
146
1 │ < meta not - charset = " utf-8" / >
127
147
· ───────
128
148
╰────
149
+ help : Replace ` utf-8` with ` utf8` .
129
150
130
151
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` ascii` over ` ASCII` .
131
152
╭─[text_encoding_identifier_case .tsx :1 :15 ]
132
153
1 │ < meta charset = " ASCII" / >
133
154
· ───────
134
155
╰────
156
+ help : Replace ` ASCII` with ` ascii` .
135
157
136
158
⚠ eslint - plugin - unicorn (text - encoding - identifier - case ): Prefer ` ascii` over ` ASCII` .
137
159
╭─[text_encoding_identifier_case .tsx :1 :15 ]
138
160
1 │ < META CHARSET = " ASCII" / >
139
161
· ───────
140
162
╰────
163
+ help : Replace ` ASCII` with ` ascii` .
0 commit comments