Skip to content

Commit

Permalink
chore: padding-line-between-statements remove useless `additionalItem…
Browse files Browse the repository at this point in the history
…s` (#15706)
  • Loading branch information
MartinSadovy authored Mar 16, 2022
1 parent 76a235a commit 18f5e05
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/rules/padding-line-between-statements.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,7 @@ module.exports = {
type: "array",
items: { enum: Object.keys(StatementTypes) },
minItems: 1,
uniqueItems: true,
additionalItems: false
uniqueItems: true
}
]
}
Expand All @@ -466,8 +465,7 @@ module.exports = {
},
additionalProperties: false,
required: ["blankLine", "prev", "next"]
},
additionalItems: false
}
},

messages: {
Expand Down

0 comments on commit 18f5e05

Please sign in to comment.