ultracite 3.9.2 → 3.9.4
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 +2 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ Ultracite is designed to be used with [VS Code](https://code.visualstudio.com/),
|
|
|
78
78
|
"[typescriptreact]": {
|
|
79
79
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
80
80
|
},
|
|
81
|
-
"eslint.
|
|
81
|
+
"eslint.useFlatConfig": true,
|
|
82
82
|
"eslint.options": {
|
|
83
83
|
"overrideConfigFile": "eslint.config.mjs"
|
|
84
84
|
},
|
|
@@ -86,10 +86,6 @@ Ultracite is designed to be used with [VS Code](https://code.visualstudio.com/),
|
|
|
86
86
|
}
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
<!-- prettier-ignore -->
|
|
90
|
-
> [!NOTE]
|
|
91
|
-
> If you are using the pre-release version of the ESLint extension, you can use `eslint.useFlatConfig` instead of `eslint.experimental.useFlatConfig`.
|
|
92
|
-
|
|
93
89
|
Lastly, ensure your `tsconfig.json` (if it exists) includes your new ESLint config and that `strictNullChecks` is enabled.
|
|
94
90
|
|
|
95
91
|
```json
|
|
@@ -117,7 +113,7 @@ for (const config of ultracite) {
|
|
|
117
113
|
config.ignores.push('./components/ui/**/*');
|
|
118
114
|
}
|
|
119
115
|
|
|
120
|
-
export { default } from ultracite;
|
|
116
|
+
export { default } from 'ultracite';
|
|
121
117
|
```
|
|
122
118
|
|
|
123
119
|
Ultracite also lints the browser compatibility of your code. You can specify which polyfills exist in your project by modifying your `eslint.config.mjs` file. For example, here's how you can add polyfills for Next.js:
|
package/package.json
CHANGED