GithubHelp home page GithubHelp logo

Comments (10)

ianks avatar ianks commented on June 18, 2024

I have the same issue. Sometimes there is no output given about the errors which makes the plugin basically useless...

from sasslint-webpack-plugin.

mikeerickson avatar mikeerickson commented on June 18, 2024

@ianks would you mind sharing some example(s) where you are seeing silent errors? Will see what can be done to provide more details.

Thx in advance :)

from sasslint-webpack-plugin.

mikeerickson avatar mikeerickson commented on June 18, 2024

@bharley as requested from @ianks, if you could please supply some example(s) it would help track down what you are experiencing.

Perhaps a sample .sass file which contains errors which are skipped

from sasslint-webpack-plugin.

bharley avatar bharley commented on June 18, 2024

@mikeerickson: In my case, the errors aren't skipped. They just output to the browser without any description. If I switch to the command-line window running the node application, I can scroll up and see the exact error details (line number, which rule broke, etc), but this isn't a pleasant workflow.

from sasslint-webpack-plugin.

mikeerickson avatar mikeerickson commented on June 18, 2024

@bharley thanks for the input. Would you mind sharing what you expect to see different?

Just trying to understand what you are asking to make it a better workflow fo you? Seeing as the plugin is designed for CLI output, not sure what you want to see differently.

Surely trying to help, just not quite sure what you are looking for.

Thanks

  • me

from sasslint-webpack-plugin.

bharley avatar bharley commented on June 18, 2024

@mikeerickson: I'm not entirely sure of the technical details, so excuse me as I try to make sense of this:

webpack-hot-middleware has an overlay that it uses to display errors on top of the application in the browser (mildly documented on their README). When I make a code change that will throw an eslint error, the overlay will show this after the build is finished and sent to the browser (as illustrated in the above screen shot of my application).

This plugin will also show up in the overlay (as seen in the screenshot in my original post), but it includes much less details than the eslint error above itโ€”only showing the file where the error occurred instead of including line numbers or rule issues.

from sasslint-webpack-plugin.

mikeerickson avatar mikeerickson commented on June 18, 2024

@bharley Ah, ok. I was not making the connection you were talking about regarding webpack-hot-middleware My apologies for the confusion, now I understand what you are saying.

I will have a look at this :-)

from sasslint-webpack-plugin.

bharley avatar bharley commented on June 18, 2024

@mikeerickson: I probably should have opened with that, so my bad. Thanks!

from sasslint-webpack-plugin.

mikeerickson avatar mikeerickson commented on June 18, 2024

@bharley No worries, sometimes hard to get in sync with what someone is thinking, especially via text communication :-) I make this same mistake all the time. It's all good!!

from sasslint-webpack-plugin.

jackmarketon avatar jackmarketon commented on June 18, 2024

We do not use webpack-hot-middleware internally so I will not be able to implementing a fix for this @bharley. We use it entirely as a CLI tool, you are welcome to submit a PR for improvements for integrating with webpack-hot-middleware.

from sasslint-webpack-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.