lint: misc fixes
This commit is contained in:
parent
c698d6e05c
commit
37e20fca21
|
@ -42,7 +42,7 @@ Original rough outline document.
|
||||||
|
|
||||||
- should have schema and be validated
|
- should have schema and be validated
|
||||||
- support all arguments (except config file)
|
- support all arguments (except config file)
|
||||||
- TODO: parent config
|
- parent config
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@ export class Rule implements RuleData, Visitor<RuleResult> {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (filter(node)) {
|
if (filter(node)) {
|
||||||
ctx.logger.debug({ item: node }, 'checking item')
|
ctx.logger.debug({ item: node }, 'checking item');
|
||||||
if (!check(node)) {
|
if (!check(node)) {
|
||||||
const errors = Array.from(check.errors);
|
const errors = Array.from(check.errors);
|
||||||
ctx.logger.warn({
|
ctx.logger.warn({
|
||||||
|
|
Loading…
Reference in New Issue