mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-05-09 14:18:33 +00:00
This PR removes `ajv` from module position validation in `js/utils.js` and replaces it with straightforward JavaScript checks. The old schema only covered a few basic structure rules, so using `ajv` here felt heavier than necessary. The updated validation keeps the same expected behavior for valid configs and unknown-position warnings, but the code path is now easier to read and easier to reason about when something goes wrong. Outcome: same validation behavior, one less dependency, less lines of production code and better test coverage.