Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update: fix operator-linebreak overrides schema (#13199)
  • Loading branch information
mdjermanovic committed Jun 19, 2020
1 parent 9e1414e commit 949a5cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/rules/operator-linebreak.md
Expand Up @@ -22,7 +22,7 @@ This rule enforces a consistent linebreak style for operators.

## Options

This rule has one option, which can be a string option or an object option.
This rule has two options, a string option and an object option.

String option:

Expand Down
7 changes: 2 additions & 5 deletions lib/rules/operator-linebreak.js
Expand Up @@ -35,11 +35,8 @@ module.exports = {
properties: {
overrides: {
type: "object",
properties: {
anyOf: {
type: "string",
enum: ["after", "before", "none", "ignore"]
}
additionalProperties: {
enum: ["after", "before", "none", "ignore"]
}
}
},
Expand Down

0 comments on commit 949a5cd

Please sign in to comment.