Comments (10)
I have the same issue. Sometimes there is no output given about the errors which makes the plugin basically useless...
from sasslint-webpack-plugin.
@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.
@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.
@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.
@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.
@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.
@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.
@mikeerickson: I probably should have opened with that, so my bad. Thanks!
from sasslint-webpack-plugin.
@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.
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)
- Cleanup
- Cannot find module 'text-table' HOT 1
- Unable to make "file" configuration work HOT 5
- Allow multiple entry points
- Configuration problem HOT 8
- Error: EISDIR: illegal operation on a directory, read HOT 6
- Duplicative Lint HOT 3
- Numerous linting errors HOT 1
- Allow use of include/ignore from sass-lint config file HOT 1
- extract-text-webpack-plugin and webpack should not be a dependency
- Move print of warnings to the end HOT 3
- Add ability to eliminate a lint rule per line or file HOT 1
- Warnings displayed twice HOT 2
- Returns nothing... HOT 1
- Not using configFile and requires full path to ignored files HOT 4
- How to ignore files from 'node_modules'. HOT 5
- support css variables to property HOT 1
- Upgrade to node-sass 4.5.3 for NodeJS 8 compatibility HOT 1
- Webpack 4 support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sasslint-webpack-plugin.