aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc-browser.json
Commit message (Collapse)AuthorAgeFilesLines
* Build: Enable reportUnusedDisableDirectives in ESLintEd S2020-04-201-0/+2
| | | | | | | | | This forbids unnecessary `eslint-disable` comments. Ref gh-4095 Closes gh-4520 (cherry picked from 46f9810b73a7ad446d7c3711faf92f56b67df3c1)
* Build: Enable ESLint one-var rule for var declarations in browser codeMichał Gołębiowski-Owczarek2020-03-021-0/+1
| | | | | | | | | | 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)
* Build: Remove obsolete globals from ESLint configurationMichał Gołębiowski-Owczarek2019-02-191-3/+1
| | | | | We had quite a few obsolete globals declared in various ESLint config files. We also no longer allow to rely on the `noGlobal` & `jQuery` globals in the built file which is not needed. Closes gh-4301
* Build: ESLint setup improvementsMichał Gołębiowski2016-12-191-0/+31
1. Use the short name of the preset in the config. 2. Run ESLint first on non-minified files. 3. Explicitly specify environments in every config file (those settings cascade which means we've been assuming a Node.js environment where we shouldn't have).