Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 06f91bb

Browse files
authored
ci: various fixes (#544)
* fix: move ESLint config files to repo root * chore: disable TYPESCRIPT_STANDARD linter * build: update linter configs * build: fix Dependabot config * build: fix prettier ignore list * build: possible fix for lint error * build: possible fix that tsconfig.json is not found * build: include .eslintrc instead of ignoring it * style: apply automatic fixes of linters Co-authored-by: lars-reimann <[email protected]>
1 parent a2e5643 commit 06f91bb

13 files changed

+44
-47
lines changed

.eslintignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Compilation/build outputs
2+
build/
3+
dist/
4+
dist-ssr/
5+
6+
# GUI
7+
/api-editor/gui/vite.config.ts
8+
/api-editor/gui/src/theme/index.d.ts
9+
10+
# Backend
11+
/api-editor/backend/src/main/resources/static/
File renamed without changes.

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: 'npm'
8+
- package-ecosystem: 'github-actions'
99
directory: '/'
1010
schedule:
1111
interval: 'monthly'
12-
- package-ecosystem: 'npm'
13-
directory: '/client'
12+
- package-ecosystem: 'gradle'
13+
directory: '/api-editor'
1414
schedule:
1515
interval: 'monthly'
16-
- package-ecosystem: 'gradle'
16+
- package-ecosystem: 'npm'
1717
directory: '/'
1818
schedule:
1919
interval: 'monthly'
20-
- package-ecosystem: 'github-actions'
21-
directory: '/'
20+
- package-ecosystem: 'npm'
21+
directory: '/api-editor/gui'
2222
schedule:
2323
interval: 'monthly'
2424
- package-ecosystem: 'pip'

.mega-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ENABLE_LINTERS:
111111
# - TERRAFORM_CHECKOV
112112
- TSX_ESLINT
113113
- TYPESCRIPT_ES
114-
- TYPESCRIPT_STANDARD
114+
# - TYPESCRIPT_STANDARD
115115
- TYPESCRIPT_PRETTIER
116116
# - VBDOTNET_DOTNET_FORMAT
117117
- XML_XMLLINT

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ build/
33
dist/
44
dist-ssr/
55

6-
api-editor/server/src/main/resources/static/
6+
api-editor/backend/src/main/resources/static/

api-editor/.eslintignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

api-editor/gui/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-editor/gui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@chakra-ui/cli": "^1.8.1",
4343
"@hookform/devtools": "^4.0.2",
44-
"@lars-reimann/prettier-config": "^4.0.4",
44+
"@lars-reimann/prettier-config": "^5.0.0",
4545
"@testing-library/jest-dom": "^5.16.2",
4646
"@testing-library/react": "^12.1.3",
4747
"@types/jest": "^27.4.0",

api-editor/gui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"noEmit": true,
1616
"jsx": "react"
1717
},
18-
"include": ["src/"],
18+
"include": ["src/**/*"],
1919
"exclude": ["**/*.test.ts"]
2020
}

api-editor/tsconfig.eslint.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"prettier": "@lars-reimann/prettier-config",
66
"devDependencies": {
7-
"@lars-reimann/eslint-config": "^4.1.2",
7+
"@lars-reimann/eslint-config": "^4.2.0",
88
"@lars-reimann/prettier-config": "^5.0.0"
99
}
1010
}

tsconfig.eslint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./api-editor/gui/tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": true
5+
},
6+
"include": ["./.eslintrc.js", "./api-editor/gui/src/**/*", "./api-editor/gui/vite.config.ts"],
7+
"exclude": []
8+
}

0 commit comments

Comments
 (0)