@jarsec/eslint-config 6.3.0 → 6.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 6.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9971bf1: Migrate `tseslint.config()` to eslint's built-in `defineConfig`
8
+
9
+ ### Patch Changes
10
+
11
+ - 03d3594: chore(deps): update dependency eslint-plugin-n to ^17.23.1
12
+ - 6bd3a5e: chore(deps): update dependency typescript to ^5.9.2
13
+ - f6ec699: chore(deps): update eslint monorepo to ^9.39.1
14
+ - 88b4269: chore(deps): update dependency typescript to ^5.9.3
15
+ - 847ac77: chore(deps): update dependency globals to ^16.5.0
16
+ - c0e0cbd: chore(deps): update dependency eslint-plugin-unicorn to v62
17
+ - f6e5d54: chore(deps): update eslint monorepo to ^9.34.0
18
+ - ac491c7: chore(deps): update dependency typescript-eslint to ^8.42.0
19
+ - 137a191: chore(deps): update dependency typescript-eslint to ^8.49.0
20
+
3
21
  ## 6.3.0
4
22
 
5
23
  ### Minor Changes
package/configs/base.mjs CHANGED
@@ -5,9 +5,10 @@ import stylistic from '@stylistic/eslint-plugin';
5
5
  import nodePlugin from 'eslint-plugin-n';
6
6
  import perfectionist from 'eslint-plugin-perfectionist';
7
7
  import unicorn from 'eslint-plugin-unicorn';
8
+ import { defineConfig } from 'eslint/config';
8
9
  import tseslint from 'typescript-eslint';
9
10
 
10
- export default tseslint.config(
11
+ export default defineConfig([
11
12
  eslint.configs.recommended,
12
13
  ...tseslint.configs.recommended,
13
14
  ...tseslint.configs.stylistic,
@@ -57,4 +58,4 @@ export default tseslint.config(
57
58
  'n/no-unpublished-import': 'off',
58
59
  },
59
60
  },
60
- );
61
+ ]);
package/configs/react.mjs CHANGED
@@ -4,12 +4,13 @@ import js from '@eslint/js';
4
4
  import eslintConfigPrettier from 'eslint-config-prettier';
5
5
  import reactPlugin from 'eslint-plugin-react';
6
6
  import hooksPlugin from 'eslint-plugin-react-hooks';
7
+ import { defineConfig } from 'eslint/config';
7
8
  import globals from 'globals';
8
9
  import tseslint from 'typescript-eslint';
9
10
 
10
11
  import baseConfig from './base.mjs';
11
12
 
12
- export default tseslint.config(
13
+ export default defineConfig([
13
14
  ...baseConfig,
14
15
  js.configs.recommended,
15
16
  eslintConfigPrettier,
@@ -35,4 +36,4 @@ export default tseslint.config(
35
36
  },
36
37
  settings: { react: { version: 'detect' } },
37
38
  },
38
- );
39
+ ]);
package/package.json CHANGED
@@ -1,31 +1,37 @@
1
1
  {
2
2
  "name": "@jarsec/eslint-config",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/jsec/code-quality-tools.git",
10
+ "directory": "packages/eslint-config"
11
+ },
7
12
  "publishConfig": {
8
- "access": "public"
13
+ "access": "public",
14
+ "provenance": true
9
15
  },
10
16
  "exports": {
11
17
  ".": "./configs/base.mjs",
12
18
  "./react": "./configs/react.mjs"
13
19
  },
14
20
  "dependencies": {
15
- "@eslint/js": "^9.32.0",
21
+ "@eslint/js": "^9.39.1",
16
22
  "@stylistic/eslint-plugin": "^4.4.1",
17
- "eslint-plugin-n": "^17.21.3",
18
- "eslint-plugin-perfectionist": "^4.15.0",
23
+ "eslint": "^9.39.1",
24
+ "eslint-plugin-n": "^17.23.1",
25
+ "eslint-plugin-perfectionist": "^4.15.1",
19
26
  "eslint-plugin-react": "^7.37.5",
20
27
  "eslint-plugin-react-hooks": "^5.2.0",
21
- "eslint-plugin-unicorn": "^59.0.1",
22
- "typescript-eslint": "^8.36.0"
28
+ "eslint-plugin-unicorn": "^62.0.0",
29
+ "globals": "^16.5.0",
30
+ "typescript-eslint": "^8.49.0"
23
31
  },
24
32
  "devDependencies": {
25
- "@types/node": "^22.16.0",
26
- "eslint": "^9.32.0",
27
- "globals": "^16.3.0",
28
- "typescript": "^5.8.3"
33
+ "@types/node": "^22.19.1",
34
+ "typescript": "^5.9.3"
29
35
  },
30
36
  "peerDependencies": {
31
37
  "eslint": "^9.13.0",