Skip to content

Commit 914ddb1

Browse files
committed
fix: providing the line argument in the utils.report() function is deprecated
1 parent afb9174 commit 914ddb1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ function ruleFunction(on, options) {
107107
result,
108108
message: messages.rejected(cleanWarningText(doiuseWarning.text, ignorePartialSupport)),
109109
node: doiuseWarning.node,
110-
line: doiuseWarning.line,
111-
column: doiuseWarning.column,
110+
start: { line: doiuseWarning.line, column: doiuseWarning.column },
112111
});
113112
});
114113
};

0 commit comments

Comments
 (0)