Skip to content

Commit

Permalink
Docs: Update deprecated information (#14961)
Browse files Browse the repository at this point in the history
  • Loading branch information
TagawaHirotaka committed Aug 24, 2021
1 parent 305e14a commit 44f7de5
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/rules/lines-around-comment.md
@@ -1,5 +1,7 @@
# require empty lines around comments (lines-around-comment)

This rule was **deprecated** in ESLint v4.0.0 and replaced by the [`padding-line-between-statements`](padding-line-between-statements.md) rule.

Many style guides require empty lines before or after comments. The primary goal
of these rules is to make the comments easier to read and improve readability of the code.

Expand Down
1 change: 1 addition & 0 deletions lib/rules/callback-return.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Enforce return after a callback.
* @author Jamund Ferguson
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/global-require.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Rule for disallowing require() outside of the top-level module context
* @author Jamund Ferguson
* @deprecated in ESLint v7.0.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/handle-callback-err.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Ensure handling of errors when we know they exist.
* @author Jamund Ferguson
* @deprecated in ESLint v7.0.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/id-blacklist.js
Expand Up @@ -2,6 +2,7 @@
* @fileoverview Rule that warns when identifier names that are
* specified in the configuration are used.
* @author Keith Cirkel (http://keithcirkel.co.uk)
* @deprecated in ESLint v7.5.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/indent-legacy.js
Expand Up @@ -4,6 +4,7 @@
* This rule has been ported and modified from nodeca.
* @author Vitaly Puzrin
* @author Gyandeep Singh
* @deprecated in ESLint v4.0.0
*/

"use strict";
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/lines-around-directive.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Require or disallow newlines around directives.
* @author Kai Cataldo
* @deprecated
* @deprecated in ESLint v4.0.0
*/

"use strict";
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/newline-after-var.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Rule to check empty newline after "var" statement
* @author Gopal Venkatesan
* @deprecated
* @deprecated in ESLint v4.0.0
*/

"use strict";
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/newline-before-return.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Rule to require newlines before `return` statement
* @author Kai Cataldo
* @deprecated
* @deprecated in ESLint v4.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-buffer-constructor.js
@@ -1,6 +1,7 @@
/**
* @fileoverview disallow use of the Buffer() constructor
* @author Teddy Katz
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-mixed-requires.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Rule to enforce grouped require statements for Node.JS
* @author Raphael Pigulla
* @deprecated in ESLint v7.0.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-new-require.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Rule to disallow use of new operator with the `require` function
* @author Wil Moore III
* @deprecated in ESLint v7.0.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-path-concat.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Disallow string concatenation when using __dirname and __filename
* @author Nicholas C. Zakas
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-process-env.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Disallow the use of process.env()
* @author Vignesh Anand
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-process-exit.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Disallow the use of process.exit()
* @author Nicholas C. Zakas
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-restricted-modules.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Restrict usage of specified node modules.
* @author Christian Schulz
* @deprecated in ESLint v7.0.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-sync.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Rule to check for properties whose identifier ends with the string Sync
* @author Matt DuVall<http://mattduvall.com/>
* @deprecated in ESLint v7.0.0
*/

"use strict";
Expand Down
1 change: 1 addition & 0 deletions lib/rules/require-jsdoc.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Rule to check for jsdoc presence.
* @author Gyandeep Singh
* @deprecated in ESLint v5.10.0
*/
"use strict";

Expand Down
1 change: 1 addition & 0 deletions lib/rules/valid-jsdoc.js
@@ -1,6 +1,7 @@
/**
* @fileoverview Validates JSDoc comments are syntactically correct
* @author Nicholas C. Zakas
* @deprecated in ESLint v5.10.0
*/
"use strict";

Expand Down

0 comments on commit 44f7de5

Please sign in to comment.