no-mutation and HTML DOM
Opened this issue · 0 comments
johnridesabike commented
Currently, no-mutation
will flag code like this:
document.title = "A new title";
I propose adding an option, similar to the commonjs
option, which allows DOM mutations. Since there’s no non-mutating way to set those DOM properties, the only error-free way of doing it now seems to be to manually add exceptions in .eslintrc.