eslint-config-seek 14.6.0 → 14.7.0

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/base.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import type { Config } from 'eslint/config';
2
+
3
+ declare const config: Config[];
4
+ export = config;
package/base.js CHANGED
@@ -4,6 +4,7 @@ const jestPlugin = require('eslint-plugin-jest');
4
4
  const cypress = require('eslint-plugin-cypress');
5
5
  const eslintConfigPrettier = require('eslint-config-prettier');
6
6
  const tseslint = require('typescript-eslint');
7
+ const importZod = require('eslint-plugin-import-zod');
7
8
 
8
9
  const OFF = 0;
9
10
  const WARN = 1;
@@ -289,4 +290,8 @@ module.exports = [
289
290
  ...cypress.configs.recommended,
290
291
  files: [`**/cypress/**/*.{${allExtensions}}`],
291
292
  },
293
+ ...importZod.configs.recommended.map((config) => ({
294
+ ...config,
295
+ files: [`**/*.{${tsExtensions}}`],
296
+ })),
292
297
  ];
@@ -0,0 +1,2 @@
1
+ export const js: string[];
2
+ export const ts: string[];
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import type { Config } from 'eslint/config';
2
+
3
+ declare const config: Config[];
4
+ export = config;
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "eslint-config-seek",
3
- "version": "14.6.0",
3
+ "version": "14.7.0",
4
4
  "description": "ESLint configuration used by SEEK",
5
5
  "main": "index.js",
6
+ "types": "index.d.ts",
6
7
  "files": [
7
8
  "index.js",
9
+ "index.d.ts",
8
10
  "base.js",
9
- "extensions.js"
11
+ "base.d.ts",
12
+ "extensions.js",
13
+ "extensions.d.ts"
10
14
  ],
11
15
  "repository": {
12
16
  "type": "git",
@@ -19,22 +23,24 @@
19
23
  },
20
24
  "homepage": "https://github.com/seek-oss/eslint-config-seek#readme",
21
25
  "dependencies": {
22
- "typescript-eslint": "^8.6.0",
23
26
  "eslint-config-prettier": "^10.0.0",
24
27
  "eslint-import-resolver-typescript": "^4.0.0",
25
28
  "eslint-plugin-cypress": "^5.0.0",
26
29
  "eslint-plugin-import-x": "^4.9.0",
30
+ "eslint-plugin-import-zod": "^1.2.0",
27
31
  "eslint-plugin-jest": "^29.0.0",
28
32
  "eslint-plugin-react": "^7.35.0",
29
33
  "eslint-plugin-react-hooks": "^5.0.0",
30
- "globals": "^16.0.0"
34
+ "globals": "^16.0.0",
35
+ "typescript-eslint": "^8.6.0"
31
36
  },
32
37
  "devDependencies": {
33
38
  "@changesets/cli": "^2.27.7",
34
39
  "@changesets/get-github-info": "^0.6.0",
40
+ "@tsconfig/node22": "^22.0.2",
35
41
  "eslint": "^9.8.0",
36
42
  "prettier": "^3.3.3",
37
- "typescript": "~5.8.0"
43
+ "typescript": "~5.9.0"
38
44
  },
39
45
  "peerDependencies": {
40
46
  "eslint": ">=9.9.1",
@@ -43,9 +49,6 @@
43
49
  "engines": {
44
50
  "node": ">=18.18.0"
45
51
  },
46
- "volta": {
47
- "node": "22.18.0"
48
- },
49
52
  "scripts": {
50
53
  "release": "changeset publish",
51
54
  "test": "eslint --config index.js . && eslint --config base.js .",