Skip to content

Commit d321dd5

Browse files
committed
Fix code formatting
1 parent 099ce57 commit d321dd5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ let nested = (opts = {}) => {
331331

332332
rule.each(child => {
333333
if (child.type === 'atrule') {
334-
[after, declarations] = pickAndClearDeclarations(
334+
;[after, declarations] = pickAndClearDeclarations(
335335
rule.selector,
336336
declarations,
337337
after
@@ -359,7 +359,7 @@ let nested = (opts = {}) => {
359359
declarations.push(child)
360360
}
361361
} else if (child.type === 'rule') {
362-
[after, declarations] = pickAndClearDeclarations(
362+
;[after, declarations] = pickAndClearDeclarations(
363363
rule.selector,
364364
declarations,
365365
after

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"sass"
1111
],
1212
"license": "MIT",
13-
"type": "module",
1413
"author": "Andrey Sitnik <andrey@sitnik.es>",
1514
"repository": "postcss/postcss-nested",
1615
"funding": [
@@ -23,6 +22,7 @@
2322
"url": "https://github.com/sponsors/ai"
2423
}
2524
],
25+
"type": "module",
2626
"scripts": {
2727
"test:coverage": "pnpm bnt --coverage 100",
2828
"test:lint": "oxlint",

0 commit comments

Comments
 (0)