-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for .sasslintrc #537
Conversation
@@ -19,7 +19,7 @@ var findFile = function findFile (configPath, filename) { | |||
|
|||
configPath = configPath || path.join(process.cwd(), filename); | |||
|
|||
if (fs.existsSync(configPath)) { | |||
if (fs.existsSync(configPath) && fs.statSync(configPath).isFile()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checks if it's a file. My tests add a .sass-lint.yml
directory and were failing because of this.
I think it's a good sanity check anyway.
In the discussions it sounds like the agreed-upon name of the file was |
@benthemonkey Yup that was a typo, thanks :) |
Hey - could you add a Developer Certificate of Origin |
DCO 1.1 Signed-off-by: Nicolas Gryman ngryman@gmail.com |
I'll be very happy if it will come in next update 😄 |
Hey @ngryman - Could you update this branch with the latest code on develop and fix any conflicts? Thanks. |
Hey, I submitted this 3 months ago. |
Related: #533.