Skip to content

Commit 6a51c96

Browse files
committed
.eslintrc.json: enforce limit on empty lines in json5
Only allow one blank line in json5 files as well as a max of one line at the end of the file. See: https://eslint.org/docs/latest/rules/no-multiple-empty-lines
1 parent 7c7d565 commit 6a51c96

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,12 @@
246246
}
247247
],
248248
"no-trailing-spaces": "error",
249+
"no-multiple-empty-lines": ["error",
250+
{
251+
"max": 1,
252+
"maxEOF": 1
253+
}
254+
],
249255
"jsonc/comma-dangle": [
250256
"error",
251257
"always-multiline"

0 commit comments

Comments
 (0)