Commit Graph

29 Commits

Author SHA1 Message Date
Mohit Singh
8175f1e418 Remove unused eslint comment (#6674) 2019-03-18 07:25:31 -07:00
John Reilly
bac02873eb Enable click to go to error in console for TypeScript (#6502)
* reattempt changes

* formatter fixes

* fix missing colon in path

* revert path tweaking amends as per discussion with @ianschmitz
2019-03-10 09:31:30 -07:00
Joe Haddad
7b1a32be6e Polish webpack message output (#5174)
* Only install react-scripts in CI mode

* Link locally

* Re-enable all output tests

* 💄 Polish webpack output

* Test sass support message

* Add more tests, but disabled

* Format missing default export error

* Format aliased import

* Why was node-sass required? Odd

* Format webpack rejection error

* Re-enable unknown package test

* Format file not found error and catch module scope plugin error

* Re-disable case sensitive paths

* Intercept and format case sensitive path errors

* Test out of scope message formatting

* Run behavior on macOS

* Run behavior on Node 8 and 10, only Node 8 for macOS

* Add some debugging

* Update matcher

* Only check stderr

* Remove old snapshot

* More debug

* Remove debug

* Add new debug

* Disable test on linux

* Add comment for future
2018-09-30 17:44:49 -04:00
Viktor Havrylin
be8f9da4cf Fix displaying third party webpack plugins errors (#5137) 2018-09-27 12:02:17 -04:00
Joe Haddad
1448b2414a Make Sass missing message friendlier (#4514)
* Tweak browser support section

* Make sass message friendlier

* Tweak message

* Tweak message futher

* test
2018-09-26 11:22:15 -04:00
Joe Haddad
98a875a032 Fix unfound export error 2018-09-17 19:59:15 -04:00
Joe Haddad
74e452712b Fix message massaging for ESLint warnings 2018-09-17 19:59:14 -04:00
Joe Haddad
5ba88da723 Fix css error message massaging 2018-09-17 19:59:14 -04:00
Joe Haddad
710557f2f4 Fix syntax error message massaging 2018-09-17 19:59:14 -04:00
Marco Fugaro
9843be53f5 Update the thread loader test in errors (#4420) 2018-05-09 00:37:19 -04:00
Michaël De Boey
25184c4e91 Fix links to package (#3898) 2018-01-22 22:16:22 +00:00
Joe Haddad
f0719866f2 Remove duplicated stack from thread-loader (#3847) 2018-01-17 22:05:35 -05:00
Sophie Alpert
2e82ebb337 BSD+Patents -> MIT (#3189)
* File headers BSD+Patents -> MIT

* BSD+Patents -> MIT
2017-09-26 10:30:05 +01:00
Joe Haddad
9b23be825a Update dev deps (#2923)
* Bump deps

* Fix linter errors

* Whoops

* Try to bump webpack

* Update peer deps to min for eslint 4.x
2017-08-08 23:15:34 -04:00
Stéphane Goetz
badfc2a8d9 Make formatWebpackMessages return all messages (#2834)
* Move the reduction of the messages to a single place in the place it is used.

* Fix variable name
2017-08-08 21:37:04 -04:00
Dan Abramov
d9a2974574 Tidy up some build logs (#2197) 2017-05-17 20:10:17 +01:00
Joe Haddad
e17c392203 Fix lint 2017-05-15 13:48:44 -04:00
Dan Abramov
f87e61337a Make error/warning output more useful (#2161) 2017-05-15 18:09:05 +01:00
Dan Abramov
21349c542b Tweak error and warning output (#2152)
* Tweak error and warning output

* Add a colon
2017-05-15 01:07:59 +01:00
Siddharth Doshi
f17448e9e5 Add custom eslint formatter (#2138)
* Add custom eslint formatter

* Add formatter docs

* Update formatter docs

* Slightly tweak it

* Update README.md
2017-05-15 00:42:13 +01:00
Dan Abramov
1ede6a8d12 Only show first error (#2125) 2017-05-11 15:54:31 +01:00
Dan Abramov
69590775ce Omit ESLint warnings when there are ESLint errors (#2120) 2017-05-11 13:58:07 +01:00
Dan Abramov
0a503954b2 Prettify errors and warnings for Webpack 2 (#2113)
* Prettify errors and warnings for Webpack 2

* Update formatWebpackMessages.js
2017-05-10 21:49:37 +01:00
Valerii Sorokobatko
fe7b5c212b update to modern code style (#1738)
* mv create-react-app/index.js -> create-react-app/creteReactApp.js

* update to modern code style

* var -> cosnt

* set trailing-coma to es5 for prettier
2017-03-07 19:46:10 +00:00
Dan Abramov
2f7e3a2168 Lint internal scripts with eslint:recommended (#1729)
* Lint internal scripts with eslint:recommended

* Warnings r bad
2017-03-05 22:29:28 +00:00
Jirat Ki
7e2a08b957 Strip filename from loader notation first (#1226) 2016-12-10 06:48:27 -08:00
James Newell
f7d9cd8166 Don't strip stack traces of evaluated webpack bundles (#1050)
* Don't strip stack traces of evaluated webpack code

* Strip stack traces at the end of a string

because the last line doesn't always have a `\n` and `create-react-app` is leaving the last line of the stack traces present in the error messages

* code comment

* code comment
2016-12-05 22:58:36 +00:00
Dan Abramov
9cce0fb59f Add syntax error overlay in development (#744)
* Add syntax error overlay in development

* Support HMR being disabled

* Tweak CSS
2016-09-25 11:31:10 +01:00
Dan Abramov
e5bf5af296 Extract some utilities into a separate package (#723)
* Extract some utilities into a separate package

* Add utils dir to `files` in package.json

* Do not create an empty `utils` dir on eject
2016-09-23 20:53:08 +01:00