Skip to content

Commit

Permalink
Update dependency eslint-plugin-yml to ^0.7.0 (#34)
Browse files Browse the repository at this point in the history
* Update dependency eslint-plugin-yml to ^0.7.0

* fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: yosuke ota <otameshiyo23@gmail.com>
  • Loading branch information
3 people committed Feb 4, 2021
1 parent 247e36f commit 5f3a07b
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/rules/block-mapping-question-indicator-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This rule aims to enforce consistent line breaks after `?` indicator.
## :wrench: Options

```yaml
"yml/block-mapping-question-indicator-newline":
yml/block-mapping-question-indicator-newline:
- error
- never # or "always"
```
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/block-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ This rule aims to use consistent style of block or flow styles.
## :wrench: Options

```yaml
"yml/block-mapping":
yml/block-mapping:
- error
- always # or "never"
---
# or
"yml/block-mapping":
yml/block-mapping:
- error
- singleline: always # or "never" or "ignore"
multiline: always # or "never" or "ignore"
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/block-sequence-hyphen-indicator-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This rule aims to enforce consistent line breaks after `-` indicator.
## :wrench: Options

```yaml
"yml/block-sequence-hyphen-indicator-newline":
yml/block-sequence-hyphen-indicator-newline:
- error
- never # or "always"
- nestedHyphen: always # or "never"
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/block-sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ c: [
## :wrench: Options

```yaml
"yml/block-sequence":
yml/block-sequence:
- error
- always # or "never"
---
# or
"yml/block-sequence":
yml/block-sequence:
- error
- singleline: always # or "never" or "ignore"
multiline: always # or "never" or "ignore"
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/flow-mapping-curly-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ This rule enforces consistent line breaks inside braces of flow mappings.
## :wrench: Options

```yaml
"yml/flow-mapping-curly-newline":
yml/flow-mapping-curly-newline:
- error
- always # or "never"
---
# or
"yml/flow-mapping-curly-newline":
yml/flow-mapping-curly-newline:
- error
- multiline: true
minProperties: 1
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/flow-mapping-curly-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This rule enforces consistent spacing inside braces of flow mappings.
## :wrench: Options

```yaml
"yml/flow-mapping-curly-spacing":
yml/flow-mapping-curly-spacing:
- error
- always # or "never"
- arraysInObjects: false
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/flow-sequence-bracket-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This rule enforces line breaks after opening and before closing flow sequence br
## :wrench: Options

```yaml
"yml/flow-sequence-bracket-newline":
yml/flow-sequence-bracket-newline:
- error
- always # or "never" or "consistent"
- multiline: true
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/flow-sequence-bracket-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This rule enforces consistent spacing inside flow sequence brackets.
## :wrench: Options

```yaml
"yml/flow-sequence-bracket-spacing":
yml/flow-sequence-bracket-spacing:
- error
- always # or "never"
- singleValue: true
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/key-name-casing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This rule enforces a naming convention to key names.
## :wrench: Options

```yaml
"yml/key-name-casing":
yml/key-name-casing:
- error
- camelCase: true
PascalCase: false
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/key-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This rule enforces consistent spacing between keys and values in mapping pairs.
## :wrench: Options

```yaml
"yml/key-spacing":
yml/key-spacing:
- error
- beforeColon: false
afterColon: true
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-irregular-whitespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ c: d
## :wrench: Options

```yaml
"yml/no-irregular-whitespace":
yml/no-irregular-whitespace:
- error
- skipQuotedScalars: true
skipComments: false
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/plain-scalar.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ GOOD: GOOD
## :wrench: Options

```yaml
"yml/plain-scalar":
yml/plain-scalar:
- error
- always # or "never"
```
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/spaced-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This rule will enforce consistency of spacing after the start of a comment `#`.
## :wrench: Options

```yaml
"yml/spaced-comment":
yml/spaced-comment:
- error
- always # or "never"
- exceptions: []
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-regexp": "^0.1.1",
"eslint-plugin-vue": "^7.0.1",
"eslint-plugin-yml": "^0.6.2",
"eslint-plugin-yml": "^0.7.0",
"eslint4b": "^7.3.1",
"espree": "^7.1.0",
"mocha": "^8.0.0",
Expand Down

0 comments on commit 5f3a07b

Please sign in to comment.