Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
5
node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md
generated
vendored
5
node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md
generated
vendored
|
|
@ -1,10 +1,15 @@
|
|||
# import/no-relative-packages
|
||||
|
||||
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
|
||||
|
||||
<!-- end auto-generated rule header -->
|
||||
|
||||
Use this rule to prevent importing packages through relative paths.
|
||||
|
||||
It's useful in Yarn/Lerna workspaces, were it's possible to import a sibling
|
||||
package using `../package` relative path, while direct `package` is the correct one.
|
||||
|
||||
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
|
||||
|
||||
### Examples
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue