We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 075699b commit a40a615Copy full SHA for a40a615
tools/eslint-rules/crypto-check.js
@@ -71,7 +71,7 @@ module.exports = function(context) {
71
if (missingCheckNodes.length > 0) {
72
requireNodes.forEach((requireNode) => {
73
const beforeAllChecks = missingCheckNodes.every((checkNode) => {
74
- return requireNode.start < checkNode.start;
+ return requireNode.range[0] < checkNode.range[0];
75
});
76
77
if (beforeAllChecks) {
0 commit comments