Tobias Koppers
53103a9690
Cleanup error location and origin information
2018-06-04 10:35:46 +02:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
Mohsen Azimi
839892c8a2
JSON and Date API usage fixes
2018-04-07 18:17:23 -07:00
Tobias Koppers
8d8da4cdff
Merge branch 'master' into bump_prettier
2018-03-29 11:48:02 +02:00
Florent Cailhol
f1092ad516
Update prettier toolchain
2018-03-26 16:56:10 +02:00
Florent Cailhol
72786beee7
Use ellipsis instead of '...'
2018-03-22 10:54:18 +01:00
marcalexiei
92a3fc2cd3
Config error message – fix version
2018-03-02 17:05:23 +01:00
kvrlk
8d0d2b1695
rollback edit
2018-02-28 18:12:06 +02:00
kvrlk
ea33a974c0
Fixed
2018-02-27 22:40:48 +02:00
kvrlk
05e3ae8b30
Fixed messages
2018-02-27 22:32:51 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
Sergey Petushkov
ac619960ac
Merge remote-tracking branch 'upstream/master' into feature/validate-plugin-options
...
Conflicts:
schemas/webpackOptionsSchema.json
2017-11-18 09:35:37 +01:00
Tobias Koppers
00a980825a
Remove unneeded code lines
2017-11-16 13:56:34 +01:00
Tobias Koppers
e481ea53fd
add linting for schemas
...
add missing descriptions in schema
2017-11-16 13:15:15 +01:00
Sergey Petushkov
cdd593b847
Rename schemas; Make imports less verbose
2017-11-12 09:48:08 +01:00
Sergey Petushkov
fbad067243
Revert changes to WebpackOptionsValidationError
2017-11-12 09:48:08 +01:00
Sergey Petushkov
b50d4cf7c3
Move common schema functions to util
2017-11-12 09:48:08 +01:00
Jarid Margolin
70e48d2c31
Create base WebpackError class with inspect method.
2017-04-03 10:42:53 -04:00
Tobias Koppers
2fe82af05d
Suggest course of action
2017-03-24 22:29:55 +01:00
Jeff Escalante
7c09a4d952
a couple more fixes that were initially missed
2017-02-16 11:16:47 -05:00
Jeff Escalante
18c313097a
fix an issue with validation error formatting
2017-02-10 17:40:54 -05:00
Tim Sebastian
8ecae31c67
clean up schema check output by adding absolutePath explicitly to WebpackOptionsValidationError
2017-02-08 22:54:55 +11:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Will Mendes
a0ad795069
refactor(WebpackOptionsValidationError): upgrade to ES6 ( #3715 )
2017-01-04 10:33:49 -06:00
Eduard Kyvenko
29a1b54564
Added better validation for entry in option schema ( #3567 )
...
Added better validation for entry in option schema (#3567 )
* Added better validation for entry in option schema
* Fixed option validation schema
* Improved error reporting for empty entry bundle
* Added a test for empty entry bundle
2017-01-03 23:23:57 -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
Tobias Koppers
4e3ef7a952
beautify
2016-12-14 12:28:10 +01:00
Tobias Koppers
3c1086303f
Improve validation errors
2016-12-14 11:34:57 +01:00
Diogo Franco (Kovensky)
d5a7cf39bb
Update code to pass lint
2016-11-21 09:08:54 +09:00
Kees Kluskens
c8fd638036
Fix validation schema accepting invalid values when `instanceof` is used
2016-11-03 23:52:59 +01:00
Kostas Manionis
36b7f21b92
Fix plugin typos in options validation
2016-09-28 13:54:46 +03:00
Tobias Koppers
f18989c712
add number for schema info
2016-09-22 23:35:33 +02:00
Tobias Koppers
db68334c32
added a note about applying the LoaderOptionsPlugin only for some modules
2016-09-21 11:26:46 +02:00
Tobias Koppers
9f9144e6f8
added another custom error message for the debug property
2016-09-21 09:24:00 +02:00
Tobias Koppers
7f31a49581
special error message for custom properties in configuration
2016-09-20 20:18:52 +02:00
Tobias Koppers
2ea3b597e6
say ... for objects with additionalProperties
2016-09-20 19:54:14 +02:00
Tobias Koppers
8c3d97d933
add test
...
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
Gajus Kuizinas
9e0a95e48b
fix: improve error phrasing
2016-09-17 20:22:59 +01:00
Gajus Kuizinas
91e36407ac
feat: define WebpackOptionsValidationError
2016-09-17 20:21:07 +01:00