@skilbjo/config-rc 1.0.32 → 1.0.34

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.
@@ -26,10 +26,6 @@ updates:
26
26
  - dependency-name: '@aws-sdk/util-dynamodb'
27
27
  - dependency-name: '@commitlint/cli'
28
28
  - dependency-name: '@commitlint/config-angular'
29
-
30
- - dependency-name: eslint
31
- - dependency-name: eslint-config-prettier
32
- - dependency-name: eslint-config-typescript
33
29
  versioning-strategy: increase
34
30
  open-pull-requests-limit: 15
35
31
  commit-message:
@@ -22,7 +22,7 @@ jobs:
22
22
  - uses: step-security/harden-runner@v2
23
23
  with:
24
24
  egress-policy: audit
25
- - uses: actions/checkout@v5
25
+ - uses: actions/checkout@v6
26
26
  with:
27
27
  ref: ${{ github.event.pull_request.head.sha }}
28
28
 
@@ -28,7 +28,7 @@ jobs:
28
28
  - uses: step-security/harden-runner@v2
29
29
  with:
30
30
  egress-policy: audit
31
- - uses: actions/checkout@v5
31
+ - uses: actions/checkout@v6
32
32
  with:
33
33
  persist-credentials: false
34
34
  token: ${{ secrets.ACTIONS_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [1.0.34](https://github.com/skilbjo/config-rc/compare/v1.0.33...v1.0.34) (2026-01-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps-dev:** bump @types/node from 25.0.9 to 25.0.10 ([#471](https://github.com/skilbjo/config-rc/issues/471)) ([647b4e5](https://github.com/skilbjo/config-rc/commit/647b4e537a9118eabfbf0e3bc28c2f09b42a2300))
7
+ * **deps:** bump actions/checkout from 5 to 6 ([#429](https://github.com/skilbjo/config-rc/issues/429)) ([18484e9](https://github.com/skilbjo/config-rc/commit/18484e9c5ae09d92f72d9b75217dfb9ed7932712))
8
+ * **deps:** bump eslint-plugin-perfectionist from 4.15.1 to 5.3.1 ([#472](https://github.com/skilbjo/config-rc/issues/472)) ([1c86d4d](https://github.com/skilbjo/config-rc/commit/1c86d4d3bc20e6ed8e6f65eaf49f0d1a2e3c9c04))
9
+ * **deps:** bump prettier from 3.8.0 to 3.8.1 ([#470](https://github.com/skilbjo/config-rc/issues/470)) ([0e9f723](https://github.com/skilbjo/config-rc/commit/0e9f723e11e3fd31e7bbf68b0261c241727b1386))
10
+ * **lint:** no newlines, no tabs ([83ca165](https://github.com/skilbjo/config-rc/commit/83ca1652d41b12f559dd9922a8e59d37062ff7b0))
11
+
12
+ ## [1.0.33](https://github.com/skilbjo/config-rc/compare/v1.0.32...v1.0.33) (2026-01-22)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * fix ([5394e93](https://github.com/skilbjo/config-rc/commit/5394e9325b5c076a0e7fbe1bb52477c8f262a7a4))
18
+ * more tweaks ([722a04f](https://github.com/skilbjo/config-rc/commit/722a04f61c628c3d5606d4ce1168bb9e234b2a2a))
19
+
1
20
  ## [1.0.32](https://github.com/skilbjo/config-rc/compare/v1.0.31...v1.0.32) (2026-01-22)
2
21
 
3
22
 
package/eslint.config.mjs CHANGED
@@ -1,3 +1,5 @@
1
- import { baseConfig } from './index.js';
1
+ import { config } from './index.js';
2
2
 
3
- export default baseConfig;
3
+ export { config } from './index.js';
4
+
5
+ export default config; // required
package/index.js CHANGED
@@ -7,9 +7,10 @@ const jestPlugin = require('eslint-plugin-jest');
7
7
  const prettierPlugin = require('eslint-plugin-prettier');
8
8
  const securityPlugin = require('eslint-plugin-security');
9
9
  const perfectionistPlugin = require('eslint-plugin-perfectionist');
10
+ const stylisticPlugin = require('@stylistic/eslint-plugin');
10
11
  const globals = require('globals');
11
12
 
12
- const baseConfig = tseslint.config(
13
+ const config = tseslint.config(
13
14
  {
14
15
  ignores: ['target/**', 'node_modules/**', '.git/**'],
15
16
  },
@@ -33,6 +34,7 @@ const baseConfig = tseslint.config(
33
34
  perfectionist: perfectionistPlugin,
34
35
  jest: jestPlugin,
35
36
  '@typescript-eslint': tseslint.plugin,
37
+ '@stylistic': stylisticPlugin,
36
38
  },
37
39
  rules: {
38
40
  ...eslint.configs.recommended.rules,
@@ -58,6 +60,26 @@ const baseConfig = tseslint.config(
58
60
  'n/no-unsupported-features/es-syntax': 'off',
59
61
  'n/shebang': 'off',
60
62
  'no-multiple-empty-lines': [2, { max: 1, maxEOF: 0 }],
63
+ '@stylistic/eol-last': ['error', 'always'],
64
+ '@stylistic/no-trailing-spaces': 'error',
65
+ '@stylistic/indent': [
66
+ 'error',
67
+ 2,
68
+ {
69
+ SwitchCase: 1,
70
+ VariableDeclarator: 1,
71
+ outerIIFEBody: 1,
72
+ MemberExpression: 1,
73
+ FunctionDeclaration: { parameters: 1, body: 1 },
74
+ FunctionExpression: { parameters: 1, body: 1 },
75
+ CallExpression: { arguments: 1 },
76
+ ArrayExpression: 1,
77
+ ObjectExpression: 1,
78
+ ImportDeclaration: 1,
79
+ flatTernaryExpressions: false,
80
+ ignoreComments: false,
81
+ },
82
+ ],
61
83
  'perfectionist/sort-exports': 'off',
62
84
  'perfectionist/sort-imports': 'off',
63
85
  'prettier/prettier': [
@@ -120,4 +142,5 @@ const baseConfig = tseslint.config(
120
142
  },
121
143
  }
122
144
  );
123
- module.exports = { baseConfig };
145
+
146
+ module.exports = { config };
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.32",
4
+ "version": "1.0.34",
5
5
  "description": "eslint, prettier, & tsconfig config",
6
6
  "main": "index.js",
7
7
  "exports": {
@@ -33,27 +33,28 @@
33
33
  },
34
34
  "homepage": "https://github.com/skilbjo/config-rc#readme",
35
35
  "dependencies": {
36
+ "@eslint/js": "9.39.2",
37
+ "@stylistic/eslint-plugin": "5.7.0",
36
38
  "@tsconfig/node22": "22.0.5",
37
39
  "@types/jest": "30.0.0",
38
40
  "eslint": "9.39.2",
39
- "typescript-eslint": "8.53.1",
40
- "@eslint/js": "9.39.2",
41
+ "eslint-config-prettier": "10.1.8",
42
+ "eslint-import-resolver-typescript": "4.4.4",
41
43
  "eslint-plugin-import": "2.32.0",
42
- "eslint-plugin-n": "17.23.2",
43
44
  "eslint-plugin-jest": "29.12.1",
45
+ "eslint-plugin-n": "17.23.2",
46
+ "eslint-plugin-perfectionist": "5.3.1",
44
47
  "eslint-plugin-prettier": "5.5.5",
45
- "eslint-config-prettier": "10.1.8",
46
48
  "eslint-plugin-security": "3.0.1",
47
- "eslint-plugin-perfectionist": "4.15.1",
48
49
  "globals": "17.0.0",
49
- "eslint-import-resolver-typescript": "4.4.4",
50
- "prettier": "3.8.0",
51
- "typescript": "5.9.3"
50
+ "prettier": "3.8.1",
51
+ "typescript": "5.9.3",
52
+ "typescript-eslint": "8.53.1"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@commitlint/cli": "19.3.0",
55
56
  "@commitlint/config-angular": "16.2.4",
56
- "@types/node": "25.0.9",
57
+ "@types/node": "25.0.10",
57
58
  "depcheck": "1.4.7",
58
59
  "husky": "8.0.1"
59
60
  },