-
Notifications
You must be signed in to change notification settings - Fork 528
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
Disable linters #677
Disable linters #677
Conversation
To start with the issue is in index.js file. In the sassLint.lintText method, following statements should be called after the ast is generated. The above lines should move inside the block that runs the rules. if (ast.content && ast.content.length > 0) { I made the changes locally and the tests for rules are passing. |
Thanks @avinashci as mentioned there has been a lot of changes to sass-lint since this was last worked on including the block of code you highlighted the result you're seeing is just the result of the work being brought up to date with the current version and is unfortunately not finished.. Thanks for that catch though, feel free to open a PR into the disable linter branch to contribute that change. We'll be moving forward with updating this all very soon |
Please do not add comments in PR's unless they add something to the discussion. Issues can be used to request features and github's reactions can be used to show your support for things. |
submitted a pull request #723 to incorporate changes for programatically enabling/disabling linting ; as a part of issue # 70. |
Looks like the merge issues are resolved and the changes have been integrated to the branch. Anymore help needed here? |
There are no tests for |
My team mates and I would like to contribute to this. How best can we help? I realise we are a little late to the party;-) |
Hi @stevegibbings, Thanks for the offer any help provided would be appreciated (personally struggling to find time at moment!) There's an issue in #743 that would need looking at in order to make sure the Alternatively throwing a few more test cases at both syntaxes with a view to just releasing this functionality for Basically any help or light that can be shed on this feature would be greatly appreciated. |
Wholesale consistency via sass-lint. Style for Vue components will be addressed in the next commit. There are a couple of outliers related to constraints inherent in vendored tools (semantic-ui & jquery plugins). These will be resolved once the ability to disable linters from the source is implemented. sasstools/sass-lint#677
Ah that's a bug with a previous version of our AST, shouldn't cause any issues now when we release the latest version of Sass-lint |
1e1c072
to
000f3a0
Compare
content. Resolves #70 DCO 1.1 Signed-off-by: Saptarshi Dutta <saptarshidutta31@yahoo.co.in>
Resolves # 70 DCO 1.1 Signed-off-by: Saptarshi Dutta saptarshidutta31@yahoo.co.in
DCO 1.1 Signed-off-by: Saptarshi Dutta <saptarshidutta31@yahoo.co.in>
000f3a0
to
b7a8832
Compare
1 similar comment
Will release with 1.10 |
@DanPurdy Thank you! When should folks generally expect 1.10 to roll out? |
@albell It's already out! 🎉 |
Ongoing work for disabling linters via source.
closes #70
Ongoing from the work of @donabrams in #402
Everyone feel free to contribute to this branch feature/disable-linters