@skilbjo/config-rc 1.0.18 → 1.0.20

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/.eslintrc.cjs CHANGED
@@ -50,7 +50,10 @@ module.exports = {
50
50
  'import/no-duplicates': 2,
51
51
  'import/no-unresolved': 2,
52
52
  'import/order': 2,
53
+ 'n/hashbang': 'off',
54
+ 'n/no-extraneous-import': 'off',
53
55
  'n/no-missing-import': 'off', // conflicts with typescript absolute imports
56
+ 'n/no-process-exit': 'off',
54
57
  'n/no-unsupported-features/es-syntax': 'off',
55
58
  'n/shebang': 'off',
56
59
  'no-multiple-empty-lines': [2, { max: 1, maxEOF: 0 }],
package/.husky/commit-msg CHANGED
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx --no-install commitlint --edit $1
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v20
1
+ v22
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## [1.0.20](https://github.com/skilbjo/config-rc/compare/v1.0.19...v1.0.20) (2024-11-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update rules ([2f293ae](https://github.com/skilbjo/config-rc/commit/2f293aee25efa2485c3bf6738a6053232ddabd27))
7
+
8
+ ## [1.0.19](https://github.com/skilbjo/config-rc/compare/v1.0.18...v1.0.19) (2024-11-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps-dev:** bump @types/node from 22.7.4 to 22.7.7 ([#167](https://github.com/skilbjo/config-rc/issues/167)) ([5d1df81](https://github.com/skilbjo/config-rc/commit/5d1df81fbd3049ecd1dfeefe1a35a7b077eae5b8))
14
+ * **deps-dev:** bump @types/node from 22.7.7 to 22.8.7 ([#177](https://github.com/skilbjo/config-rc/issues/177)) ([aed6efd](https://github.com/skilbjo/config-rc/commit/aed6efd7f505952ba26cd0c02822802ed8982d8f))
15
+ * **deps-dev:** bump @types/node from 22.8.7 to 22.9.0 ([#181](https://github.com/skilbjo/config-rc/issues/181)) ([95a0188](https://github.com/skilbjo/config-rc/commit/95a01882b994655f74c892d2e5b660fa6d31d8c7))
16
+ * **deps:** bump @types/jest from 29.5.12 to 29.5.14 ([#172](https://github.com/skilbjo/config-rc/issues/172)) ([938153a](https://github.com/skilbjo/config-rc/commit/938153a618a369238d47b83a474eafac33c27398))
17
+ * **deps:** bump cross-spawn from 7.0.3 to 7.0.5 ([#185](https://github.com/skilbjo/config-rc/issues/185)) ([bcdb494](https://github.com/skilbjo/config-rc/commit/bcdb494408719b8e4e839ab4d5187cdeb790c16a))
18
+ * **deps:** bump eslint-plugin-jest from 28.8.3 to 28.9.0 ([#180](https://github.com/skilbjo/config-rc/issues/180)) ([092a55c](https://github.com/skilbjo/config-rc/commit/092a55c27a7abe937303c67a4a8460d96fa1407f))
19
+ * **deps:** bump eslint-plugin-n from 17.10.3 to 17.11.1 ([#169](https://github.com/skilbjo/config-rc/issues/169)) ([702b249](https://github.com/skilbjo/config-rc/commit/702b249c164dbb268da21676beda0f66c9e47ef6))
20
+ * **deps:** bump eslint-plugin-n from 17.11.1 to 17.13.1 ([#182](https://github.com/skilbjo/config-rc/issues/182)) ([572752a](https://github.com/skilbjo/config-rc/commit/572752a55b390971f61094b6522e5888d7a45191))
21
+ * **deps:** bump eslint-plugin-n from 17.13.1 to 17.13.2 ([#183](https://github.com/skilbjo/config-rc/issues/183)) ([73181de](https://github.com/skilbjo/config-rc/commit/73181de61e083480f6c8a79a30b2f832ee260bb4))
22
+ * **deps:** bump eslint-plugin-perfectionist from 3.8.0 to 3.9.1 ([#168](https://github.com/skilbjo/config-rc/issues/168)) ([d275674](https://github.com/skilbjo/config-rc/commit/d275674818ae8fd4b790315e5b75ee383cbbc15e))
23
+ * use @tsconfig/node22 ([e0914d5](https://github.com/skilbjo/config-rc/commit/e0914d521eab149b0f320b6bf418c44e2bfebf42))
24
+
1
25
  ## [1.0.18](https://github.com/skilbjo/config-rc/compare/v1.0.17...v1.0.18) (2024-10-17)
2
26
 
3
27
 
package/index.js CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  // const require = createRequire(import.meta.url);
4
4
 
5
- const eslintrc = require('./.eslintrc.cjs'); // eslint-disable-line @typescript-eslint/no-var-requires, n/no-missing-require
5
+ const eslintrc = require('./.eslintrc.cjs'); // eslint-disable-line @typescript-eslint/no-var-requires
6
6
 
7
7
  module.exports = eslintrc;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@skilbjo/config-rc",
4
- "version": "1.0.18",
4
+ "version": "1.0.20",
5
5
  "description": "eslint, prettier, & tsconfig config",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "homepage": "https://github.com/skilbjo/config-rc#readme",
24
24
  "dependencies": {
25
- "@tsconfig/node20": "20.1.4",
26
- "@types/jest": "29.5.12",
25
+ "@tsconfig/node22": "22.0.0",
26
+ "@types/jest": "29.5.14",
27
27
  "@typescript-eslint/eslint-plugin": "7.17.0",
28
28
  "@typescript-eslint/parser": "7.18.0",
29
29
  "eslint": "8.57.0",
@@ -31,9 +31,9 @@
31
31
  "eslint-config-typescript": "3.0.0",
32
32
  "eslint-import-resolver-typescript": "3.6.3",
33
33
  "eslint-plugin-import": "2.31.0",
34
- "eslint-plugin-jest": "28.8.3",
35
- "eslint-plugin-n": "17.10.3",
36
- "eslint-plugin-perfectionist": "3.8.0",
34
+ "eslint-plugin-jest": "28.9.0",
35
+ "eslint-plugin-n": "17.13.2",
36
+ "eslint-plugin-perfectionist": "3.9.1",
37
37
  "eslint-plugin-prettier": "5.2.1",
38
38
  "eslint-plugin-security": "3.0.1",
39
39
  "prettier": "3.3.3",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@commitlint/cli": "19.3.0",
44
44
  "@commitlint/config-angular": "16.2.4",
45
- "@types/node": "22.7.4",
45
+ "@types/node": "22.9.0",
46
46
  "depcheck": "1.4.7",
47
47
  "husky": "8.0.1"
48
48
  },
@@ -52,7 +52,7 @@
52
52
  ]
53
53
  },
54
54
  "engines": {
55
- "node": ">=16.0.0"
55
+ "node": ">=20.0.0"
56
56
  },
57
57
  "publishConfig": {
58
58
  "registry": "https://registry.npmjs.org/"
package/tsconfig.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Node 20",
4
- "_version": "20.1.3",
5
- "extends": "@tsconfig/node20/tsconfig.json",
3
+ "display": "Node 22",
4
+ "_version": "22.0.0",
5
+ "extends": "@tsconfig/node22/tsconfig.json",
6
6
  "compilerOptions": {
7
7
  "module": "CommonJS",
8
8
  "moduleResolution": "node",