Skip to content

Commit f4adb0a

Browse files
committed
Fix dangling comma lint errors
1 parent 7c5b077 commit f4adb0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const factory = ({
149149
preprocessValues = false,
150150
importsAsModuleRequests = false,
151151
replaceInSelectors = false,
152-
atRules = ['media']
152+
atRules = ['media'],
153153
} = {}) => ({
154154
postcssPlugin: PLUGIN,
155155
prepare(rootResult) {

index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ test('should replace inside media queries when it is specified as a custom at-ru
276276
t,
277277
'@value base: 10px;\n@media (min-width: calc(base * 200)) {}',
278278
'@value base: 10px;\n@media (min-width: calc(10px * 200)) {}',
279-
{ atRules: ['media'] }
279+
{ atRules: ['media'] },
280280
);
281281
});
282282

@@ -285,7 +285,7 @@ test('should replace inside media and container queries when they are specified
285285
t,
286286
'@value base: 10px;\n@media (min-width: calc(base * 200)) {}\n@container (min-width: calc(base * 200)) {}',
287287
'@value base: 10px;\n@media (min-width: calc(10px * 200)) {}\n@container (min-width: calc(10px * 200)) {}',
288-
{ atRules: ['media', 'container'] }
288+
{ atRules: ['media', 'container'] },
289289
);
290290
});
291291

0 commit comments

Comments
 (0)