]> source.dussan.org Git - jquery.git/commit
Build: Enable ESLint one-var rule for var declarations in browser code
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 2 Mar 2020 21:25:35 +0000 (22:25 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 21:25:35 +0000 (22:25 +0100)
commit4a7fc8544e2020c75047456d11979e4e3a517fdf
treee31e53ef30dab19b043fa3bb2981c2369904ed1c
parent364476c3dc1231603ba61fc08068fa89fb095e1a
Build: Enable ESLint one-var rule for var declarations in browser code

Node.js code is written more & more commonly in ES6+ so it doesn't make sense
to enable it there. There are many violations in test code so it's disabled
there as well.

Closes gh-4615
.eslintrc-browser.json
dist/.eslintrc.json
src/css/support.js
src/event.js
test/.eslintrc.json