@w5s/mrm-preset 2.11.6 → 3.0.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/.eslintrc.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "rules": {
3
- "n/no-sync": "off",
3
+ "node/no-sync": "off",
4
4
  "import/no-unresolved": "off"
5
5
  }
6
6
  }
@@ -1,4 +1,6 @@
1
-
2
- > @w5s/mrm-preset@2.11.5 build:tsc
3
- > tsc
4
-
1
+
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.6 build:tsc
4
+ > tsc
5
+
6
+ ⠙⠙
@@ -1,4 +1,42 @@
1
-
2
- > @w5s/mrm-preset@2.11.5 lint:src
3
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
4
-
1
+
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.6 lint:src
4
+ > eslint .
5
+
6
+ 
7
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/ci/gitlab.js
8
+  5:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
9
+ 
10
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githooks.js
11
+  1:1 warning Unused eslint-disable directive (no problems were reported from 'node/no-sync')
12
+ 
13
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/githubCI.js
14
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
15
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
16
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
17
+  20:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
18
+ 
19
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/npm.js
20
+  47:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
21
+  87:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
22
+  113:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
23
+  129:1 warning Prefer a more specific type to `Function` jsdoc/reject-function-type
24
+ 
25
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/core/vscode.js
26
+  41:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
27
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
28
+  82:1 warning Prefer a more specific type to `any` jsdoc/reject-any-type
29
+ 
30
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/githooks/index.js
31
+  33:7 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
32
+ 
33
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/post-configure/index.js
34
+  19:5 warning Unused eslint-disable directive (no problems were reported from 'no-console')
35
+ 
36
+ /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/release/index.js
37
+  14:9 warning Unused eslint-disable directive (no problems were reported from 'no-template-curly-in-string')
38
+ 
39
+ ✖ 16 problems (0 errors, 16 warnings)
40
+  0 errors and 4 warnings potentially fixable with the `--fix` option.
41
+ 
42
+ ⠙⠙
@@ -1,4 +1,4 @@
1
1
 
2
- > @w5s/mrm-preset@2.11.6 prepare:empty
2
+ > @w5s/mrm-preset@3.0.0 prepare:empty
3
3
  > :
4
4
 
@@ -1 +1,2 @@
1
- CSpell: Files checked: 52, Issues found: 0 in 0 files.
1
+
2
+ 
@@ -1,83 +1,58 @@
1
-
2
- > @w5s/mrm-preset@2.11.5 test:script
3
- > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
4
-
5
- mkdir: _tester: File exists
6
- Running bootstrap...
7
- Running alias configure...
8
- Running gitignore...
9
- Running project...
10
- Running contributing...
11
- Running licenses...
12
- Running asdf...
13
- Running release...
14
- Running ci...
15
- Running lang...
16
- Running commitlint...
17
- Running editorconfig...
18
- Running eslint...
19
- Installing @w5s/eslint-config...
20
- npm ERR! code ERESOLVE
21
- npm ERR! ERESOLVE could not resolve
22
- npm ERR!
23
- npm ERR! While resolving: @w5s/eslint-config@2.4.4
24
- npm ERR! Found: eslint@9.26.0
25
- npm ERR! node_modules/eslint
26
- npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.7.0
27
- npm ERR! node_modules/@eslint-community/eslint-utils
28
- npm ERR! @eslint-community/eslint-utils@"^4.2.0" from eslint@9.26.0
29
- npm ERR! dev eslint@"^9.26.0" from the root project
30
- npm ERR! 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
31
- npm ERR!
32
- npm ERR! Could not resolve dependency:
33
- npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.4
34
- npm ERR! node_modules/@w5s/eslint-config
35
- npm ERR! dev @w5s/eslint-config@"2.4.4" from the root project
36
- npm ERR!
37
- npm ERR! Conflicting peer dependency: eslint@8.57.1
38
- npm ERR! node_modules/eslint
39
- npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.4
40
- npm ERR! node_modules/@w5s/eslint-config
41
- npm ERR! dev @w5s/eslint-config@"2.4.4" from the root project
42
- npm ERR!
43
- npm ERR! Fix the upstream dependency conflict, or retry
44
- npm ERR! this command with --force or --legacy-peer-deps
45
- npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
46
- npm ERR!
47
- npm ERR!
48
- npm ERR! For a full report see:
49
- npm ERR! /Users/julienpolo/.npm/_logs/2025-09-21T22_11_07_971Z-eresolve-report.txt
50
-
51
- npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-09-21T22_11_07_971Z-debug-0.log
52
- Running cspell...
53
- Running vitest...
54
- Running renovate...
55
- Running githooks...
56
- Running post-configure...
57
- Error: to format code
58
-
59
- > _tester@1.0.0-alpha.0 format
60
- > npx run-p "format:*"
61
-
62
-
63
- > _tester@1.0.0-alpha.0 format:root
64
- > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml --fix
65
-
66
-
67
- Oops! Something went wrong! :(
68
-
69
- ESLint: 9.26.0
70
-
71
- ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
72
-
73
- From ESLint v9.0.0, the default configuration file is now eslint.config.js.
74
- If you are using a .eslintrc.* file, please follow the migration guide
75
- to update your configuration file to the new format:
76
-
77
- https://eslint.org/docs/latest/use/configure/migration-guide
78
-
79
- If you still have problems after following the migration guide, please stop by
80
- https://eslint.org/chat/help to chat with the team.
81
-
82
- ERROR: "format:root" exited with 2.
83
-
1
+
2
+ ⠙
3
+ > @w5s/mrm-preset@2.11.6 test:script
4
+ > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
+
6
+ mkdir: _tester: File exists
7
+ Running bootstrap...
8
+ Running alias configure...
9
+ Running gitignore...
10
+ Running project...
11
+ Running contributing...
12
+ Running licenses...
13
+ Running asdf...
14
+ Running release...
15
+ Running ci...
16
+ Running lang...
17
+ Running commitlint...
18
+ Running editorconfig...
19
+ Running eslint...
20
+ Installing @w5s/eslint-config...
21
+ [?25l(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) idealTree: timing arborist:ctor Completed in 0ms
22
+ npm ERR! ERESOLVE could not resolve
23
+ npm ERR!
24
+ npm ERR! While resolving: @w5s/eslint-config@2.4.5
25
+ npm ERR! Found: eslint@9.26.0
26
+ npm ERR! node_modules/eslint
27
+ npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.7.0
28
+ npm ERR! node_modules/@eslint-community/eslint-utils
29
+ npm ERR! @eslint-community/eslint-utils@"^4.2.0" from eslint@9.26.0
30
+ npm ERR! dev eslint@"^9.26.0" from the root project
31
+ npm ERR! 2 more (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
32
+ npm ERR!
33
+ npm ERR! Could not resolve dependency:
34
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.5
35
+ npm ERR! node_modules/@w5s/eslint-config
36
+ npm ERR! dev @w5s/eslint-config@"2.4.5" from the root project
37
+ npm ERR!
38
+ npm ERR! Conflicting peer dependency: eslint@8.57.1
39
+ npm ERR! node_modules/eslint
40
+ npm ERR! peerOptional eslint@"8.x" from @w5s/eslint-config@2.4.5
41
+ npm ERR! node_modules/@w5s/eslint-config
42
+ npm ERR! dev @w5s/eslint-config@"2.4.5" from the root project
43
+ npm ERR!
44
+ npm ERR! Fix the upstream dependency conflict, or retry
45
+ npm ERR! this command with --force or --legacy-peer-deps
46
+ npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
47
+ npm ERR!
48
+ npm ERR!
49
+ npm ERR! For a full report see:
50
+ npm ERR! /Users/julienpolo/.npm/_logs/2025-10-21T22_36_15_158Z-eresolve-report.txt
51
+ 
52
+ npm ERR! A complete log of this run can be found in: /Users/julienpolo/.npm/_logs/2025-10-21T22_36_15_158Z-debug-0.log
53
+ Running cspell...
54
+ Running vitest...
55
+ Running renovate...
56
+ Running githooks...
57
+ Running post-configure...
58
+ ⠙⠙
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.6...@w5s/mrm-preset@3.0.0) (2025-10-21)
7
+
8
+ ### 🎫 Chores
9
+
10
+ - Upgrade eslint v9 peer deps ([640db8b](github.com/w5s/project-config/commits/640db8b))
11
+
12
+ ### 💥 BREAKING CHANGES
13
+
14
+ * This commit upgrades ESLint to version 9, which may introduce breaking changes
15
+
6
16
  ## [2.11.6](github.com/w5s/project-config/compare/@w5s/mrm-preset@2.11.5...@w5s/mrm-preset@2.11.6) (2025-09-21)
7
17
 
8
18
  ### 🐛 Bug Fixes
@@ -28,14 +28,14 @@ variables:
28
28
  .autodevops_base_rules:
29
29
  rules:
30
30
  - &autodevops_schedule_skip_rule
31
- if: '$CI_PIPELINE_SOURCE == "schedule"'
32
- when: never
31
+ if: '$CI_PIPELINE_SOURCE == "schedule"'
32
+ when: never
33
33
  - &autodevops_renovate_skip_rule
34
- if: $RENOVATE
35
- when: never
34
+ if: $RENOVATE
35
+ when: never
36
36
  - &autodevops_default_branch_only_rule
37
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
38
- when: never
37
+ if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
38
+ when: never
39
39
  - when: on_success
40
40
 
41
41
  # #
@@ -201,7 +201,7 @@ variables:
201
201
  # IMAGE_NAME: $CI_REGISTRY_IMAGE
202
202
 
203
203
  .autodevops_node_image:
204
- image: node:lts-alpine@sha256:d2166de198f26e17e5a442f537754dd616ab069c47cc57b889310a717e0abbf9
204
+ image: node:lts-alpine@sha256:3cede0390df539fee0ec4634ca957539b887528ce2824bb2b631aec414bfa06c
205
205
 
206
206
  .autodevops_node_install:
207
207
  extends:
@@ -13,7 +13,7 @@
13
13
  when: always
14
14
  - when: never
15
15
  image:
16
- name: renovate/renovate@sha256:13a41b09fec03fe45e24ba376ffcccdfb871e1cae23cc0f3e539761e8f989423
16
+ name: renovate/renovate@sha256:913d93cfb1b10ca26156cfca1e551485e0bd94a1d446aafa58e91e8c283caeb5
17
17
  entrypoint: ['']
18
18
  script:
19
19
  - >
package/ci/github.js CHANGED
@@ -31,14 +31,14 @@ function task() {
31
31
  ...config.jobs,
32
32
  build: {
33
33
  'runs-on': 'ubuntu-latest',
34
- steps: [
34
+ 'steps': [
35
35
  { uses: 'actions/checkout@v4' },
36
36
  { uses: 'rharkor/caching-for-turbo@v1.3' },
37
37
  {
38
38
  uses: 'actions/setup-node@v3',
39
39
  with: {
40
40
  'node-version-file': '.tool-versions',
41
- cache: packageManager,
41
+ 'cache': packageManager,
42
42
  },
43
43
  },
44
44
  { run: packageInstall },
package/ci/gitlab.js CHANGED
@@ -23,7 +23,7 @@ function task() {
23
23
  (include) => (typeof include === 'string' ? include : include.local) === includePath,
24
24
  );
25
25
  const addInclude = (/** @type {string} */ includePath) =>
26
- gitlabCIConfig.set('include', gitlabCIConfig.get('include', []).concat([{ local: includePath }]));
26
+ gitlabCIConfig.set('include', [...gitlabCIConfig.get('include', []), { local: includePath }]);
27
27
 
28
28
  if (!hasInclude(autoDevopsPath)) {
29
29
  addInclude(autoDevopsPath);
package/core/githooks.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable node/no-sync */
1
2
  const path = require('node:path');
2
3
  const { blockSync, directorySync, fileSync } = require('@w5s/dev');
3
4
 
package/core/npm.js CHANGED
@@ -1,7 +1,5 @@
1
- /* eslint-disable default-param-last */
2
1
  const { yarnVersion, yarnConfig } = require('@w5s/dev');
3
2
 
4
- /* eslint-disable import/no-extraneous-dependencies */
5
3
  /* cSpell: disable */
6
4
  // @ts-check
7
5
  // @ts-ignore
@@ -78,7 +76,6 @@ function install(deps, options = {}, exec) {
78
76
  log.info(`Installing ${listify(newDeps)}...`);
79
77
  const versionedDeps = newDeps.map((dep) => getVersionedDep(dep, versions));
80
78
 
81
- // eslint-disable-next-line consistent-return
82
79
  return run(versionedDeps, { dev }, exec);
83
80
  }
84
81
 
@@ -90,7 +87,6 @@ function install(deps, options = {}, exec) {
90
87
  * @param {Function=} exec
91
88
  */
92
89
  function uninstall(deps, options = {}, exec) {
93
- // eslint-disable-next-line no-param-reassign
94
90
  deps = _.castArray(deps);
95
91
  const dev = options.dev !== false;
96
92
  const run = options.yarn || isUsingYarn() ? runYarn : runNpm;
@@ -106,7 +102,6 @@ function uninstall(deps, options = {}, exec) {
106
102
 
107
103
  log.info(`Uninstalling ${listify(newDeps)}...`);
108
104
 
109
- // eslint-disable-next-line consistent-return
110
105
  return run(newDeps, { dev, remove: true }, exec);
111
106
  }
112
107
 
@@ -118,7 +113,7 @@ function uninstall(deps, options = {}, exec) {
118
113
  * @param {Function} [exec]
119
114
  */
120
115
  function runNpm(deps, options = {}, exec) {
121
- const args = [options.remove ? 'uninstall' : 'install', options.dev ? '--save-dev' : '--save'].concat(deps);
116
+ const args = [options.remove ? 'uninstall' : 'install', options.dev ? '--save-dev' : '--save', ...deps];
122
117
 
123
118
  return execCommand(exec, 'npm', args, {
124
119
  cwd: options.cwd,
@@ -136,6 +131,7 @@ function runNpm(deps, options = {}, exec) {
136
131
  function runYarn(deps, options = {}, exec) {
137
132
  const add = options.dev ? ['add', '--dev'] : ['add'];
138
133
  const remove = ['remove'];
134
+ // eslint-disable-next-line unicorn/prefer-spread
139
135
  const args = (options.remove ? remove : add).concat(isUsingWorkspaces() && !isYarnBerry() ? ['-W'] : []).concat(deps);
140
136
 
141
137
  return execCommand(exec, 'yarn', args, {
package/core/vscode.js CHANGED
@@ -47,7 +47,7 @@ function vscodeTask(newTask) {
47
47
  tasks.map((task) => (task.script === newTask.script ? newTask : task)),
48
48
  );
49
49
  } else {
50
- vscodeTaskFile.set('tasks', [newTask].concat(tasks));
50
+ vscodeTaskFile.set('tasks', [newTask, ...tasks]);
51
51
  }
52
52
  vscodeTaskFile.save();
53
53
  }
package/eslint/index.js CHANGED
@@ -40,6 +40,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
40
40
  extends: [eslintPreset],
41
41
  parserOptions: {
42
42
  project: hasTypescript ? './tsconfig.json' : undefined,
43
+ // @ts-ignore FIXME: implement for eslint v9
43
44
  ...config.parserOptions,
44
45
  },
45
46
  }),
@@ -60,7 +61,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
60
61
  yaml: hasYAML,
61
62
  };
62
63
  const extList = Object.keys(extsMap).filter((ext) => extsMap[ext]);
63
- const extOption = ` --ext=${extList.join(',')}`;
64
+ const extOption = '';// ` --ext=${extList.join(',')}`;
64
65
 
65
66
  pkg.withPackageJson((packageFile) => {
66
67
  const ignorePatterns = pkg
@@ -127,23 +128,21 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
127
128
  'editor.codeActionsOnSave': settings['editor.codeActionsOnSave'] || {
128
129
  'source.fixAll': true,
129
130
  },
130
- 'eslint.validate': Array.from(
131
- new Set(
132
- extList.map(
133
- (ext) =>
134
- ({
135
- cjs: 'javascript',
136
- mjs: 'javascript',
137
- jsx: 'javascriptreact',
138
- js: 'javascript',
139
- tsx: 'typescriptreact',
140
- ts: 'typescript',
141
- yaml: 'yaml',
142
- yml: 'yaml',
143
- })[ext] || ext,
144
- ),
131
+ 'eslint.validate': [...new Set(
132
+ extList.map(
133
+ (ext) =>
134
+ ({
135
+ cjs: 'javascript',
136
+ mjs: 'javascript',
137
+ jsx: 'javascriptreact',
138
+ js: 'javascript',
139
+ tsx: 'typescriptreact',
140
+ ts: 'typescript',
141
+ yaml: 'yaml',
142
+ yml: 'yaml',
143
+ })[ext] || ext,
145
144
  ),
146
- ),
145
+ )],
147
146
  }),
148
147
  });
149
148
  }
@@ -0,0 +1,5 @@
1
+ export default [
2
+ {
3
+ ignore: ['**/templates/*.ts'],
4
+ },
5
+ ];
@@ -1,4 +1,4 @@
1
- import { describe, it, expect } from 'vitest'
1
+ import { describe, it, expect } from 'vitest';
2
2
  import { main } from './index.js';
3
3
 
4
4
  describe('index', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.6",
3
+ "version": "3.0.0",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -24,7 +24,7 @@
24
24
  "postpack": "npx clean-package restore"
25
25
  },
26
26
  "dependencies": {
27
- "@w5s/dev": "^2.5.4",
27
+ "@w5s/dev": "^3.0.0",
28
28
  "debug": "^4.3.3",
29
29
  "glob": "^11.0.0",
30
30
  "mrm-core": "^7.0.0",
@@ -38,5 +38,5 @@
38
38
  "access": "public"
39
39
  },
40
40
  "sideEffect": false,
41
- "gitHead": "199e9b150a80e22d21a35f924e19923aacfe3de3"
41
+ "gitHead": "e038232410218bd01be847ffe84bdb5f6261adc6"
42
42
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.11.6",
3
+ "version": "3.0.0",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -27,9 +27,9 @@
27
27
  "clean:tsc": "rm -rf dist",
28
28
  "docs": "node ../../markdown.mjs",
29
29
  "format": "npx run-p \"format:*\"",
30
- "format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
30
+ "format:src": "eslint . --fix",
31
31
  "lint": "npx run-p \"lint:*\"",
32
- "lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
32
+ "lint:src": "eslint .",
33
33
  "postpack": "npx clean-package restore",
34
34
  "prepack": "npx clean-package",
35
35
  "prepare": "npx run-p \"prepare:*\"",
@@ -39,7 +39,7 @@
39
39
  "test:script": "mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir .."
40
40
  },
41
41
  "dependencies": {
42
- "@w5s/dev": "^2.5.4",
42
+ "@w5s/dev": "^3.0.0",
43
43
  "debug": "^4.3.3",
44
44
  "glob": "^11.0.0",
45
45
  "mrm-core": "^7.0.0",
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "199e9b150a80e22d21a35f924e19923aacfe3de3"
62
+ "gitHead": "e038232410218bd01be847ffe84bdb5f6261adc6"
63
63
  }
package/project/index.js CHANGED
@@ -269,7 +269,7 @@ function task() {
269
269
  state: 'present',
270
270
  update: (_) => ({
271
271
  ..._,
272
- globalEnv: Array.from(new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])).sort(),
272
+ globalEnv: [...new Set([...(_.globalEnv ?? []), 'ASDF_*', 'CI', 'DATABASE_URL', 'NODE_ENV'])].sort(),
273
273
  globalDependencies: ['.tool-versions', 'tsconfig.settings.json', '**/.env.*local', '.env'],
274
274
  tasks: {
275
275
  ..._.tasks,
package/renovate/index.js CHANGED
@@ -30,14 +30,12 @@ function createRenovate({ renovatePresetApplication, renovatePresetLibrary }) {
30
30
  });
31
31
  renovateFile.set(
32
32
  'extends',
33
- [renovatePresetResolved].concat(
34
- renovateFile.get('extends', []).filter(
35
- /**
36
- * @param {string} extension
37
- */
38
- (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary,
39
- ),
40
- ),
33
+ [renovatePresetResolved, ...renovateFile.get('extends', []).filter(
34
+ /**
35
+ * @param {string} extension
36
+ */
37
+ (extension) => extension !== renovatePresetApplication && extension !== renovatePresetLibrary,
38
+ )],
41
39
  );
42
40
  renovateFile.save();
43
41
  }
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- _tester
@@ -1,9 +0,0 @@
1
- {
2
- "rules": {
3
- "import/no-extraneous-dependencies": "off",
4
- "@typescript-eslint/no-unsafe-call": "off",
5
- "@typescript-eslint/no-unsafe-assignment": "off",
6
- "@typescript-eslint/no-unsafe-member-access": "off"
7
- },
8
- "ignorePatterns": ["**/templates/*.ts"]
9
- }