-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spellchecker and fix spelling (#272)
Uses CSpell as an GitHub action to check for spelling mistakes. Also fixes a lot of spelling mistakes in yarn.
- Loading branch information
Showing
111 changed files
with
373 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: "Check spelling" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
spellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: streetsidesoftware/cspell-action@v3 | ||
with: | ||
config: "cspell.config.json" | ||
files: "mappings/**/*.mapping" | ||
incremental_files_only: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
// cSpell Settings | ||
// | ||
// You can easily install cSpell with npm: | ||
// npm install cspell --global | ||
// | ||
// To spellcheck the mappings run: | ||
// cspell mappings/**/*.mapping --no-progress | ||
// | ||
{ | ||
// language - current active spelling language | ||
"language": "en", | ||
// list of patterns to be ignored | ||
"ignoreRegExpList": [ | ||
// ignores method parameters like: '(IFFF)', '(DDDDDDFD)' | ||
"/\\(.+\\)/g", | ||
// ignores types like: 'Ljava/lang/String;' | ||
"/L[A-Za-z0-9/_$]+;/g" | ||
], | ||
// words - list of words to be always considered correct | ||
"words": [ | ||
"alloc", | ||
"attackable", | ||
"authlib", | ||
"BIOMESET", | ||
"blit", | ||
"BLOCKSTATE_PROPERTY", | ||
"bossbar", | ||
"breedable", | ||
"CAERBANNOG_RABBIT", | ||
"CHAINMAIL", | ||
"CHESTPLATE", | ||
"clazz", | ||
"CLOWNFISH", | ||
"collidable", | ||
"concat", | ||
"confiming", | ||
"cooldown", | ||
"craftable", | ||
"CREEBET", | ||
"datafix", | ||
"datafixer", | ||
"DEADBUSH", | ||
"Deadmau5", | ||
"Decryptor", | ||
"deflater", | ||
"deop", | ||
"despawn", | ||
"dont", | ||
"DOWNLEFT", | ||
"dpfail", | ||
"dppass", | ||
"drainable", | ||
"elytra", | ||
"enchantability", | ||
"enchantable", | ||
"Encryptor", | ||
"ENDERCHEST", | ||
"enderdragon", | ||
"enderman", | ||
"endermite", | ||
"EPOLL", | ||
"equipable", | ||
"etho", | ||
"fabricmc", | ||
"flowable", | ||
"FORCEFIELD", | ||
"framebuffer", | ||
"fullscreen", | ||
"gamemode", | ||
"gamerules", | ||
"GLOWSTONE", | ||
"gson", | ||
"heightmap", | ||
"hitbox", | ||
"hitboxes", | ||
"HOLDABLES", | ||
"hotbar", | ||
"hoverable", | ||
"illager", | ||
"infestable", | ||
"ingame", | ||
"ints", | ||
"invisibles", | ||
"itemable", | ||
"itemgroup", | ||
"kbps", | ||
"keybind", | ||
"knockback", | ||
"lerp", | ||
"lfloor", | ||
"lightmap", | ||
"lwjgl", | ||
"minecart", | ||
"minecarts", | ||
"mineshafts", | ||
"mipmap", | ||
"MIPPED", | ||
"mojang", | ||
"mooshroom", | ||
"mtick", | ||
"neighbour", | ||
"neighbours", | ||
"NETHERBRICK", | ||
"NETHERRACK", | ||
"NIGHTVISION", | ||
"NOTEBLOCK", | ||
"npcs", | ||
"occulsion", | ||
"opengl", | ||
"overworld", | ||
"PAEONIA", | ||
"pathed", | ||
"pathfinding", | ||
"pathing", | ||
"PerlinNoise", | ||
"pigman", | ||
"PIGSCENE", | ||
"PODZOL", | ||
"Populator", | ||
"PORKCHOP", | ||
"pottable", | ||
"Prepender", | ||
"println", | ||
"PRISMARINE", | ||
"Programi", | ||
"PUFFERFISH", | ||
"PURPUR", | ||
"pushable", | ||
"randomizer", | ||
"raycast", | ||
"rcon", | ||
"RECORD_MELLOHI", | ||
"RECORD_STAL", | ||
"RECORD_STRAD", | ||
"regen", | ||
"reloadable", | ||
"renderable", | ||
"renderbuffer", | ||
"resourcepack", | ||
"respawn", | ||
"rgba", | ||
"rtmp", | ||
"schoolable", | ||
"sfail", | ||
"Shaderi", | ||
"shulker", | ||
"shulkers", | ||
"singleplayer", | ||
"SLIMEBALL", | ||
"snoopable", | ||
"snopper", | ||
"SOULSAND", | ||
"spawnable", | ||
"stackable", | ||
"strikethrough", | ||
"superflat", | ||
"surfacebuilder", | ||
"SYSOUT", | ||
"TALLGRASS", | ||
"tallocated", | ||
"tcache", | ||
"teleporter", | ||
"teleporting", | ||
"tessellator", | ||
"tezzelator", | ||
"tickable", | ||
"tickables", | ||
"TimeMillis", | ||
"TimeNanos", | ||
"unblockable", | ||
"UNBREAKING", | ||
"UNCRAFTABLE", | ||
"UNPOWERED", | ||
"USERFILTER", | ||
"voxel", | ||
"voxels", | ||
"vsync" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aft/advancement/AdvacementRewards.mapping → ...ft/advancement/AdvancementRewards.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CLASS net/minecraft/class_3337 net/minecraft/advancement/AdvacementRewards | ||
CLASS net/minecraft/class_3337 net/minecraft/advancement/AdvancementRewards | ||
FIELD field_16303 REWARDS Lnet/minecraft/class_3337; | ||
METHOD method_14859 (Lnet/minecraft/class_798;)V | ||
ARG 1 player |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...erion/CuredZombieVilagerCriterion.mapping → ...rion/CuredZombieVillagerCriterion.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.