editorconfig

This commit is contained in:
Xujiayao 2025-07-31 21:50:59 +08:00
parent 1c0a08e494
commit adff4f2837
7 changed files with 23 additions and 6 deletions

17
.editorconfig Normal file
View file

@ -0,0 +1,17 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
max_line_length = 120
ij_continuation_indent_size = 8
[*.json]
indent_size = 2
[*.java]
indent_style = tab
tab_width = 4

View file

@ -20,4 +20,4 @@ public class DiscordMCChat implements ModInitializer {
LOGGER.info("Hello Fabric world!");
}
}
}

View file

@ -15,4 +15,4 @@ public class ExampleMixin {
// This code is injected into the start of MinecraftServer.loadLevel()V
LOGGER.info("This line is printed by an example mod mixin!");
}
}
}

View file

@ -11,4 +11,4 @@
"overwrites": {
"requireAnnotations": true
}
}
}

View file

@ -30,4 +30,4 @@
"suggests": {
"another-mod": "*"
}
}
}

View file

@ -15,4 +15,4 @@ public class ExampleMixin {
// This code is injected into the start of MinecraftServer.loadLevel()V
LOGGER.info("This line is printed by an example mod mixin!");
}
}
}

View file

@ -11,4 +11,4 @@
"overwrites": {
"requireAnnotations": true
}
}
}