@comment-labs/oxlint-config 1.0.0-beta.9 → 1.0.2
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 +11 -0
- package/dist/index.d.mts +0 -1
- package/dist/index.mjs +374 -225
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/i18next.d.mts +13 -2
- package/dist/plugins/i18next.mjs +899 -2
- package/dist/plugins/i18next.mjs.map +1 -0
- package/dist/plugins/labs.d.mts +1 -1
- package/dist/plugins/labs.mjs +42 -35
- package/dist/plugins/labs.mjs.map +1 -1
- package/package.json +21 -20
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ Create an `oxlint.config.ts` file in your project root:
|
|
|
16
16
|
import { defineConfig } from 'oxlint'
|
|
17
17
|
import { config } from '@comment-labs/oxlint-config'
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
export default defineConfig(config)
|
|
20
21
|
```
|
|
21
22
|
|
|
@@ -26,6 +27,16 @@ export default defineConfig(config)
|
|
|
26
27
|
- Vitest compatibility
|
|
27
28
|
- Optimized for correctness and performance
|
|
28
29
|
|
|
30
|
+
Add a lint script to `package.json`:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"scripts": {
|
|
35
|
+
"lint": "oxlint"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
29
40
|
## License
|
|
30
41
|
|
|
31
42
|
[Apache-2.0](https://github.com/comment-team/comment-labs/blob/main/LICENSE)
|