Update eslint.config.js

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/12314/head
Simon H 2 years ago committed by GitHub
parent 47664c0912
commit 35439f1f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -15,7 +15,7 @@ const no_compiler_imports = {
return {
Program: () => {
// Do a simple string search because ESLint doesn't provide a way to check JSDoc comments.
// The string search could in theory yielf false positives, but in practice it's unlikely.
// The string search could in theory yield false positives, but in practice it's unlikely.
const text = context.sourceCode.getText();
const idx = Math.max(text.indexOf('../compiler/'), text.indexOf('#compiler'));
if (idx !== -1) {

Loading…
Cancel
Save