Skip to content

Commit

Permalink
add comment about why dlintPreferPrimordials is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed Aug 19, 2021
1 parent 32a6396 commit d4f6888
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ async function dlint() {
}
}

// `prefer-primordials` has to apply to more limited set of files than the other
// lint rules, which is why this dedicated function is needed.
async function dlintPreferPrimordials() {
const execPath = getPrebuiltToolPath("dlint");
console.log("prefer-primordials");
Expand Down

0 comments on commit d4f6888

Please sign in to comment.