Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Feb 4, 2021
1 parent 1085e1c commit 63a8b08
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 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

0 comments on commit 63a8b08

Please sign in to comment.