Replies: 1 comment 3 replies
-
What prevents you from adding a comment in the options? // biome.jsonc
{
"options": {
// someGlobal shouldn't be used because...
"deniedGlobals": ["$", "someGlobal"]
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now the rule doesn't allow explaining why a global is restricted, which makes it worse than the ESLint equivalent; this is important for our process because it allows us to communicate to the team why we are avoiding certain globals and what you should do instead. Would like the same thing for the Biome equivalent rule!
Beta Was this translation helpful? Give feedback.
All reactions