Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 4, 2024 via pnpm

eslint-plugin-import 2.29.1

Import with sanity.
Package summary
Share
0
issues
7
licenses
158
MIT
15
ISC
6
BSD-2-Clause
9
other licenses
Apache-2.0
5
BSD-3-Clause
2
Python-2.0
1
(MIT OR CC0-1.0)
1
Package created
19 Mar 2015
Version published
14 Dec 2023
Maintainers
3
Total deps
188
Direct deps
18
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
158 Packages, Including:
@eslint-community/eslint-utils@4.4.0
@eslint-community/regexpp@4.10.0
@eslint/eslintrc@2.1.4
@eslint/js@8.57.0
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
@types/json5@0.0.29
acorn-jsx@5.3.2
acorn@8.11.3
ajv@6.12.6
ansi-regex@5.0.1
ansi-styles@4.3.0
array-buffer-byte-length@1.0.1
array-includes@3.1.8
array.prototype.findlastindex@1.2.5
array.prototype.flat@1.3.2
array.prototype.flatmap@1.3.2
arraybuffer.prototype.slice@1.0.3
available-typed-arrays@1.0.7
balanced-match@1.0.2
brace-expansion@1.1.11
call-bind@1.0.7
callsites@3.1.0
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
concat-map@0.0.1
cross-spawn@7.0.3
data-view-buffer@1.0.1
data-view-byte-length@1.0.1
data-view-byte-offset@1.0.0
debug@3.2.7
debug@4.3.4
deep-is@0.1.4
define-data-property@1.1.4
define-properties@1.2.1
es-abstract@1.23.3
es-define-property@1.0.0
es-errors@1.3.0
es-object-atoms@1.0.0
es-set-tostringtag@2.0.3
es-shim-unscopables@1.0.2
es-to-primitive@1.2.1
escape-string-regexp@4.0.0
eslint-import-resolver-node@0.3.9
eslint-module-utils@2.8.1
eslint-plugin-import@2.29.1
eslint@8.57.0
fast-deep-equal@3.1.3

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
15 Packages, Including:
@ungap/structured-clone@1.2.0
fastq@1.17.1
flatted@3.3.1
fs.realpath@1.0.0
glob-parent@6.0.2
glob@7.2.3
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
minimatch@3.1.2
once@1.4.0
rimraf@3.0.2
semver@6.3.1
which@2.0.2
wrappy@1.0.2

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
6 Packages, Including:
eslint-scope@7.2.2
espree@9.6.1
esrecurse@4.3.0
estraverse@5.3.0
esutils@2.0.3
uri-js@4.4.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
5 Packages, Including:
@humanwhocodes/config-array@0.11.14
@humanwhocodes/module-importer@1.0.1
doctrine@2.1.0
doctrine@3.0.0
eslint-visitor-keys@3.4.3

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
@humanwhocodes/object-schema@2.0.3
esquery@1.5.0

Python License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
state-changes
1 Packages, Including:
argparse@2.0.1

(MIT OR CC0-1.0)

Public Domain
1 Packages, Including:
type-fest@0.20.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

18
All Dependencies CSV
β“˜ This is a list of eslint-plugin-import 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
array-includes3.1.825.71 kBMIT
prod
array.prototype.findlastindex1.2.528.69 kBMIT
prod
array.prototype.flat1.3.26.64 kBMIT
prod
array.prototype.flatmap1.3.26.72 kBMIT
prod
debug3.2.716.48 kBMIT
prod
doctrine2.1.021.74 kBApache-2.0
prod
eslint-import-resolver-node0.3.92.42 kBMIT
prod peer
eslint-module-utils2.8.149.9 kBMIT
prod
eslint8.57.02.9 MBMIT
prod peer
hasown2.0.28.56 kBMIT
prod
is-core-module2.13.19.05 kBMIT
prod
is-glob4.0.34.16 kBMIT
prod
minimatch3.1.211.66 kBISC
prod
object.fromentries2.0.815.94 kBMIT
prod
object.groupby1.0.314.24 kBMIT
prod
object.values1.2.030.78 kBMIT
prod
semver6.3.118.65 kBISC
prod
tsconfig-paths3.15.043.02 kBMIT
prod

Visualizations

Frequently Asked Questions

What does eslint-plugin-import do?

ESLint-plugin-import is a tool that helps in linting the syntax of ES2015+ (ES6+) import/export in your JavaScript files. It aims to prevent issues related to the misspelling of file paths or import names which could arise while using ES2015 + static module syntax. This plugin ensures that all your imports are correctly spelled, exist as files or modules, and that only named exports from named files are imported.

How do you use eslint-plugin-import?

To use ESLint-plugin-import, you must first install it via npm by running the following command in the terminal:

npm install eslint-plugin-import --save-dev 

After the plugin is installed, you can start using it by adding it to your ESLint configuration, either manually or by extending the canned configurations that come with the plugin. Here's an example of manual configuration in your .eslintrc.(yml|json|js) file:

plugins:
  - import

rules:
  import/no-unresolved: [2, {commonjs: true, amd: true}]
  import/named: 2
  import/namespace: 2
  import/default: 2
  import/export: 2
  # etc...

You can also extend the canned configurations like this:

extends:
  - eslint:recommended
  - plugin:import/recommended

Both of these configurations will enable ESLint-plugin-import and allow it to start warning you about any potential import/export issues in your code.

Where are the eslint-plugin-import docs?

You can find the entire documentation of ESLint-plugin-import on its GitHub pages. The documentation provides a thorough explanation of the library's features, configurations, and the different rules it has for linting import/export syntax. It is helpful for developers that want to learn more about the internals of the library and how to efficiently utilize it to prevent import/export errors.