You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating my eslint plugin to v9 and forgot to set languageOptions.sourceType to "commonjs" so the default value was "module". Running eslint on my rules would produce 0 warnings or errors because getRuleExportsESM() (from util.js) returns an empty object so getRuleInfo() returns null and no-missing-message-ids.js (for example) has this code:
I'm migrating my eslint plugin to v9 and forgot to set
languageOptions.sourceType
to "commonjs" so the default value was "module". Running eslint on my rules would produce 0 warnings or errors becausegetRuleExportsESM()
(fromutil.js
) returns an empty object sogetRuleInfo()
returnsnull
andno-missing-message-ids.js
(for example) has this code:Would it be possible to get warnings/errors in such cases?
The text was updated successfully, but these errors were encountered: