Enforce code formatting via Prettier #44

Merged
tozh4728 merged 6 commits from prettier into develop 2024-12-02 14:18:04 +01:00

6 Commits

Author SHA1 Message Date
b6e54c525e Merge branch 'develop' into prettier
All checks were successful
Build and test / build-and-test (push) Successful in 7m5s
# Conflicts:
#	core/src/main/java/se/su/dsv/scipro/daisyExternal/http/DaisyAPIImpl.java
#	daisy-integration/src/main/java/se/su/dsv/scipro/integration/daisy/workers/ProjectExporter.java
2024-12-02 12:35:41 +01:00
b2bcabdb55 Merge branch 'develop' into prettier
All checks were successful
Build and test / build-and-test (push) Successful in 9m48s
# Conflicts:
#	core/src/main/java/se/su/dsv/scipro/plagiarism/urkund/UrkundSubmissionRepositoryImpl.java
2024-12-02 11:09:15 +01:00
b599ab9a94 Reformat with 120 line length
All checks were successful
Build and test / build-and-test (push) Successful in 11m52s
2024-12-02 10:58:48 +01:00
f3d0940c88 Increase line length to 120 2024-12-02 10:57:40 +01:00
98c5f51ffa Run Prettier on the entire project
All checks were successful
Build and test / build-and-test (push) Successful in 7m19s
2024-11-29 12:51:31 +01:00
3071249d81 Introduce Prettier for code formatting
The formatting is validated during the Maven phase `verify` (on the parent project so the absolute first thing that happens). There is no automated reformatting done in the default lifecycle but there are instructions on how to execute it.

Prettier is *very* opinionated with no configuration options.
2024-11-29 12:50:34 +01:00