Skip to content

Commit

Permalink
add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
celestialfault committed Jan 5, 2024
1 parent 8ffa86c commit 541dafa
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 27 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
tab_width = 4
indent_style = tab

[*.md]
indent_style = space
indent_size = 2

[*.properties]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2
insert_final_newline = false
54 changes: 27 additions & 27 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"schemaVersion": 1,
"id": "toggle-toggle-sprint",
"version": "${version}",
"name": "Toggle Toggle Sprint",
"description": "A toggle sprint mod using the vanilla toggle controls",
"authors": ["celeste"],
"contact": {
"sources": "https://github.com/celestialfault/toggle-toggle-sprint",
"issues": "https://github.com/celestialfault/toggle-toggle-sprint/issues"
},
"license": "CC0-1.0",
"environment": "client",
"entrypoints": {
"client": ["me.celestialfault.toggletogglesprint.ToggleToggleSprint"],
"modmenu": ["me.celestialfault.toggletogglesprint.ModMenuCompat"]
},
"accessWidener": "toggle-toggle-sprint.accesswidener",
"mixins": ["toggle-toggle-sprint.mixins.json"],
"depends": {
"fabricloader": ">=0.15",
"schemaVersion": 1,
"id": "toggle-toggle-sprint",
"version": "${version}",
"name": "Toggle Toggle Sprint",
"description": "A toggle sprint mod using the vanilla toggle controls",
"authors": ["celeste"],
"contact": {
"sources": "https://github.com/celestialfault/toggle-toggle-sprint",
"issues": "https://github.com/celestialfault/toggle-toggle-sprint/issues"
},
"license": "CC0-1.0",
"environment": "client",
"entrypoints": {
"client": ["me.celestialfault.toggletogglesprint.ToggleToggleSprint"],
"modmenu": ["me.celestialfault.toggletogglesprint.ModMenuCompat"]
},
"accessWidener": "toggle-toggle-sprint.accesswidener",
"mixins": ["toggle-toggle-sprint.mixins.json"],
"depends": {
"fabricloader": ">=0.15",
"fabric-api": "*",
"minecraft": ">=1.20.1",
"java": ">=17"
},
"recommends": {
"yet_another_config_lib_v3": "*",
"modmenu": "*"
}
"minecraft": ">=1.20.1",
"java": ">=17"
},
"recommends": {
"yet_another_config_lib_v3": "*",
"modmenu": "*"
}
}
1 change: 1 addition & 0 deletions src/main/resources/toggle-toggle-sprint.mixins.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"required": true,
"minVersion": "0.8",
"package": "me.celestialfault.toggletogglesprint.mixins",
"compatibilityLevel": "JAVA_17",
"injectors": {
Expand Down

0 comments on commit 541dafa

Please sign in to comment.