1
0
Fork 0
Commit Graph

21 Commits

Author SHA1 Message Date
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 b49b889c61 lint: fix lint issues 2019-11-09 19:41:00 -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 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 b5d4698e5a fix(rules): remove redundant rule field from result
the value of the rule field is always this and it is unused by the
visitor.
2019-11-03 13:13:24 -06:00
ssube b99431b368 feat(visitor): move jsonpath pick to context for modules to use 2019-11-03 13:13:24 -06:00
ssube 29e9462ca9 fix(visitor): log added schemas correctly 2019-11-03 13:13:24 -06:00
ssube 2b0dc923d3 feat: enable data refs 2019-11-02 07:36:48 -05:00
ssube 2bb48b0b87
lint: fix things 2019-09-11 08:48:14 -05:00
ssube c9c1a58407 feat(visitor): improve error messages (#20) 2019-09-11 07:08:49 -05:00
ssube 9a3a32704a
revert "fix: star import"
This reverts commit 93f4917121.
2019-09-08 14:18:36 -05:00
ssube 93f4917121
fix: star import 2019-09-08 09:15:08 -05:00
ssube 45a53a9821
fix(build): switch to relative imports 2019-08-30 00:24:12 -05:00
ssube 30ab437da3
feat: make fix mode mutations and defaults independent 2019-07-04 13:58:25 -05:00
ssube eb1fdd3f30 formalize visitor, results, etc 2019-06-23 22:48:07 -05:00
ssube 6f15d1c621 feat: display diff when rule modifies data (fixes #3) 2019-06-22 11:48:41 -05:00
ssube 719954e2a8 feat: fix mode and type coercion 2019-06-17 07:11:36 -05:00
ssube 9a25fb97a8 feat: clean rules up with a bit of a visitor pattern 2019-06-16 13:30:04 -05:00