1
0
Fork 0

lint: remove unused imports

This commit is contained in:
Sean Sube 2022-02-14 04:55:52 +00:00
parent 456b30d77c
commit 6dc9b70e15
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import { doesExist, ensureArray, hasItems } from '@apextoaster/js-utils';
import { ErrorObject, ValidateFunction } from 'ajv';
import { doesExist, ensureArray } from '@apextoaster/js-utils';
import { ErrorObject } from 'ajv';
import lodash from 'lodash';
import { LogLevel } from 'noicejs';
@ -11,8 +11,6 @@ import { Rule, RuleData, RuleError, RuleResult, ValidatorResult } from './index.
/* eslint-disable-next-line @typescript-eslint/unbound-method */
const { cloneDeep, defaultTo } = lodash;
const DEFAULT_FILTER = () => true;
export class SchemaRule implements Rule, RuleData {
public readonly checkSchema: object;
public readonly desc: string;

View File

@ -8,7 +8,7 @@ import { Document, Element } from '../source.js';
import { Visitor } from './index.js';
import { VisitorContext } from './VisitorContext.js';
const { applyDiff, diff } = deepDiff;
const { diff } = deepDiff;
/* eslint-disable-next-line @typescript-eslint/unbound-method */
const { cloneDeep } = lodash;