Update checked-in dependencies
This commit is contained in:
parent
67f7ac2add
commit
02c45745e3
174 changed files with 2781 additions and 5722 deletions
6
node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md
generated
vendored
6
node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md
generated
vendored
|
|
@ -7,7 +7,7 @@ The closest parent `package.json` will be used. If no `package.json` is found, t
|
|||
|
||||
Modules have to be installed for this rule to work.
|
||||
|
||||
### Options
|
||||
## Options
|
||||
|
||||
This rule supports the following options:
|
||||
|
||||
|
|
@ -60,6 +60,7 @@ folder layouts:
|
|||
## Rule Details
|
||||
|
||||
Given the following `package.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "my-project",
|
||||
|
|
@ -88,7 +89,6 @@ Given the following `package.json`:
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
## Fail
|
||||
|
||||
```js
|
||||
|
|
@ -117,7 +117,6 @@ var foo = require('./foo');
|
|||
import type { MyType } from 'foo';
|
||||
```
|
||||
|
||||
|
||||
## Pass
|
||||
|
||||
```js
|
||||
|
|
@ -135,7 +134,6 @@ import type { MyType } from 'foo';
|
|||
import react from 'react';
|
||||
```
|
||||
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If you do not have a `package.json` file in your project.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue