Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
ci: various fixes (#544)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
lars-reimann and lars-reimann authored Jun 4, 2022
1 parent a2e5643 commit 06f91bb
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 47 deletions.
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Compilation/build outputs
build/
dist/
dist-ssr/

# GUI
/api-editor/gui/vite.config.ts
/api-editor/gui/src/theme/index.d.ts

# Backend
/api-editor/backend/src/main/resources/static/
File renamed without changes.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@

version: 2
updates:
- package-ecosystem: 'npm'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'monthly'
- package-ecosystem: 'npm'
directory: '/client'
- package-ecosystem: 'gradle'
directory: '/api-editor'
schedule:
interval: 'monthly'
- package-ecosystem: 'gradle'
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'monthly'
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: 'npm'
directory: '/api-editor/gui'
schedule:
interval: 'monthly'
- package-ecosystem: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ENABLE_LINTERS:
# - TERRAFORM_CHECKOV
- TSX_ESLINT
- TYPESCRIPT_ES
- TYPESCRIPT_STANDARD
# - TYPESCRIPT_STANDARD
- TYPESCRIPT_PRETTIER
# - VBDOTNET_DOTNET_FORMAT
- XML_XMLLINT
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build/
dist/
dist-ssr/

api-editor/server/src/main/resources/static/
api-editor/backend/src/main/resources/static/
14 changes: 0 additions & 14 deletions api-editor/.eslintignore

This file was deleted.

14 changes: 7 additions & 7 deletions api-editor/gui/package-lock.json

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

2 changes: 1 addition & 1 deletion api-editor/gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@chakra-ui/cli": "^1.8.1",
"@hookform/devtools": "^4.0.2",
"@lars-reimann/prettier-config": "^4.0.4",
"@lars-reimann/prettier-config": "^5.0.0",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/jest": "^27.4.0",
Expand Down
2 changes: 1 addition & 1 deletion api-editor/gui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"noEmit": true,
"jsx": "react"
},
"include": ["src/"],
"include": ["src/**/*"],
"exclude": ["**/*.test.ts"]
}
8 changes: 0 additions & 8 deletions api-editor/tsconfig.eslint.json

This file was deleted.

14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"prettier": "@lars-reimann/prettier-config",
"devDependencies": {
"@lars-reimann/eslint-config": "^4.1.2",
"@lars-reimann/eslint-config": "^4.2.0",
"@lars-reimann/prettier-config": "^5.0.0"
}
}
8 changes: 8 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./api-editor/gui/tsconfig.json",
"compilerOptions": {
"noEmit": true
},
"include": ["./.eslintrc.js", "./api-editor/gui/src/**/*", "./api-editor/gui/vite.config.ts"],
"exclude": []
}

0 comments on commit 06f91bb

Please sign in to comment.