Skip to content

Commit 16e0503

Browse files
build: Added .editorconfig to project (gluonhq#571)
1 parent 8c66e57 commit 16e0503

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
root = true
3+
4+
[*.java]
5+
indent_style = space
6+
indent_size = 4
7+
8+
[*.fxml]
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.yml]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[pom.xml]
17+
indent_style = space
18+
indent_size = 4
19+

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,4 @@ There will be a report for each sub-project, one for `app` and one for `kit`.
110110
* Kit: `kit/target/site/checkstyle.html`
111111
* App: `app/target/site/checkstyle.html`
112112

113+
This project makes use of [EditorConfig](https://editorconfig.org/) which is [directly supported](https://editorconfig.org/#pre-installed) by IntelliJ IDEA. There are plugins for NetBeans, Eclipse and Visual Studio and [more](https://editorconfig.org/#download). EditorConfig ensures via configuration in `.editorconfig` file, that the proper indentation is used.

0 commit comments

Comments
 (0)