ssube
|
00c7b89f93
|
fix(rule): allow leading directories in rule path glob
|
2019-11-09 23:04:18 -06:00 |
ssube
|
6f4b324cc8
|
feat: recursively load rules (fixes #135)
|
2019-11-09 22:40:30 -06:00 |
ssube
|
e0dca3c3ad
|
fix: export exit statuses
|
2019-11-09 21:56:49 -06:00 |
ssube
|
91fb1aff34
|
adopt everything but rollup config (#118)
|
2019-11-09 21:47:19 -06:00 |
ssube
|
53e00c59a1
|
feat: adopt rollup template index (fixes #118)
|
2019-11-09 21:47:19 -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
|
ebe15fb207
|
fix: extract rule interface
|
2019-11-03 13:13:24 -06:00 |
ssube
|
fcd4740eee
|
fix(visitor): include rule name and selector in error messages
|
2019-11-03 13:13:24 -06:00 |
ssube
|
5fefe0c79d
|
fix(config): group yargs to fix result TS interface
|
2019-11-03 13:13:24 -06:00 |
ssube
|
97256855ac
|
fix(visitor): handle missing errors gracefully
|
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
|
0c30036c98
|
fix(rules): group rule errors to trigger correct failure (#114)
|
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
|
a2a0fb4423
|
fix: move completion into main, remove weird exit from arg parsing
|
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
|
05f3f2f315
|
fix: include active/loaded rule count in list mode output
|
2019-11-03 13:13:24 -06:00 |
ssube
|
5229ada847
|
feat(rules): load JSON rule files when using --rule-path
|
2019-11-03 13:13:24 -06:00 |
ssube
|
9fbf7cc0c7
|
feat: load rules from directories (#8) and modules (#6)
|
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
|
4159004dd4
|
lint: remove confusing *sync wrapper names
|
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 |
ssube
|
2b0dc923d3
|
feat: enable data refs
|
2019-11-02 07:36:48 -05:00 |
ssube
|
63b6e48cc7
|
fix(rule): log and apply mutation when rule has > 0 diffs
|
2019-11-01 05:46:31 -05:00 |
ssube
|
6ab7d9c6e4
|
fix(config): pass include errors as nested cause
|
2019-11-01 05:42:03 -05:00 |
ssube
|
4a05fcdba2
|
fix(config/include): handle more errors in include
|
2019-10-28 22:41:52 -05:00 |
ssube
|
5160eaa93d
|
fix(rule): print failure message when errors are present
|
2019-10-28 22:06:58 -05:00 |
ssube
|
c76781b113
|
fix(build): replace app with package in version data
|
2019-09-30 08:10:57 -05:00 |
ssube
|
b6ac7201e9
|
lint: disable any warnings
|
2019-09-11 19:30:01 -05:00 |
ssube
|
2bb48b0b87
|
lint: fix things
|
2019-09-11 08:48:14 -05:00 |
ssube
|
71ef38b82e
|
lint: flatten flow control in rule diff func
|
2019-09-11 07:08:49 -05:00 |
ssube
|
67a61f6d8a
|
feat: include data path in error messages
|
2019-09-11 07:08:49 -05:00 |
ssube
|
80f2ea6521
|
lint(rule): get rid of some anys
|
2019-09-11 07:08:49 -05:00 |
ssube
|
a13a9095bc
|
fix(tests): begin testing friendly errors, other errors (exceptions)
|
2019-09-11 07:08:49 -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
|
0ab6de765d
|
fix(build): switch to relative imports
|
2019-09-01 02:03:20 -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
|
23b791f9ce
|
fix: use global yargs to fix bundle
|
2019-07-04 11:11:30 -05:00 |
ssube
|
fff81552f0
|
fix(docs): remove container and package scopes
|
2019-07-04 10:54:35 -05:00 |
ssube
|
8b8d669b46
|
fix: wrap yargs and exit after completion
|
2019-07-04 10:52:17 -05:00 |
ssube
|
8b9d84ef87
|
fix: print completion or rules before attempting to load source
|
2019-07-04 10:35:27 -05:00 |
ssube
|
39c0e4ba76
|
feat: add command completion
BREAKING CHANGE: the `--mode` option has been replaced by a positional
command, but the options and defaults are unchanged.
|
2019-07-04 09:46:40 -05:00 |
ssube
|
15933ba620
|
feat: add default rule selector
|
2019-06-30 21:03:12 -05:00 |
ssube
|
5f5b9939cc
|
fix: make -v an alias for --version
|
2019-06-30 20:09:38 -05:00 |