Skip to content

Commit 47892ba

Browse files
committed
Chore: remove unused code
1 parent 37e1f7f commit 47892ba

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

lib/disabled-area.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ module.exports = class DisabledArea {
6161
kind,
6262
start: location,
6363
end: null,
64-
reported: false,
6564
})
6665
}
6766
} else {
@@ -75,7 +74,6 @@ module.exports = class DisabledArea {
7574
kind,
7675
start: location,
7776
end: null,
78-
reported: false,
7977
})
8078
}
8179
}
@@ -206,18 +204,4 @@ module.exports = class DisabledArea {
206204
}
207205
}
208206
}
209-
210-
/**
211-
* Mark the area of the given ruleId and location as reported.
212-
*
213-
* @param {string} ruleId - The ruleId name to mark.
214-
* @param {object} location - The location to mark.
215-
* @returns {void}
216-
*/
217-
report(ruleId, location) {
218-
const area = this._getArea(ruleId, location)
219-
if (area != null) {
220-
area.reported = true
221-
}
222-
}
223207
}

0 commit comments

Comments
 (0)