Commit Graph

69 Commits

Author SHA1 Message Date
Alexander Akait 02a1d22db8
refactor: use `eslint-config-webpack` (#19645)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-07-02 15:10:54 +03:00
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 8273948d9d chore: improve eslint configuration 2024-01-13 16:35:31 +03:00
alexander.akait fa20888500 refactor: fix types in hot 2023-05-16 19:01:30 +03:00
Sebastian Alff a4b95c88d9 fix parentheses, lint 2022-05-24 21:23:25 +02:00
Sebastian Alff b8270acc76 fix another problematic attempt to reload page from worker 2022-05-24 21:07:28 +02:00
Sebastian Alff 721547b9cf lint 2022-05-24 18:52:18 +02:00
Sebastian Alff 0ddddf46b5
fix error when trying to reload page from worker 2022-05-24 18:12:56 +02:00
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers ba154bc741 refactor and add test case 2021-10-25 12:12:52 +02:00
Tobias Koppers f6726a15d1 Revert "Merge pull request #13877 from axules/bugfix/hot-poll-infinity"
This reverts commit 1c1af83e12, reversing
changes made to 3f353b6ae2.
2021-08-05 16:03:13 +02:00
Denis Shelest 551f64a590
fix empty updatedModules check
in hot/only-dev-server
2021-08-01 14:16:54 +03:00
Denis Shelest b573514987
fix hot/signal infinity recursion 2021-08-01 14:11:48 +03:00
Denis Shelest 237f55a5a5
fix hot/poll infinity recursion 2021-07-27 16:29:12 +03:00
Tobias Koppers 100317556e add lazy compilation for entrypoints 2021-01-22 01:01:17 +01:00
Tobias Koppers 988cf8d47a improve error handling 2021-01-21 21:05:23 +01:00
Tobias Koppers a1515fa9f0 add experimental lazy compilation 2021-01-21 17:39:56 +01:00
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers 6db94536ad Merge tag 'v4.34.0' into next
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers a1d45671c1 fix error message and stack in Firefox
in Firefox stack doesn't include the message
2019-06-12 15:28:45 +02:00
Tobias Koppers e979f1534e use optimization.moduleIds instead of plugins directly 2018-09-03 20:12:55 +02:00
Florent Cailhol 20406a4295 Update ESLint 2018-07-31 11:43:07 +02:00
ferhat elmas 3e03edc2cf fix(hot): log messages
group arguments of operator or (||)
otherwise, nonempty string is always true
2018-07-09 22:20:50 +02:00
alberto 10ff2c3b3f Consolidate eslint config in one file. 2018-04-02 13:24:58 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Bruno Abreu 92e36150a7 Fix bluebird warning in hot/signal 2017-12-29 12:13:45 -02:00
Ryan Harvey b093f023f8 only group HMR module updates if name contains loaders 2017-07-13 12:43:25 -05:00
Ryan Harvey 6c5dc1b4ee respect log level in HMR client log groups 2017-07-13 12:41:55 -05:00
Ryan Harvey 8d86864f66 fix lint error 2017-07-11 21:36:09 -05:00
Ryan Harvey 8789f59927 display HMR module logger message as a collapsed group 2017-07-11 15:49:29 -05:00
Ryan Harvey 066b0ace51 hide loaders in HMR log message 2017-07-10 15:46:24 -05:00
Bogdan Luca 922ee1af25 Moved HMR logging to a module, added possibility to set log level. 2017-05-31 12:00:41 +03:00
题叶 5345a38c36 show error when hotOnly HMR fails 2017-05-26 04:06:14 -04:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Sean Larkin 7327ee608a chore(eslint): added eslint-node-plugin (#3652) 2016-12-30 17:13:49 -06:00
Sean Larkin aa8d01bf8d refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636)
* refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot

* This change allows for buildin to now be part of the lint test by addition of an extra .eslintrc file which extends existing but sets es6 to false
* Turned on no-unused-vars for eslint, and then removed all warnings from turning that feature on
* Was getting notified of errors in "quote" property in eslintrc, so changed to correct value from error to 2.

* beautify

* swap invalid eslint config val
2016-12-30 09:43:49 -06:00
Tushar Sonawane 6b39a5325c fix 'no-inner-declarations' warnings 2016-10-29 19:30:01 +05:30
Tobias Koppers de4bd221af follow up changes for #2848 2016-08-17 12:54:54 +02:00
Diogo Franco 803a87fd0e Add missing return
The module.hot.apply promise chain was not correctly merged into the module.hot.check() chain.
2016-08-07 00:31:24 +09:00
Tobias Koppers 6b4ced42ad advertise the NamedModulesPlugin for HMR 2016-07-20 15:19:01 +02:00
Tobias Koppers bd35d4f65d allow to ignore errors and fire events 2016-07-02 17:30:21 +02:00
Tobias Koppers 1cd6c4eeba better error messages in HMR
events for ignored updates
warnings to console when updates are ignored
2016-06-24 11:17:25 +02:00
Diogo Franco (Kovensky) 216b435c25 only-dev-server: Remind user that hot updates stopped
If a previous update fails or aborts, the webpackHotUpdate handler stops
calling check(). This is fine in dev-server.js, as any failure will
cause a window.location.reload() anyway, but only-dev-server.js will
complain once and then silently not work anymore.
2016-06-21 09:51:43 +09:00
Tobias Koppers cf00a1a22d rewrite cases where js beautify and eslint disagree on formatting 2016-06-20 21:46:27 +02:00
Simen Bekkhus b1bdd6989f Use eslint's indent rule 2016-06-20 08:21:00 +02:00
Diogo Franco (Kovensky) 621d656573 Fix only-dev-server.js's module.hot.apply call
It had not been updated to webpack 2's Promise ways, so the callback
never happened.
2016-06-16 00:10:47 +09:00
Spencer Elliott 70f01242f1 Use an EventEmitter instead of `window.addEventListener` 2015-11-02 22:42:26 -05:00
Tobias Koppers 431a4c791c Merge branch 'master' into webpack-2
Conflicts:
	hot/dev-server.js
	hot/only-dev-server.js
	hot/poll.js
	hot/signal.js
	lib/ChunkTemplate.js
	lib/HotModuleReplacement.runtime.js
	lib/HotModuleReplacementPlugin.js
	lib/JsonpMainTemplatePlugin.js
	lib/MainTemplate.js
	lib/NormalModule.js
	lib/Parser.js
	lib/RecordIdsPlugin.js
	lib/WebpackOptionsApply.js
	lib/dependencies/RequireEnsureDependency.js
	lib/node/OldNodeWatchFileSystem.js
	lib/optimize/OccurrenceOrderPlugin.js
	package.json
2015-07-17 09:30:37 +02:00