Skip to content

Commit 7e5f169

Browse files
committed
feat: turn off deprecated lines-around-comment
1 parent 463f281 commit 7e5f169

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Configurations:
298298
|[`@typescript-eslint/no-non-null-asserted-nullish-coalescing`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
299299
|[`@typescript-eslint/no-non-null-asserted-optional-chain`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
300300
|[`@typescript-eslint/no-non-null-assertion`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-assertion.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
301-
|[`@typescript-eslint/no-parameter-properties`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-parameter-properties.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
301+
|[`@typescript-eslint/no-parameter-properties`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-parameter-properties.md)|❌|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
302302
|[`@typescript-eslint/no-redeclare`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
303303
|[`@typescript-eslint/no-require-imports`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-require-imports.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
304304
|[`@typescript-eslint/no-restricted-imports`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-restricted-imports.md)|❌|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|
@@ -718,7 +718,7 @@ Configurations:
718718
|[`keyword-spacing`](https://eslint.org/docs/rules/keyword-spacing) πŸ› |🚨|🚨|🚨|🚨|🚨|
719719
|[`line-comment-position`](https://eslint.org/docs/rules/line-comment-position)|🚨|❌|πŸ‘»|πŸ‘»|πŸ‘»|
720720
|[`linebreak-style`](https://eslint.org/docs/rules/linebreak-style) πŸ› |🚨|🚨|🚨|πŸ‘»|🚨|
721-
|[`lines-around-comment`](https://eslint.org/docs/rules/lines-around-comment) πŸ› |🚨|❌|πŸ‘»|πŸ‘»|πŸ‘»|
721+
|[`lines-around-comment`](https://eslint.org/docs/rules/lines-around-comment) πŸ› |❌|❌|πŸ‘»|πŸ‘»|πŸ‘»|
722722
|[`lines-around-directive`](https://eslint.org/docs/rules/lines-around-directive) πŸ›  ⛔️|πŸ‘»|🚨|πŸ‘»|πŸ‘»|πŸ‘»|
723723
|[`lines-between-class-members`](https://eslint.org/docs/rules/lines-between-class-members) πŸ› |🚨|🚨|πŸ‘»|🚨|🚨|
724724
|[`lodash/callback-binding`](https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/callback-binding.md)|🚨|πŸ‘»|πŸ‘»|πŸ‘»|πŸ‘»|

β€Žconfigurations/eslintrc.jsonβ€Ž

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -388,19 +388,7 @@
388388
2,
389389
"unix"
390390
],
391-
"lines-around-comment": [
392-
2,
393-
{
394-
"allowArrayEnd": true,
395-
"allowArrayStart": true,
396-
"allowBlockEnd": true,
397-
"allowBlockStart": true,
398-
"allowObjectEnd": true,
399-
"allowObjectStart": true,
400-
"beforeBlockComment": true,
401-
"beforeLineComment": true
402-
}
403-
],
391+
"lines-around-comment": 0,
404392
"lines-between-class-members": [
405393
2,
406394
"always"

0 commit comments

Comments
Β (0)