ssube
0b5fe3d5e5
feat(rules): add rules to validate json schemas
2019-11-10 19:11:55 -06:00
ssube
84d2ba470b
fix(docs): put contents in section, use yarn-global target
2019-11-10 19:04:07 -06:00
ssube
7187cac40c
fix(build): handle unplaced chunks
2019-11-10 18:20:14 -06:00
ssube
6e603456d4
update badges
2019-11-10 18:17:53 -06:00
ssube
1fa6bada47
feat(build): add sonar job
2019-11-10 09:59:58 -06:00
ssube
28cb080eb8
update commits-since badge
2019-11-10 08:32:54 -06:00
ssube
bc9348b82f
chore(release): 0.8.0
2019-11-10 07:28:45 -06:00
ssube
473b840c5b
consistent header tense
2019-11-10 07:01:39 -06:00
ssube
00c7b89f93
fix(rule): allow leading directories in rule path glob
2019-11-09 23:04:18 -06:00
Renovate Bot
5609dfb4c6
update: pin dependencies
2019-11-09 22:50:04 -06:00
ssube
3cbf443ee6
fix(docs): add rule options to readme
2019-11-09 22:48:15 -06:00
ssube
6f4b324cc8
feat: recursively load rules ( fixes #135 )
2019-11-09 22:40:30 -06:00
ssube
c746f621af
fix(build): add shebang to index
2019-11-09 22:39:56 -06:00
ssube
e0dca3c3ad
fix: export exit statuses
2019-11-09 21:56:49 -06:00
Renovate Bot
7e24bc0724
update: pin dependencies
2019-11-09 21:55:39 -06:00
ssube
80d3cb8903
fix(build): update rollup config from template
2019-11-09 21:47:19 -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
Renovate Bot
235ccb0ccd
update: update dependency typescript to v3.7.2
2019-11-09 20:11:28 -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
Renovate Bot
9183ef3307
update: pin dependencies
2019-11-09 19:39:46 -06:00
ssube
705209620b
feat(build): replace tslint with eslint
2019-11-09 17:52:16 -06:00
Renovate Bot
27bb602ad1
update: update dependency rollup to v1.26.4
2019-11-09 17:25:10 -06:00
Renovate Bot
863ceffa44
update: update dependency @types/lodash to v4.14.146
2019-11-09 03:47:42 -06:00
Renovate Bot
785239e0f0
update: update dependency @microsoft/api-extractor to v7.5.5
2019-11-06 18:54:58 -06:00
Renovate Bot
72f4d8cc0c
update: update dependency @types/lodash to v4.14.145
2019-11-06 18:52:45 -06:00
Renovate Bot
fe80c68d9f
update: update dependency @microsoft/api-documenter to v7.5.7
2019-11-06 17:20:33 -06:00
Renovate Bot
9781500d86
update: update dependency @microsoft/api-extractor to v7.5.4
2019-11-06 15:23:16 -06:00
Renovate Bot
73afa51b78
update: update dependency tslint to v5.20.1
2019-11-06 07:58:56 -06:00
Renovate Bot
153d20aee0
update: update dependency rollup-plugin-typescript2 to v0.25.2
2019-11-06 07:21:49 -06:00
Renovate Bot
63a06b43b8
update: update dependency @microsoft/api-documenter to v7.5.6
2019-11-06 06:03:49 -06:00
Renovate Bot
717555df8e
update: pin dependencies
2019-11-03 13:54:11 -06:00
ssube
8ab6bb24d5
fix(docs): cover loading rules from module and path
2019-11-03 13:13:24 -06:00
ssube
44b1a6019e
fix(tests): cover visit rules pass and errors
2019-11-03 13:13:24 -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
a3b8341b75
fix(docs): note pretty-printing logs
2019-11-03 13:13:24 -06:00
ssube
988b942fca
fix(rules): filter gitlab jobs better
...
list other top-level keys and replace the patternProperties filter
with additionalProperties to prevent top-level keys from being
validated as jobs (which they will fail)
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
247e1ab03d
fix(tests): add gitlab CI test snippet, move test snippets into test dir
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