Skip to content

Commit 63c25cd

Browse files
build(deps-dev): bump the vitest group across 1 directory with 2 updates (#937)
* build(deps-dev): bump the vitest group across 1 directory with 2 updates Bumps the vitest group with 2 updates in the / directory: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@vitest/coverage-v8` from 3.2.4 to 4.1.8 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8) Updates `vitest` from 3.2.4 to 4.1.8 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.8 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vitest - dependency-name: vitest dependency-version: 4.1.8 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vitest ... Signed-off-by: dependabot[bot] <support@github.com> * chore: resolve TypeScript errors and update tests - Add types: ['node'] to tsconfig.json to fix NodeJS namespace errors - Fix snapshot tests by regenerating with --update flag - Add test case for non-Error exception handling in index.test.ts - Replace %p with %s in test describe blocks for clearer snapshot names * chore: update tsconfig target and module for Node.js 24 - Change target from es2022 to es2024 - Change module from es2022 to esnext * chore: fix ESLint errors and type-check all files - Add void operator to run() call to fix floating promise - Add eslint-disable comment for intentional non-Error throw test - Remove unnecessary conditionals in utils.ts - Create tsconfig.eslint.json for type-aware linting - Update lint:tsc to type-check all files including configs - Rename eslint.config.mjs to eslint.config.mts --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark <mark@remarkablemark.org>
1 parent 437766a commit 63c25cd

11 files changed

Lines changed: 1014 additions & 930 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { fileURLToPath } from 'node:url';
22

3-
import { includeIgnoreFile } from '@eslint/compat';
4-
import eslint from '@eslint/js';
5-
import { defineConfig } from 'eslint/config';
3+
import js from '@eslint/js';
4+
import { defineConfig, includeIgnoreFile } from 'eslint/config';
65
import prettier from 'eslint-plugin-prettier';
76
import simpleImportSort from 'eslint-plugin-simple-import-sort';
87
import tsdoc from 'eslint-plugin-tsdoc';
@@ -23,17 +22,27 @@ export default defineConfig([
2322

2423
plugins: {
2524
'simple-import-sort': simpleImportSort,
26-
eslint,
25+
js,
2726
prettier,
2827
tsdoc,
2928
},
3029

31-
extends: [eslint.configs.recommended, tseslint.configs.recommended],
30+
extends: [
31+
js.configs.recommended,
32+
tseslint.configs.recommended,
33+
tseslint.configs.recommendedTypeChecked,
34+
tseslint.configs.strictTypeChecked,
35+
tseslint.configs.stylisticTypeChecked,
36+
],
3237

3338
languageOptions: {
3439
globals: {
3540
...globals.node,
36-
...globals.jest,
41+
...globals.vitest,
42+
},
43+
parserOptions: {
44+
project: ['tsconfig.eslint.json'],
45+
tsconfigRootDir: import.meta.dirname,
3746
},
3847
},
3948

0 commit comments

Comments
 (0)