Comments (6)
I'm having the same problem. Setting the context
option solved it for me.
new SassLintPlugin({
context: './src/sass/',
}),
from sasslint-webpack-plugin.
@DanPurdy @jackmarketon can confirm—sass-lint v1.8 fixes this issue.
from sasslint-webpack-plugin.
@DanPurdy thanks!
from sasslint-webpack-plugin.
Marking this as closed as @roelvanhintum's solution solved it with a config option.
from sasslint-webpack-plugin.
Kinda feel like this should remain open since the plugin completely breaks without setting this option which is, supposedly, optional.
from sasslint-webpack-plugin.
You'll want to check this again when sass-lint 1.8 arrives as there's a PR in at the moment to prevent directories being read for that version.
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
- 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
- More descriptive errors HOT 10
- 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.