summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/utils/fix-tracker.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/utils/fix-tracker.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/utils/fix-tracker.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/node_modules/eslint/lib/rules/utils/fix-tracker.js b/tools/node_modules/eslint/lib/rules/utils/fix-tracker.js
index c987a28ca6..589870b39b 100644
--- a/tools/node_modules/eslint/lib/rules/utils/fix-tracker.js
+++ b/tools/node_modules/eslint/lib/rules/utils/fix-tracker.js
@@ -23,7 +23,6 @@ class FixTracker {
/**
* Create a new FixTracker.
- *
* @param {ruleFixer} fixer A ruleFixer instance.
* @param {SourceCode} sourceCode A SourceCode object for the current code.
*/
@@ -36,7 +35,6 @@ class FixTracker {
/**
* Mark the given range as "retained", meaning that other fixes may not
* may not modify this region in the same pass.
- *
* @param {int[]} range The range to retain.
* @returns {FixTracker} The same RuleFixer, for chained calls.
*/
@@ -50,7 +48,6 @@ class FixTracker {
* mark it as retained, meaning that other fixes may not modify it in this
* pass. This is useful for avoiding conflicts in fixes that modify control
* flow.
- *
* @param {ASTNode} node The node to use as a starting point.
* @returns {FixTracker} The same RuleFixer, for chained calls.
*/
@@ -65,7 +62,6 @@ class FixTracker {
* range as retained, meaning that other fixes may not modify it in this
* pass. This is useful for avoiding conflicts in fixes that make a small
* change to the code where the AST should not be changed.
- *
* @param {ASTNode|Token} nodeOrToken The node or token to use as a starting
* point. The token to the left and right are use in the range.
* @returns {FixTracker} The same RuleFixer, for chained calls.
@@ -80,7 +76,6 @@ class FixTracker {
/**
* Create a fix command that replaces the given range with the given text,
* accounting for any retained ranges.
- *
* @param {int[]} range The range to remove in the fix.
* @param {string} text The text to insert in place of the range.
* @returns {Object} The fix command.
@@ -108,7 +103,6 @@ class FixTracker {
/**
* Create a fix command that removes the given node or token, accounting for
* any retained ranges.
- *
* @param {ASTNode|Token} nodeOrToken The node or token to remove.
* @returns {Object} The fix command.
*/