A
A
Alexander2020-11-07 11:03:51
Linter
Alexander, 2020-11-07 11:03:51

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 question

Ask a Question

731 491 924 answers to any question