Skip to content

Commit 547d68f

Browse files
committed
chore: styling
1 parent 442c0ed commit 547d68f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/rules/prefer-to-have-style.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const create = (context) => {
170170
if (
171171
typeof styleValue.value !== "number" &&
172172
!(styleValue.value instanceof RegExp) &&
173-
styleName.type !== 'Identifier'
173+
styleName.type !== "Identifier"
174174
) {
175175
fix = (fixer) => {
176176
return [
@@ -209,7 +209,10 @@ export const create = (context) => {
209209

210210
let fix = null;
211211

212-
if (typeof styleName.value !== "number" && styleName.type !== 'Identifier') {
212+
if (
213+
typeof styleName.value !== "number" &&
214+
styleName.type !== "Identifier"
215+
) {
213216
fix = (fixer) => {
214217
return [
215218
fixer.removeRange([

0 commit comments

Comments
 (0)