You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
So, usually a coding session of mine looks like the following:
Write the ugliest code + test that can possibly solve your problem
Refactor the functionality and make a proper structure
Lint and fix stylistic issues
However, with the very verbose setting of linting errors in the browser console, it's hiding most of my other debugging output. I've tried to disable the linting in the browser by commenting out the following part in build/webpack/client.js:
Hey, so as a temporary fix what you'd want to do is disable the eslint preloader in ~/build/webpack/client.js (and server.js as well if you're using it):
I realize that it's not the greatest solution, but that will at least let you develop freely for now. When I get some time I'll take a look at improving the linting so that it's not as intrusive during development, and probably make the default eslint config much more lenient.
Hey @victorbjelkholm, since I still haven't figured out how to get the lint errors to not show up in the console, I've added a configuration option here 8f8fd5d:
config.set('webpack_lint_in_dev', true);
You can set this to false to disable linting when developing. It will still lint in all other environments, which is useful for validating PR's and whatnot. I know it's not ideal, but it's at least a workaround until I can find some documentation on disabling certain browser output.
Closing this for now since this option is available and should serve most use cases. I'll continue to explore the possibility of disabling output in the browser console, but I've yet to find any documentation around how to achieve this.
So, usually a coding session of mine looks like the following:
However, with the very verbose setting of linting errors in the browser console, it's hiding most of my other debugging output. I've tried to disable the linting in the browser by commenting out the following part in
build/webpack/client.js
:But still I see the linting warnings/errors (that also sometimes stops me from continuing developing...).
How can I disable this?
The text was updated successfully, but these errors were encountered: