ssube
|
61498e7fab
|
cover rule module defs directly
|
2019-11-18 06:28:06 -06:00 |
ssube
|
089725ef60
|
cover rule file and module validation
|
2019-11-18 06:28:06 -06:00 |
ssube
|
197b6119a8
|
lint: replace negated nil checks with positive assertion
|
2019-11-18 06:28:06 -06:00 |
ssube
|
8c1c45dfeb
|
fix(rules): remove min length from rule desc
With config and rule validation, the minLength of 8 was breaking
some tests and was likely to break both example and real rules. It
has been removed.
|
2019-11-18 06:28:06 -06:00 |
ssube
|
c1ff388aff
|
feat: validate config while loading
|
2019-11-18 06:28:06 -06:00 |
ssube
|
dbfe0429fa
|
feat: validate rules while loading
|
2019-11-18 06:28:06 -06:00 |
ssube
|
1b15952c05
|
lint: flatten rule resolver to logic
|
2019-11-16 20:01:41 -06:00 |
ssube
|
b3fa9dd9be
|
fix(tests): cover rule module error handling, exclude by level
|
2019-11-16 20:01:41 -06:00 |
ssube
|
c0eb3e0bfc
|
fix(tests): cover read config, rule module helpers
|
2019-11-16 20:01:41 -06:00 |
ssube
|
0f214ed2dc
|
rudimentary coverage for fix mode
|
2019-11-16 20:01:41 -06:00 |
ssube
|
ae6c3b28e0
|
lint: simplify rule selector logic
|
2019-11-16 20:01:41 -06:00 |
Renovate Bot
|
66ca5efa75
|
update: update dependency yargs to v15
|
2019-11-16 17:17:27 -06:00 |
ssube
|
9a500461c1
|
feat(rules/travis): add language rule
|
2019-11-15 21:05:44 -06:00 |
ssube
|
8254848ef8
|
feat(rules/kubernetes): add rule to prevent latest tag, rule to ensure pull policy is set
|
2019-11-15 21:05:44 -06:00 |
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
|
79210654f0
|
cover include path helper
|
2019-11-15 21:05:44 -06:00 |
ssube
|
fb60b09db8
|
cover config types better
|
2019-11-15 21:05:44 -06:00 |
ssube
|
6c33b81610
|
lint: extract visit item method
|
2019-11-15 21:05:44 -06:00 |
ssube
|
c053da9051
|
fix(tests): cover rule failures through main
|
2019-11-15 21:05:44 -06:00 |
ssube
|
b818aa66d4
|
cover stream error handling
|
2019-11-15 21:05:44 -06:00 |
ssube
|
0ba6382253
|
introduce formal rule visitor
|
2019-11-15 21:05:44 -06:00 |
ssube
|
4eec0dda70
|
lint: remove valid-mode check in main
Mode is collected from a positional by yargs, but assigned from
callbacks, so it cannot leave the enum's valid range.
|
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
|
c9b6c9fe4e
|
fix(tests): mock config when listing rules
|
2019-11-15 21:05:44 -06:00 |
ssube
|
11b3bd0d09
|
fix: manually pass argv to yargs
|
2019-11-15 21:05:44 -06:00 |
ssube
|
838f87baf5
|
fix(tests): cover source read and write
|
2019-11-15 21:05:44 -06:00 |
Renovate Bot
|
b7118f11da
|
update: update dependency @types/lodash to v4.14.148
|
2019-11-15 14:07:07 -06:00 |
Renovate Bot
|
c5afe072fd
|
update: update dependency @microsoft/api-extractor to v7.6.0
|
2019-11-15 06:36:48 -06:00 |
Renovate Bot
|
ae6bb88350
|
update: update dependency @microsoft/api-documenter to v7.6.0
|
2019-11-15 05:26:17 -06:00 |
Renovate Bot
|
551d8c0d6b
|
update: update dependency @types/lodash to v4.14.147
|
2019-11-14 05:56:49 -06:00 |
ssube
|
2812254ba5
|
fix(config): accept S regex flag, anchor slashes
|
2019-11-13 07:50:56 -06:00 |
ssube
|
eff5f648a8
|
lint(tests): helper for friendly error tests
|
2019-11-13 07:26:09 -06:00 |
Renovate Bot
|
0eae9e63e5
|
update: update dependency @types/chai to v4.2.5
|
2019-11-12 15:48:44 -06:00 |
Renovate Bot
|
5119e1f8c1
|
update: update dependency rollup to v1.27.0
|
2019-11-12 11:06:02 -06:00 |
ssube
|
f367291540
|
feat: short aliases for common options (fixes #145)
|
2019-11-12 08:27:27 -06:00 |
ssube
|
705af893a3
|
feat: make mutate an option within fix mode (fixes #144)
|
2019-11-12 08:26:31 -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 |
Renovate Bot
|
d5e321039c
|
update: pin dependencies
|
2019-11-12 07:48:49 -06:00 |
ssube
|
85b81ea86c
|
fix(tests): cover rule loading from file/path
|
2019-11-12 07:32:30 -06:00 |
Renovate Bot
|
a9047f7268
|
update: update dependency @microsoft/api-extractor to v7.5.6
|
2019-11-11 20:29:10 -06:00 |
Renovate Bot
|
4c82447ef5
|
update: update dependency @microsoft/api-documenter to v7.5.8
|
2019-11-11 19:56:51 -06:00 |
ssube
|
42ddb3ecd7
|
feat(rules): add npm package
|
2019-11-11 19:55:57 -06:00 |
ssube
|
b84e7b80c6
|
fix(rules/gitlab): handle include
|
2019-11-11 19:26:45 -06:00 |
Renovate Bot
|
e0ec508fc5
|
update: update typescript-eslint monorepo to v2.7.0
|
2019-11-11 19:09:07 -06:00 |
Renovate Bot
|
30e6ae0ccb
|
update: update dependency rollup to v1.26.5
|
2019-11-11 06:27:31 -06:00 |
ssube
|
05e1ee714f
|
lint: declare default filter once
|
2019-11-10 22:14:09 -06:00 |
ssube
|
13d42e8b6f
|
fix: update log level to use enum
|
2019-11-10 22:05:20 -06:00 |
Renovate Bot
|
0af369cc61
|
update: update dependency noicejs to v3
|
2019-11-10 22:05:20 -06:00 |