Skip to content

Commit

Permalink
Configure lines-around-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Sep 13, 2023
1 parent 0500b8a commit cb25bc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ module.exports = {
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"lines-around-comment": [
"error",
{"allowBlockStart": true}
],
"object-curly-spacing": "error",
"one-var": [
"error",
Expand All @@ -23,7 +27,6 @@ module.exports = {
"never"
],

"lines-around-comment": "warn",
"max-depth": "warn",
"max-len": "warn",
"max-lines-per-function": "warn",
Expand Down

0 comments on commit cb25bc1

Please sign in to comment.