Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/jest2 #322

Merged
merged 12 commits into from
Nov 9, 2024
50 changes: 0 additions & 50 deletions .github/workflows/format-json-files.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ node_modules
client/server
lib
lib/
reports
reports
coverage
1 change: 0 additions & 1 deletion .mcignore

This file was deleted.

7 changes: 0 additions & 7 deletions .mocharc.json

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ JSON validation can give snippets for sub items, as well as description, but thi
- [Animations](resource/animations/animations.json)
- [Animation Controllers](resource/animation_controllers/animation_controller.json)
- [Attachables](resource/attachables/attachables.json)
- [Biomes](resource/biomes/biomes.json)
- [Biomes client](resource/biomes_client.json)
- [Blocks](resource/blocks.json)
- [Entity](resource/entity/entities.json)
Expand Down
2 changes: 1 addition & 1 deletion behavior/biomes/biomes.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/blocks/blocks.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/entities/entities.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/feature_rules/feature_rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/features/features.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/items/items.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/loot_tables/loot_tables.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/recipes/recipes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion behavior/spawn_rules/spawn_rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/trading/trading.json

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: [
'**/coverage/*',
'**/lib/*',
'**/node_modules/*',
'lib/*'
],
},
{
files: ["**/*.ts"],

extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
plugins: {
jest: {},
},
},
{
rules: {
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-case-declarations": "off",
},
}
);
Loading