Skip to content

Commit

Permalink
feat: deprecate multiline-comment-style & line-comment-position
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed May 9, 2024
1 parent 0f5df50 commit 9b77e48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/rules/line-comment-position.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const astUtils = require("./utils/ast-utils");
/** @type {import('../shared/types').Rule} */
module.exports = {
meta: {
deprecated: true,
replacedBy: [],
type: "layout",

docs: {
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/multiline-comment-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const astUtils = require("./utils/ast-utils");
/** @type {import('../shared/types').Rule} */
module.exports = {
meta: {
deprecated: true,
replacedBy: [],
type: "suggestion",

docs: {
description: "Enforce a particular style for multiline comments",
recommended: false,
Expand Down
2 changes: 0 additions & 2 deletions packages/js/src/configs/eslint-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ module.exports = Object.freeze({
"id-length": "error",
"id-match": "error",
"init-declarations": "error",
"line-comment-position": "error",
"logical-assignment-operators": "error",
"max-classes-per-file": "error",
"max-depth": "error",
Expand All @@ -53,7 +52,6 @@ module.exports = Object.freeze({
"max-nested-callbacks": "error",
"max-params": "error",
"max-statements": "error",
"multiline-comment-style": "error",
"new-cap": "error",
"no-alert": "error",
"no-array-constructor": "error",
Expand Down

0 comments on commit 9b77e48

Please sign in to comment.