]> 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)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 2 Mar 2020 21:30:00 +0000 (22:30 +0100)
commit0fdfdd829000bffc37e4d32683a8881121faa767
tree59e9dce9d951535b6c1c4dbf1b3d1d5c19fef9a9
parent5ea844f65a820ebba7ae7c82af7bfab58f873e5a
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

(cherry picked from commit 4a7fc8544e2020c75047456d11979e4e3a517fdf)
.eslintrc-browser.json
dist/.eslintrc.json
src/css/support.js
src/event.js
test/.eslintrc.json