aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintignore
Commit message (Collapse)AuthorAgeFilesLines
* Build: Restore the external directoryMichał Gołębiowski-Owczarek2021-03-241-0/+1
| | | | | | | | | | | | In gh-4466, we removed the `external` directory in favor of loading some files directly from `node_modules`. This works fine locally but when deploying code for tests, this makes it impossible to not deploy `node_modules` as well. To avoid the issue, this change restores usage of the `external` directory. One change is that we no longer commit this directory to the repository, its only purpose is to have clear isolation from `node_modules`. Ref gh-4466 Closess gh-4865
* Build: Lint the minified jQuery file as wellMichał Gołębiowski-Owczarek2020-01-211-0/+1
| | | | | | | While we have absolutely no style-related expectations to our minified file, we do care that it's valid ES 5.1. This is now verified. Fixes gh-3075 Closes gh-4594
* Build: Auto-convert sources to AMDMichał Gołębiowski-Owczarek2019-12-091-1/+1
| | | | | | | | | | | | | | | jQuery source has been migrated in gh-4541 from AMD to ES modules. To maintain support for consumers of our AMD modules, this commits adds a task transpiling the ES modules sources in `src/` to AMD in `amd/`. A "Load with AMD" checkbox was also restored to the QUnit setup. Note that, contrary to jQuery 3.x, AMD files need to be generated via `grunt amd` or `grunt` as sources are not authored in ECMAScript modules. To achieve a similar no-compile experience during jQuery 4.x testing, use the new "Load as modules" checkbox which works in all supported browsers except for IE & Edge (the legacy, EdgeHTML-based one). Ref gh-4541 Closes gh-4554
* Build: Update jsdom; migrate a test with Symbol polyfill to an iframe testMichał Gołębiowski-Owczarek2019-03-041-1/+1
| | | | | | | | | | | So far, we've been testing that jQuery element iteration works with polyfilled Symbol & transpiled for-of via a Node test with jsdom with the Symbol global removed. Unfortunately, jsdom now requires Symbol to be present for its internal functionality so such a test is no longer possible. Instead, it's been migrated to an iframe test with transpiled JavaScript. This PR also enables us to use ECMAScript 2017 or newer in Node.js code. Closes gh-4305
* Build: Add most of the dist folder to .eslintignoreMichał Gołębiowski2016-12-191-0/+2
| | | | | | | This way `eslint .` run from the terminal will work regardless of ignored files present in the repository. Closes gh-3385
* Build: ignore cdn and slim files when lintingTimmy Willison2016-07-071-1/+1
|
* Build: ESLint detailsOleg Gaidarenko2016-06-111-2/+2
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Build: Switch from jscs+jshint to eslintOleg Gaidarenko2016-06-111-0/+12