import
import/no-unresolved docs
Ensure imports point to a file/module that can be resolved.
Not configured in any preset
import/named docs
Ensure named imports correspond to a named export in the remote file.
import/default docs
Ensure a default export is present, given a default import.
import/namespace docs
Ensure imported namespaces contain dereferenced properties as they are dereferenced.
import/no-namespace docs
Forbid namespace (a.k.a. "wildcard" *
) imports.
Not configured in any preset
import/export docs
Forbid any invalid exports, i.e. re-export of the same name.
import/no-mutable-exports docs
Forbid the use of mutable exports with var
or let
.
Not configured in any preset
import/extensions docs
Ensure consistent use of file extension within the import path.
Not configured in any preset
import/no-restricted-paths docs
Enforce which files can be imported in a given folder.
Not configured in any preset
import/no-internal-modules docs
Forbid importing the submodules of other modules.
Not configured in any preset
import/group-exports docs
Prefer named exports to be grouped together in a single export declaration
Not configured in any preset
import/no-relative-packages docs
Forbid importing packages through relative paths.
Not configured in any preset
import/no-relative-parent-imports docs
Forbid importing modules from parent directories.
Not configured in any preset
import/consistent-type-specifier-style docs
Enforce or ban the use of inline type-only markers for named imports.
Not configured in any preset
import/no-cycle docs
Forbid a module from importing a module with a dependency path back to itself.
import/no-named-default docs
Forbid named default exports.
Not configured in any preset
import/no-named-as-default docs
Forbid use of exported name as identifier of default export.
import/no-named-as-default-member docs
Forbid use of exported name as property of default export.
import/no-anonymous-default-export docs
Forbid anonymous values as default exports.
import/no-unused-modules docs
Forbid modules without exports, or exports without matching import in another module.
Not configured in any preset
import/no-commonjs docs
Forbid CommonJS require
calls and module.exports
or exports.*
.
Not configured in any preset
import/no-amd docs
Forbid AMD require
and define
calls.
Not configured in any preset
import/no-duplicates docs
Forbid repeated import of the same module in multiple places.
import/first docs
Ensure all imports appear before other statements.
Not configured in any preset
import/max-dependencies docs
Enforce the maximum number of dependencies a module can have.
Not configured in any preset
import/no-extraneous-dependencies docs
Forbid the use of extraneous packages.
import/no-absolute-path docs
Forbid import of modules using absolute paths.
import/no-nodejs-modules docs
Forbid Node.js builtin modules.
Not configured in any preset
import/no-webpack-loader-syntax docs
Forbid webpack loader syntax in imports.
Not configured in any preset
import/order docs
Enforce a convention in module import order.
Not configured in any preset
import/newline-after-import docs
Enforce a newline after import statements.
import/prefer-default-export docs
Prefer a default export if module exports a single name or multiple names.
Not configured in any preset
import/no-default-export docs
Forbid default exports.
Not configured in any preset
import/no-named-export docs
Forbid named exports.
Not configured in any preset
import/no-dynamic-require docs
Forbid require()
calls with expressions.
Not configured in any preset
import/unambiguous docs
Forbid potentially ambiguous parse goal (script
vs. module
).
Not configured in any preset
import/no-unassigned-import docs
Forbid unassigned imports
Not configured in any preset
import/no-useless-path-segments docs
Forbid unnecessary path segments in import and require statements.
import/dynamic-import-chunkname docs
Enforce a leading comment with the webpackChunkName for dynamic imports.
Not configured in any preset
import/no-import-module-exports
Forbid import statements with CommonJS module.exports.
Not configured in any preset
import/exports-last docs
Ensure all exports appear after other statements.
Not configured in any preset
import/no-deprecated docs
Forbid imported names marked with @deprecated
documentation tag.
Not configured in any preset
import/imports-first docs
Replaced by import/first
.
Not configured in any preset