Skip to content
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
22 changes: 0 additions & 22 deletions .eslintrc.js

This file was deleted.

11 changes: 0 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@ updates:
- 'dependencies'
- 'automerge'
- "kodiak: merge.method = 'squash'"
ignore:
# Need to wait until every plugin support eslint 9
#
# It also dropped support for .eslintrc file in favor of flat config
# Which means that we might need to completely rewrite/restructure our config
#
# ref: https://eslint.org/docs/latest/use/configure/migration-guide
#
- dependency-name: eslint
versions:
- '>= 9'
groups:
babel:
patterns:
Expand Down
5 changes: 1 addition & 4 deletions .github/pull_request_review_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
LGTM :+1:

#### Review checklist according to [SOP-13][1] & [SOP-014][2]
#### Review checklist according to SOP-13 & SOP-014

- [ ] Code is readable
- [ ] Test coverage is appropriate
- [ ] CHANGELOG entry is correct
- [ ] I manually tested the changes and checked that related features do not have any regressions
- [ ] I confirmed that all specifications linked to the issue are fulfilled
- [ ] I checked newly added dependencies for their licenses

[1]: https://drive.google.com/file/d/1fD1ZcsBTywlMVTObTmNLrg55khrYMI_L/view
[2]: https://drive.google.com/file/d/1uRnMtykgw1Gzo2nRp-TPnESgmYoEIfBf/view
17 changes: 0 additions & 17 deletions .github/settings.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/auto_author_assign.yml

This file was deleted.

21 changes: 1 addition & 20 deletions .github/workflows/dependabot_dedupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,4 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: fregante/setup-git-user@v1

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Dedupe if needed
env:
HUSKY: 0
run: |
corepack enable
yarn dedupe

if [[ -n $(git status -s) ]]; then
git add .
git commit -m '[dependabot skip] Dedupe dependencies'
git push
fi
- uses: laboperator-gmbh/github-actions/yarn-dedupe@v1
12 changes: 5 additions & 7 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@ name: Linters

on:
pull_request:
branches-ignore:
- 'main'

jobs:
eslint:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- run: corepack enable
- uses: actions/setup-node@v5
with:
node-version-file: ".nvmrc"

cache: yarn
- run: yarn install
- name: eslint
uses: reviewdog/action-eslint@v1
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions dist/validation.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 11 additions & 31 deletions dist/validation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/validation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { defineConfig } from 'eslint/config';
import jest from 'eslint-plugin-jest';
import nodeConfig from '@laboperator-gmbh/eslint-config-node';

export default defineConfig(
nodeConfig,
{ ignores: ['**/dist'] },
{
rules: {
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
},
{
files: ['**/__tests__/**/*.test.ts'],

extends: [jest.configs['flat/recommended']],
rules: {
'max-nested-callbacks': 'off',
},
},
);
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@laboperator-gmbh/config": "~0.1.10",
"@laboperator-gmbh/eslint-config-node": "~0.1.10",
"@laboperator-gmbh/config": "~0.2.0",
"@laboperator-gmbh/eslint-config-node": "~0.2.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.21",
"@types/node": "^24.10.1",
"eslint": "^8.57.1",
"eslint": "^9.39.1",
"eslint-plugin-jest": "^29.2.1",
"fast-glob": "^3.3.3",
"husky": "^9.1.7",
Expand All @@ -63,5 +63,5 @@
"typescript": "^5.9.3",
"yaml": "^2.8.2"
},
"packageManager": "yarn@4.0.1"
"packageManager": "yarn@4.12.0"
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@laboperator-gmbh/config/tsconfig.json",
"extends": "@laboperator-gmbh/config/tsconfig",
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
Expand Down
Loading