diff --git a/.coderabbit.yaml b/.coderabbit.yaml index d6aceaa..e8a52bc 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -1,3 +1,3 @@ reviews: auto_review: - base_branches: [ "htmx", "eta", "spring", "hono", "hono-web1", "hono-eta" ] + base_branches: ["htmx", "eta", "spring", "hono", "hono-web1", "hono-eta"] diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9ac109a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.java] +indent_style = space +indent_size = 2 + +[*.{html,css,json,yaml,yml,xml}] +indent_style = space +indent_size = 2 diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml new file mode 100644 index 0000000..07bd14c --- /dev/null +++ b/.github/workflows/autofix.yml @@ -0,0 +1,29 @@ +name: autofix.ci # needed to securely identify the workflow + +on: + pull_request: + push: + branches: ["main"] + +permissions: + contents: read + +jobs: + autofix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-java@v5 + with: + java-version: "25" + distribution: "temurin" + cache: maven + + - run: ./mvnw spotless:apply + + - uses: oven-sh/setup-bun@v2 + - run: bun install --frozen-lockfile + - run: bun run format + + - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 diff --git a/.idea/biome.xml b/.idea/biome.xml deleted file mode 100644 index bf802af..0000000 --- a/.idea/biome.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 84226ef..25d2196 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -9,7 +9,6 @@ - diff --git a/.idea/externalDependencies.xml b/.idea/externalDependencies.xml index 8beab07..995a31d 100644 --- a/.idea/externalDependencies.xml +++ b/.idea/externalDependencies.xml @@ -1,6 +1,7 @@ - + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 6786279..3bb963a 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,17 @@