Harrisandwich / dndint-server

MIT License
0 stars 0 forks source link

Validators for Campaign and Charactor files #9

Open Harrisandwich opened 5 years ago

Harrisandwich commented 5 years ago

It could be handy for myself as well as for future players and DMs if I could put together some sort of validator/linter that can look through a campaign or charactor and spit out warning and errors based on a ruleset. Would help players and dms avoid using faulty files and it means that I won't have to code a bunch of failsafes to prevent bad files from being used, or have them fail gracefully.

Warnings would be put out for undefined props, notifying the user that it will default to a certain value if not explicitly defined.

Errors are things that would break the app if it tried to run with that file