We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78cb73b commit dad1882Copy full SHA for dad1882
eslint.config.mjs
@@ -17,6 +17,10 @@ export default defineConfig([
17
ignores: ["os.availableParallelism"],
18
},
19
],
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",
24
25
26
]);
src/utils.js
@@ -120,7 +120,6 @@ async function cssnanoMinify(
120
/** @type {ProcessOptions} */
121
const postcssOptions = {
122
from: name,
123
- // eslint-disable-next-line unicorn/no-useless-fallback-in-spread
124
...(minimizerOptions.processorOptions || {}),
125
};
126
0 commit comments