Update checked-in dependencies
This commit is contained in:
parent
67f7ac2add
commit
02c45745e3
174 changed files with 2781 additions and 5722 deletions
9
node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md
generated
vendored
9
node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md
generated
vendored
|
|
@ -9,13 +9,11 @@ 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
|
||||
## Examples
|
||||
|
||||
Given the following folder structure:
|
||||
|
||||
```
|
||||
```pt
|
||||
my-project
|
||||
├── packages
|
||||
│ ├── foo
|
||||
|
|
@ -28,7 +26,8 @@ my-project
|
|||
```
|
||||
|
||||
And the .eslintrc file:
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"rules": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue