-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Application-Server
: Java Code Formatting with Prettier (#136)
Co-authored-by: Felix T.J. Dietrich <[email protected]>
- Loading branch information
1 parent
1a1adb5
commit 37ef715
Showing
8 changed files
with
216 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Application-Server QA | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "server/application-server/**" | ||
- "!server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceservice/**" | ||
push: | ||
paths: | ||
- "server/application-server/**" | ||
- "!server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceservice/**" | ||
branches: [develop] | ||
|
||
jobs: | ||
quality: | ||
name: Code Quality Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22" | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Run Prettier | ||
run: npm run prettier:java:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"name": "Hephaestus", | ||
"path": "./" | ||
}, | ||
{ | ||
"name": "webapp", | ||
"path": "./webapp" | ||
}, | ||
{ | ||
"name": "server/application-server", | ||
"path": "./server/application-server" | ||
}, | ||
{ | ||
"name": "server/intelligence-service", | ||
"path": "./server/intelligence-service" | ||
}, | ||
{ | ||
"name": "server/webhook-ingest", | ||
"path": "./server/webhook-ingest" | ||
}, | ||
], | ||
"settings": { | ||
"java.compile.nullAnalysis.mode": "automatic", | ||
"python.terminal.activateEnvironment": true, | ||
"python.terminal.activateEnvInCurrentTerminal": true, | ||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python" | ||
} | ||
"folders": [ | ||
{ | ||
"name": "Hephaestus", | ||
"path": "./", | ||
}, | ||
{ | ||
"name": "webapp", | ||
"path": "./webapp", | ||
}, | ||
{ | ||
"name": "server/application-server", | ||
"path": "./server/application-server", | ||
}, | ||
{ | ||
"name": "server/intelligence-service", | ||
"path": "./server/intelligence-service", | ||
}, | ||
{ | ||
"name": "server/webhook-ingest", | ||
"path": "./server/webhook-ingest", | ||
}, | ||
], | ||
"settings": { | ||
"java.compile.nullAnalysis.mode": "automatic", | ||
"python.terminal.activateEnvironment": true, | ||
"python.terminal.activateEnvInCurrentTerminal": true, | ||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", | ||
"java.configuration.updateBuildConfiguration": "interactive", | ||
"java.completion.importOrder": ["#"], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tabWidth: 4 | ||
printWidth: 120 | ||
plugins: | ||
- prettier-plugin-java |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters