Skip to content

Interface: ChecksOptions

Properties

cannotCallNamespace?

  • Type: optional cannotCallNamespace: boolean

Whether to emit warning when detecting cannot call namespace

Default

ts
true

circularDependency?

  • Type: optional circularDependency: boolean

Whether to emit warning when detecting circular dependency

Default

ts
false

commonJsVariableInEsm?

  • Type: optional commonJsVariableInEsm: boolean

Whether to emit warning when detecting common js variable in esm

Default

ts
true

configurationFieldConflict?

  • Type: optional configurationFieldConflict: boolean

Whether to emit warning when detecting configuration field conflict

Default

ts
true

couldNotCleanDirectory?

  • Type: optional couldNotCleanDirectory: boolean

Whether to emit warning when detecting could not clean directory

Default

ts
true

emptyImportMeta?

  • Type: optional emptyImportMeta: boolean

Whether to emit warning when detecting empty import meta

Default

ts
true

eval?

  • Type: optional eval: boolean

Whether to emit warning when detecting eval

Default

ts
true

filenameConflict?

  • Type: optional filenameConflict: boolean

Whether to emit warning when detecting filename conflict

Default

ts
true

importIsUndefined?

  • Type: optional importIsUndefined: boolean

Whether to emit warning when detecting import is undefined

Default

ts
true

missingGlobalName?

  • Type: optional missingGlobalName: boolean

Whether to emit warning when detecting missing global name

Default

ts
true

missingNameOptionForIifeExport?

  • Type: optional missingNameOptionForIifeExport: boolean

Whether to emit warning when detecting missing name option for iife export

Default

ts
true

mixedExports?

  • Type: optional mixedExports: boolean

Whether to emit warning when detecting mixed exports

Default

ts
true

pluginTimings?

  • Type: optional pluginTimings: boolean

Whether to emit warning when detecting plugin timings

Default

ts
true

preferBuiltinFeature?

  • Type: optional preferBuiltinFeature: boolean

Whether to emit warning when detecting prefer builtin feature

Default

ts
true

unresolvedEntry?

  • Type: optional unresolvedEntry: boolean

Whether to emit warning when detecting unresolved entry

Default

ts
true

unresolvedImport?

  • Type: optional unresolvedImport: boolean

Whether to emit warning when detecting unresolved import

Default

ts
true

Released under the MIT License.