diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c429c26ed..4e2dda656 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -22,7 +22,8 @@ module.exports = { // ESLint does not understand `import ... with { ... }`. // See: https://github.com/eslint/eslint/discussions/15305. - 'packages/ckeditor5-dev-ci/lib/data/index.js' + 'packages/ckeditor5-dev-ci/lib/data/index.js', + 'packages/ckeditor5-dev-build-tools/tests/build/fixtures/src/input.ts' ], rules: { 'no-console': 'off', diff --git a/packages/ckeditor5-dev-build-tools/package.json b/packages/ckeditor5-dev-build-tools/package.json index ea2a59312..c37993a9f 100644 --- a/packages/ckeditor5-dev-build-tools/package.json +++ b/packages/ckeditor5-dev-build-tools/package.json @@ -60,7 +60,7 @@ "@types/postcss-mixins": "^9.0.5", "@vitest/coverage-v8": "^2.0.0", "type-fest": "^4.10.2", - "typescript": "~5.6.0", + "typescript": "^5.6.0", "vitest": "^2.0.0" }, "scripts": { diff --git a/packages/ckeditor5-dev-build-tools/tests/build/fixtures/src/input.ts b/packages/ckeditor5-dev-build-tools/tests/build/fixtures/src/input.ts index 3629814ce..3b5fcefe2 100644 --- a/packages/ckeditor5-dev-build-tools/tests/build/fixtures/src/input.ts +++ b/packages/ckeditor5-dev-build-tools/tests/build/fixtures/src/input.ts @@ -4,7 +4,7 @@ */ // Test importing JSON. -import settings from './settings.json'; +import settings from './settings.json' with { type: 'json' }; // Test importing SVG. // eslint-disable-next-line @typescript-eslint/ban-ts-comment