@skilbjo/config-rc 1.0.35 → 1.0.37

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/.releaserc CHANGED
@@ -9,7 +9,7 @@
9
9
  "verifyConditionsCmd": "make ci",
10
10
  }],
11
11
  ["@semantic-release/github", {
12
- assets: [".eslintrc.js", "index.js"]
12
+ assets: ["eslint.config.mjs", "index.js"]
13
13
  }],
14
14
  ["@semantic-release/npm"],
15
15
  ["@semantic-release/git", {
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [1.0.37](https://github.com/skilbjo/config-rc/compare/v1.0.36...v1.0.37) (2026-02-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps-dev:** bump @types/node from 25.0.10 to 25.1.0 ([#477](https://github.com/skilbjo/config-rc/issues/477)) ([09a8c5e](https://github.com/skilbjo/config-rc/commit/09a8c5e12965493e9cf00f41ab59e5c45c7fd60e))
7
+ * **deps:** bump @stylistic/eslint-plugin from 5.7.0 to 5.7.1 ([#475](https://github.com/skilbjo/config-rc/issues/475)) ([7d31700](https://github.com/skilbjo/config-rc/commit/7d317005fa4365b8ff282151fb4e084bd9a9c7da))
8
+ * **deps:** bump eslint-plugin-perfectionist from 5.3.1 to 5.4.0 ([#474](https://github.com/skilbjo/config-rc/issues/474)) ([dc8a016](https://github.com/skilbjo/config-rc/commit/dc8a01656a1a4702dcba9fb3da7d550c97bfba92))
9
+ * **deps:** bump globals from 17.0.0 to 17.1.0 ([#473](https://github.com/skilbjo/config-rc/issues/473)) ([0ac106f](https://github.com/skilbjo/config-rc/commit/0ac106fa5798c31714f3f669e3917f954ab0d3d6))
10
+ * **deps:** bump globals from 17.1.0 to 17.3.0 ([#476](https://github.com/skilbjo/config-rc/issues/476)) ([50c148a](https://github.com/skilbjo/config-rc/commit/50c148a81da14e3c4bbc8adea1d41fb8e7419fff))
11
+ * **deps:** bump typescript-eslint from 8.53.1 to 8.54.0 ([#478](https://github.com/skilbjo/config-rc/issues/478)) ([c7f4fca](https://github.com/skilbjo/config-rc/commit/c7f4fcafd90e04adc53cc381a03560e8d57f6857))
12
+ * full esm compatability ([9cd7031](https://github.com/skilbjo/config-rc/commit/9cd703188b9cf9f0184d3f2f8c7382b0dbfe2707))
13
+
14
+ ## [1.0.36](https://github.com/skilbjo/config-rc/compare/v1.0.35...v1.0.36) (2026-01-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * esm only ([4af35cf](https://github.com/skilbjo/config-rc/commit/4af35cf5d9d8c38c15f6fb111ad1c0180de731b3))
20
+
1
21
  ## [1.0.35](https://github.com/skilbjo/config-rc/compare/v1.0.34...v1.0.35) (2026-01-22)
2
22
 
3
23
 
package/index.js CHANGED
@@ -1,14 +1,16 @@
1
1
  /* eslint-disable perfectionist/sort-objects */
2
- const eslint = require('@eslint/js');
3
- const tseslint = require('typescript-eslint');
4
- const importPlugin = require('eslint-plugin-import');
5
- const nPlugin = require('eslint-plugin-n');
6
- const jestPlugin = require('eslint-plugin-jest');
7
- const prettierPlugin = require('eslint-plugin-prettier');
8
- const securityPlugin = require('eslint-plugin-security');
9
- const perfectionistPlugin = require('eslint-plugin-perfectionist');
10
- const stylisticPlugin = require('@stylistic/eslint-plugin');
11
- const globals = require('globals');
2
+ import eslint from '@eslint/js';
3
+ import * as tseslint from 'typescript-eslint';
4
+ import importPlugin from 'eslint-plugin-import';
5
+ import nPlugin from 'eslint-plugin-n';
6
+ import jestPlugin from 'eslint-plugin-jest';
7
+ import prettierPlugin from 'eslint-plugin-prettier';
8
+ import securityPlugin from 'eslint-plugin-security';
9
+ import perfectionistPlugin, {
10
+ configs as perfectionistConfigs,
11
+ } from 'eslint-plugin-perfectionist';
12
+ import stylisticPlugin from '@stylistic/eslint-plugin';
13
+ import globals from 'globals';
12
14
 
13
15
  const config = tseslint.config(
14
16
  {
@@ -41,8 +43,8 @@ const config = tseslint.config(
41
43
  ...importPlugin.configs.recommended.rules,
42
44
  ...nPlugin.configs.recommended.rules,
43
45
  ...prettierPlugin.configs.recommended.rules,
44
- ...securityPlugin.configs['recommended-legacy'].rules,
45
- ...perfectionistPlugin.configs['recommended-alphabetical-legacy'].rules,
46
+ ...securityPlugin.configs.recommended.rules,
47
+ ...perfectionistConfigs['recommended-alphabetical'].rules,
46
48
  '@typescript-eslint/no-non-null-assertion': 1,
47
49
  eqeqeq: 2,
48
50
  'import/default': 2,
@@ -125,4 +127,4 @@ const config = tseslint.config(
125
127
  }
126
128
  );
127
129
 
128
- module.exports = { config };
130
+ export { config };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@skilbjo/config-rc",
4
- "version": "1.0.35",
4
+ "version": "1.0.37",
5
5
  "description": "eslint, prettier, & tsconfig config",
6
+ "type": "module",
6
7
  "main": "index.js",
7
8
  "exports": {
8
9
  ".": "./index.js",
@@ -34,7 +35,7 @@
34
35
  "homepage": "https://github.com/skilbjo/config-rc#readme",
35
36
  "dependencies": {
36
37
  "@eslint/js": "9.39.2",
37
- "@stylistic/eslint-plugin": "5.7.0",
38
+ "@stylistic/eslint-plugin": "5.7.1",
38
39
  "@tsconfig/node22": "22.0.5",
39
40
  "@types/jest": "30.0.0",
40
41
  "eslint": "9.39.2",
@@ -43,18 +44,18 @@
43
44
  "eslint-plugin-import": "2.32.0",
44
45
  "eslint-plugin-jest": "29.12.1",
45
46
  "eslint-plugin-n": "17.23.2",
46
- "eslint-plugin-perfectionist": "5.3.1",
47
+ "eslint-plugin-perfectionist": "5.4.0",
47
48
  "eslint-plugin-prettier": "5.5.5",
48
49
  "eslint-plugin-security": "3.0.1",
49
- "globals": "17.0.0",
50
+ "globals": "17.3.0",
50
51
  "prettier": "3.8.1",
51
52
  "typescript": "5.9.3",
52
- "typescript-eslint": "8.53.1"
53
+ "typescript-eslint": "8.54.0"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@commitlint/cli": "19.3.0",
56
57
  "@commitlint/config-angular": "16.2.4",
57
- "@types/node": "25.0.10",
58
+ "@types/node": "25.1.0",
58
59
  "depcheck": "1.4.7",
59
60
  "husky": "8.0.1"
60
61
  },
package/tsconfig.json CHANGED
@@ -4,13 +4,12 @@
4
4
  "_version": "22.0.0",
5
5
  "extends": "@tsconfig/node22/tsconfig.json",
6
6
  "compilerOptions": {
7
- "module": "CommonJS",
8
- "moduleResolution": "node",
7
+ "module": "NodeNext",
8
+ "moduleResolution": "nodenext",
9
9
  "target": "ES2022",
10
10
  "lib": [
11
11
  "ES2023"
12
12
  ],
13
-
14
13
  "outDir": "dist",
15
14
  "declaration": true,
16
15
  "forceConsistentCasingInFileNames": true,
@@ -31,11 +30,10 @@
31
30
  "include": [
32
31
  "src/**/*.ts",
33
32
  "test/**/*.ts",
34
- ".eslintrc.cjs",
35
33
  "index.js"
36
34
  ],
37
35
  "exclude": [
38
36
  "node_modules",
39
37
  "dist"
40
38
  ]
41
- }
39
+ }