diff --git a/.eslintrc.js b/.eslintrc.js index 17ff26cf0..67ad169eb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -64,7 +64,7 @@ module.exports = { 'import/no-unresolved': [2], 'import/no-useless-path-segments': 2, 'import/order': [ - 'error', + 'warn', { alphabetize: { order: 'asc', diff --git a/packages/n4s/src/exports/compounds.ts b/packages/n4s/src/exports/compounds.ts index 6db186da5..3f6b6f6c1 100644 --- a/packages/n4s/src/exports/compounds.ts +++ b/packages/n4s/src/exports/compounds.ts @@ -1,8 +1,8 @@ +import { enforce } from 'n4s'; import { DropFirst } from 'utilityTypes'; import { allOf } from 'allOf'; import { anyOf } from 'anyOf'; -import { enforce } from 'n4s'; import { noneOf } from 'noneOf'; import { oneOf } from 'oneOf'; diff --git a/packages/n4s/src/exports/schema.ts b/packages/n4s/src/exports/schema.ts index 148cbd76f..8bd60f181 100644 --- a/packages/n4s/src/exports/schema.ts +++ b/packages/n4s/src/exports/schema.ts @@ -1,8 +1,8 @@ +import { enforce } from 'n4s'; import { DropFirst } from 'utilityTypes'; import { isArrayOf } from 'isArrayOf'; import { loose } from 'loose'; -import { enforce } from 'n4s'; import { optional } from 'optional'; import { shape } from 'shape'; diff --git a/packages/n4s/src/plugins/schema/loose.ts b/packages/n4s/src/plugins/schema/loose.ts index 46701041e..b94e872a2 100644 --- a/packages/n4s/src/plugins/schema/loose.ts +++ b/packages/n4s/src/plugins/schema/loose.ts @@ -1,4 +1,5 @@ import { ctx } from 'n4s'; + import type { RuleDetailedResult } from 'ruleReturn'; import * as ruleReturn from 'ruleReturn'; import runLazyRule from 'runLazyRule';