eslint-plugin-zod-core 0.1.0 → 1.0.1
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 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
[issuesBadge]: https://img.shields.io/github/issues/marcalexiei/eslint-zod.svg?style=for-the-badge
|
|
18
18
|
[issuesURL]: https://github.com/marcalexiei/eslint-zod/issues
|
|
19
19
|
|
|
20
|
-
[ESLint](https://eslint.org) plugin that adds custom linting rules to enforce best practices when using [Zod Core](https://zod.dev) (`zod/v4/core`).
|
|
20
|
+
[ESLint](https://eslint.org) plugin that adds custom linting rules to enforce best practices when using [Zod Core](https://zod.dev/packages/core) (`zod/v4/core`).
|
|
21
21
|
|
|
22
22
|
It can also work with [Oxlint](https://oxc.rs/docs/guide/usage/linter.html)!\
|
|
23
23
|
Find out more about [Oxlint's `jsPLugins`](https://oxc.rs/docs/guide/usage/linter/js-plugins.html).
|
|
@@ -77,10 +77,7 @@ import { defineConfig } from 'eslint/config';
|
|
|
77
77
|
import eslint from '@eslint/js';
|
|
78
78
|
import eslintPluginZodCore from 'eslint-plugin-zod-core';
|
|
79
79
|
|
|
80
|
-
export default defineConfig(
|
|
81
|
-
eslint.configs.recommended,
|
|
82
|
-
eslintPluginZodCore.configs.recommended,
|
|
83
|
-
);
|
|
80
|
+
export default defineConfig(eslint.configs.recommended, eslintPluginZodCore.configs.recommended);
|
|
84
81
|
```
|
|
85
82
|
|
|
86
83
|
### Oxlint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-zod-core",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "ESLint plugin that adds custom linting rules to enforce best practices when using Zod core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@typescript-eslint/utils": "^8.57.0",
|
|
42
|
-
"@eslint-zod/utils": "1.0
|
|
42
|
+
"@eslint-zod/utils": "1.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@marcalexiei/prettier-config": "
|
|
46
|
-
"@typescript-eslint/rule-tester": "8.59.
|
|
45
|
+
"@marcalexiei/prettier-config": "2.0.0",
|
|
46
|
+
"@typescript-eslint/rule-tester": "8.59.3",
|
|
47
47
|
"dedent": "1.7.2",
|
|
48
48
|
"eslint-doc-generator": "3.3.2",
|
|
49
49
|
"prettier": "3.8.3",
|
|
50
|
-
"tsdown": "0.
|
|
51
|
-
"vitest": "4.1.
|
|
50
|
+
"tsdown": "0.22.0",
|
|
51
|
+
"vitest": "4.1.6"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"eslint": "^9 || ^10",
|