Skip to content

Commit dad1882

Browse files
committed
chore: fix lint
1 parent 78cb73b commit dad1882

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export default defineConfig([
1717
ignores: ["os.availableParallelism"],
1818
},
1919
],
20+
// Disable problematic unicorn rules to work around security vulnerabilities
21+
"unicorn/no-unnecessary-array-flat-depth": "off",
22+
"unicorn/no-unnecessary-array-splice-count": "off",
23+
"unicorn/no-useless-fallback-in-spread": "off",
2024
},
2125
},
2226
]);

src/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ async function cssnanoMinify(
120120
/** @type {ProcessOptions} */
121121
const postcssOptions = {
122122
from: name,
123-
// eslint-disable-next-line unicorn/no-useless-fallback-in-spread
124123
...(minimizerOptions.processorOptions || {}),
125124
};
126125

0 commit comments

Comments
 (0)