Update checked-in dependencies
This commit is contained in:
parent
67f7ac2add
commit
02c45745e3
174 changed files with 2781 additions and 5722 deletions
10
node_modules/eslint-plugin-import/docs/rules/newline-after-import.md
generated
vendored
10
node_modules/eslint-plugin-import/docs/rules/newline-after-import.md
generated
vendored
|
|
@ -5,14 +5,14 @@
|
|||
<!-- end auto-generated rule header -->
|
||||
|
||||
Enforces having one or more empty lines after the last top-level import statement or require call.
|
||||
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
|
||||
|
||||
## Rule Details
|
||||
|
||||
This rule supports the following options:
|
||||
- `count` which sets the number of newlines that are enforced after the last top-level import statement or require call. This option defaults to `1`.
|
||||
This rule supports the following options:
|
||||
|
||||
- `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`.
|
||||
- `count` which sets the number of newlines that are enforced after the last top-level import statement or require call. This option defaults to `1`.
|
||||
|
||||
- `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`.
|
||||
|
||||
Valid:
|
||||
|
||||
|
|
@ -104,6 +104,7 @@ const FOO = 'BAR'
|
|||
```
|
||||
|
||||
## Example options usage
|
||||
|
||||
```json
|
||||
{
|
||||
"rules": {
|
||||
|
|
@ -112,7 +113,6 @@ const FOO = 'BAR'
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If you like to visually group module imports with its usage, you don't want to use this rule.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue