ultracite 3.9.7 → 3.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,8 +109,9 @@ You can opt-out of certain rules by modifying your `eslint.config.mjs` file. For
|
|
|
109
109
|
import ultracite from 'ultracite';
|
|
110
110
|
|
|
111
111
|
for (const config of ultracite) {
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
if (config.ignores) {
|
|
113
|
+
config.ignores.push('./components/ui/**/*');
|
|
114
|
+
}
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
export { default } from 'ultracite';
|
|
@@ -122,8 +123,8 @@ Ultracite also lints the browser compatibility of your code. You can specify whi
|
|
|
122
123
|
import ultracite from 'ultracite';
|
|
123
124
|
|
|
124
125
|
for (const config of ultracite) {
|
|
125
|
-
config.settings
|
|
126
|
-
config.settings.polyfills
|
|
126
|
+
config.settings ||= {};
|
|
127
|
+
config.settings.polyfills ||= [];
|
|
127
128
|
|
|
128
129
|
config.settings.polyfills.push(
|
|
129
130
|
// These are from Next.js - https://nextjs.org/docs/architecture/supported-browsers#polyfills
|
package/package.json
CHANGED