Skip to content

Commit ed26c47

Browse files
authored
Replace IDEA's codestyle with editorconfig (docker-java#1312)
1 parent 9be9c5e commit ed26c47

4 files changed

Lines changed: 19 additions & 28 deletions

File tree

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
max_line_length = 140
7+
indent_style = space
8+
indent_size = 4
9+
tab_width = 4
10+
insert_final_newline = true
11+
12+
[*.java]
13+
ij_java_class_count_to_use_import_on_demand = 9999
14+
ij_java_names_count_to_use_import_on_demand = 9999
15+
16+
[{*.pom,*.xml}]
17+
indent_style = tab
18+
ij_xml_attribute_wrap = off

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
target
1212

1313
# Ignore InteliJ Idea project files
14-
.idea
15-
!.idea/codeStyleSettings.xml
16-
!.idea/encodings.xml
14+
.idea/
1715
*.iml
1816
*.iws
1917
*.ipr

.idea/codeStyleSettings.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.idea/encodings.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)