1
0
Fork 0
Commit Graph

16 Commits

Author SHA1 Message Date
ssube 26eda4c6fe lint: split rule visitor tests 2019-11-15 21:05:44 -06:00
ssube 4fef163e5b cover rule visitor's extraneous pick method 2019-11-15 21:05:44 -06:00
ssube 0ba6382253 introduce formal rule visitor 2019-11-15 21:05:44 -06:00
ssube 761c64851c test schema rule selecting 0 items 2019-11-15 21:05:44 -06:00
ssube eff5f648a8
lint(tests): helper for friendly error tests 2019-11-13 07:26:09 -06:00
ssube 41ac1b5849
lint: rename context inner options to schema 2019-11-12 08:25:09 -06:00
ssube 02ccffda6b
fix: log schema names correctly, do not log unmatched files 2019-11-12 07:59:44 -06:00
ssube 85b81ea86c
fix(tests): cover rule loading from file/path 2019-11-12 07:32:30 -06:00
ssube 13d42e8b6f fix: update log level to use enum 2019-11-10 22:05:20 -06:00
ssube f0b5109689 feat(rules): add item index to rule error (fixes #116) 2019-11-09 19:41:00 -06:00
ssube de5dd2833a lint: consolidate ajv-related code, visitor trait interfaces 2019-11-09 19:41:00 -06:00
ssube 705209620b feat(build): replace tslint with eslint 2019-11-09 17:52:16 -06:00
ssube 44b1a6019e fix(tests): cover visit rules pass and errors 2019-11-03 13:13:24 -06:00
ssube 842006c34a fix(visitor): remove error method from context
BREAKING CHANGE: rule errors must be grouped and returned in the rule
result, fixing #114 and keeping the context immutable.
2019-11-03 13:13:24 -06:00
ssube 59e7c138c0 fix: build a rule selector from args, log it in list mode 2019-11-03 13:13:24 -06:00
ssube b3dc864f0d feat: split rule and helpers, test rule 2019-11-03 13:13:24 -06:00