Skip to content

Commit

Permalink
Convert Tabs to Spaces (#81)
Browse files Browse the repository at this point in the history
* Change tabs to spaces...

* Apply some previous BreweryX styles

* Optimize imports, remove wildcard imports

* Update CONTRIBUTING.md

* style: Reformat

* chore: Separate some Java specific properties in .editorconfig
  • Loading branch information
Nadwey authored Jan 9, 2025
1 parent 1730371 commit 06649cf
Show file tree
Hide file tree
Showing 140 changed files with 16,111 additions and 15,952 deletions.
13 changes: 9 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@ root = true

[*]
end_of_line = lf
ij_any_spaces_within_array_initializer_braces = true
insert_final_newline = true
indent_style = tab
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 120

[*.java]
ij_any_field_annotation_wrap = off
ij_java_do_not_wrap_after_single_annotation = true
ij_java_class_count_to_use_import_on_demand = 999
ij_java_names_count_to_use_import_on_demand = 999

[*.yml]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

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

10 changes: 6 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ We follow [Oracle's Standard Programming Practices](https://www.oracle.com/java/
with the exception of `10.5.1 Parentheses`. As long as your operator expressions are
*clear enough*, you should be fine.

To maintain code clarity, use IntelliJ IDEA's 'Reformat Code' function before finishing your work.

### License Headers

Not required for submitting PRs to BreweryX. IntelliJ IDEs should recognize
the copyright included in the .idea folder automatically.
the copyright included in the `.idea` folder automatically.

### Should Your Contribution Be an Addon?

Expand All @@ -38,7 +40,7 @@ a local library.

### Translation Contributions

Translations for BreweryX are always welcome!
Translations for BreweryX are always welcome!

Translation contributions should include a `config-langs` and `languages` addition.
One being a translation for the all configuration files of BreweryX and the other being a translation for
Expand Down Expand Up @@ -100,9 +102,9 @@ Learn how to use Codespaces: https://docs.github.com/en/codespaces

### Contributions Manually

I don't recommend editing files without the proper tools like [Git](https://git-scm.com/downloads) or [Codespaces](https://docs.github.com/en/codespaces)
I don't recommend editing files without the proper tools like [Git](https://git-scm.com/downloads) or [Codespaces](https://docs.github.com/en/codespaces)
at your disposal. If you choose to contribute manually, feel free to, but there won't be a tutorial for
this.
this.


### Opening a Pull Request
Expand Down
Loading

0 comments on commit 06649cf

Please sign in to comment.