Skip to content

Chore/dependencies #918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 0 additions & 93 deletions .eslint-es-rules.json

This file was deleted.

5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

49 changes: 0 additions & 49 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
2 changes: 0 additions & 2 deletions .ncurc.major.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ module.exports = {
...minorConfig.reject,
// @types/node is kept in line with the node version in .nvmrc and package.json#engines.node
'@types/node',
'eslint',
'eslint-plugin-json',
],
target: 'latest',
};
2 changes: 1 addition & 1 deletion .ncurc.minor.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ const patchConfig = require('./.ncurc.patch.cjs');

module.exports = {
...patchConfig,
reject: [...patchConfig.reject, 'typescript'],
reject: [...patchConfig.reject],
target: 'minor',
};
35 changes: 35 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import js from '@eslint/js';
import jasmine from 'eslint-plugin-jasmine';
import { defineConfig, globalIgnores } from 'eslint/config';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default defineConfig([
globalIgnores(['**/build/', '**/dist', '**/tmp/', '**/coverage']),
{
name: '@eslint/js recommended',
files: ['**/*.{js,cjs,mjs,ts}'],
...js.configs.recommended,
},
{
name: 'typescript-eslint recommended',
files: ['**/*.ts'],
extends: [tseslint.configs.recommended],
},
{
name: 'eslint-plugin-jasmine',
files: ['**/*.spec.ts', './e2e/protractor.conf.js'],
plugins: { jasmine },
languageOptions: {
globals: { ...globals.jasmine },
},
extends: [jasmine.configs.recommended],
},
{
name: 'Node.js globals',
files: ['./karma.conf.js', './e2e/protractor.conf.js'],
languageOptions: {
globals: { ...globals.node },
},
},
]);
4 changes: 4 additions & 0 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
'*.{js,cjs,mjs,json,ts}': ['eslint --no-error-on-unmatched-pattern --fix', 'prettier --write'],
'*.{yml,yaml}': ['prettier --write'],
};
27 changes: 15 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
"name": "my-app",
"version": "0.0.0",
"license": "EUPL-1.2",
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
"packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f",
"engines": {
"//": "Update @types/node to match the highest node version here",
"node": ">=20 <=22",
"pnpm": "^9"
"pnpm": "^10"
},
"scripts": {
"prepare": "husky",
"start": "ng serve",
"build": "ng build",
"test:chrome": "ng test",
"lint": "npm-run-all lint:**",
"lint:js": "eslint --ext .js,.cjs,.mjs,.json,.html,.ts,.tsx --no-error-on-unmatched-pattern .",
"lint:js": "eslint",
"lint:prettier": "prettier --check .",
"lint-fix:js": "eslint --ext .js,.cjs,.mjs,.json,.html,.ts,.tsx --no-error-on-unmatched-pattern .",
"lint-fix:js": "eslint --fix",
"prettier": "prettier --write .",
"e2e": "ng e2e",
"test-update": "pnpm run --if-present lint && pnpm run --if-present test && pnpm run --if-present build && pnpm run --if-present lint-build && pnpm run --if-present test-build",
Expand Down Expand Up @@ -44,35 +45,37 @@
"@angular-eslint/template-parser": "19.1.0",
"@angular/cli": "19.1.7",
"@angular/compiler-cli": "19.1.6",
"@eslint/js": "9.25.1",
"@eslint/json": "0.12.0",
"@ngx-translate/core": "16.0.4",
"@ngx-translate/http-loader": "16.0.1",
"@types/jasmine": "5.1.6",
"@types/node": "20.14.10",
"@typescript-eslint/eslint-plugin": "8.24.1",
"@typescript-eslint/parser": "8.24.1",
"@types/node": "22.14.1",
"@utrecht/component-library-angular": "2.1.0",
"@utrecht/component-library-css": "7.1.0",
"@utrecht/design-tokens": "2.5.0",
"@utrecht/web-component-library-angular": "2.1.0",
"@utrecht/web-component-library-stencil": "3.1.0",
"codelyzer": "6.0.2",
"eslint": "8.57.0",
"eslint-config-prettier": "10.0.1",
"eslint": "9.25.1",
"eslint-config-prettier": "10.1.2",
"eslint-plugin-jasmine": "4.2.2",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"husky": "9.1.7",
"jasmine-core": "5.6.0",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"lint-staged": "15.5.1",
"npm-check-updates": "17.1.14",
"npm-run-all": "4.1.5",
"prettier": "3.5.1",
"protractor": "7.0.0",
"ts-node": "10.9.2",
"typescript": "5.5.3"
"typescript": "5.5.3",
"typescript-eslint": "8.31.0"
}
}
Loading