Open bugsounet opened 3 weeks ago
Just a thought: Wouldn't that be a thing that belongs in check_config.js
?
yes, also.
check_config.js
check only syntax but it does not check the contents of the file
should we make some other checks on it too ?
well, this one is the first actual content that is important.. altho position should be checked too.. at least valid if specified.. that is another crash..
the user that reporteds the split problem said they ran config:check but it was good..
So, we have to check module: <name>
and position: <valid position>
(if defined)
we check it on check_config.js
and MM core ?
Personally, I think it's essential to apply the rules to both
I think so.. never crash..
ok, I will see to code it
Right, I will try to add needed rules with eslint in check_config.js
;)
I have never done this kind of test. bugsounet, it's time to learn :)
module name error:
position error:
No error:
I'm not sure that i can integrate it into eslint
What do you think @sdetweil ?
Before approuve some new deps. Thanks to review this :>
Fix #3442