Skip to content

Commit

Permalink
Revert "chore: padding-line-between-statements remove useless `additi…
Browse files Browse the repository at this point in the history
…onalItems` (eslint#15706)"

This reverts commit ff58798.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent 8b60ab8 commit ea140d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/rules/padding-line-between-statements.js
Expand Up @@ -450,7 +450,8 @@ module.exports = {
type: "array",
items: { enum: Object.keys(StatementTypes) },
minItems: 1,
uniqueItems: true
uniqueItems: true,
additionalItems: false
}
]
}
Expand All @@ -465,7 +466,8 @@ module.exports = {
},
additionalProperties: false,
required: ["blankLine", "prev", "next"]
}
},
additionalItems: false
},

messages: {
Expand Down

0 comments on commit ea140d0

Please sign in to comment.