Answer the question
In order to leave comments, you need to log in
How to configure eslint to disallow the use of global variables in functions?
Something like this rule, but prohibit the use of those not declared in the local scope https://eslint.org/docs/rules/no-undef
Maybe there are some plugins that implement a similar custom rule?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question