1
0
Fork 0
Commit Graph

484 Commits

Author SHA1 Message Date
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
ssube 5229ada847 feat(rules): load JSON rule files when using --rule-path 2019-11-03 13:13:24 -06:00
ssube c9a42f3863 fix(build): clean up after container builds 2019-11-03 13:13:24 -06:00
ssube 79b4c9a9db fix(build): add full build target for local and containers 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 f8059452bc feat(build): add build-in-image targets to make 2019-11-03 13:13:24 -06:00
ssube d2156a5b23 fix(tests): use count flag to check example errors 2019-11-03 13:13:24 -06:00
ssube e05d429164 artifact all output files 2019-11-03 13:13:24 -06:00
ssube 94fafb7fb7 fix typo 2019-11-03 13:13:24 -06:00
ssube fa75b38d8b run full tests in build job 2019-11-03 13:13:24 -06:00
ssube 0e1265a29c fix docker job stages 2019-11-03 13:13:24 -06:00
ssube c5f42d6d8f add stage back to docker jobs 2019-11-03 13:13:24 -06:00
ssube f9d3a44c9c fix(build): include template jobs 2019-11-03 13:13:24 -06:00
ssube 3ae94127b5 fix(build): replace template jobs with extends 2019-11-03 13:13:24 -06:00
ssube a5bb2f4db3 fix(build): adopt rollup-template makefile, CI scripts 2019-11-03 13:13:24 -06:00
ssube b3c66dc702 fix(rules/tsconfig): flatten target-lib using data refs 2019-11-02 07:36:48 -05:00
ssube 2b0dc923d3 feat: enable data refs 2019-11-02 07:36:48 -05:00
Renovate Bot d58ed74b65 update: update dependency rollup to v1.26.3 2019-11-02 07:30:42 -05:00