We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e725906 commit 5b17abfCopy full SHA for 5b17abf
src/rules/no-empty-string-alt.js
@@ -30,8 +30,7 @@ module.exports = {
30
const lineNumber = token.lineNumber;
31
const lines = params.lines.slice(lineRange[0], lineRange[1]);
32
33
- for (let i = 0; i < lines.length; i++) {
34
- const line = lines[i];
+ for (const line of lines) {
35
let matches;
36
if (token.type === "inline") {
37
matches = line.matchAll(markdownAltRegex);
0 commit comments