Giter Site home page Giter Site logo

Comments (8)

w0rp avatar w0rp commented on August 24, 2024

I just added scsslint support. Try it out, and let me know what you think.

It should now be the second linter to support the g:ale_warn_about_trailing_whitespace flag.

from ale.

deathmaz avatar deathmaz commented on August 24, 2024

Works really great 👍
Thank you very much !

from ale.

kaylacohn avatar kaylacohn commented on August 24, 2024

@deathmaz @w0rp how do you configure this with g:ale_linters to have scss use scss-lint. I'm currently doing


let g:ale_linters = {
\   'javascript': ['eslint'],
\   'scss': ['scss-lint'],
\}

but it doesn't seem to be working

from ale.

w0rp avatar w0rp commented on August 24, 2024

The name of the linter is a little different. Check :ALEInfo. If you have some trouble, paste the output here.

from ale.

mvattuone avatar mvattuone commented on August 24, 2024

@w0rp So i noticed the linter name is scsslint which is indeed slightly different, but I am getting unknown function: scsslint when trying to use it in my .vimrc

  let g:ale_fixers = {
  \   'javascript': ['eslint'],
  \   'scss': ['scsslint'],
  \}

This is probably a lack of understanding on my part but do I need another scsslint plugin? Seems like scss-lint runs as a linter but the fixer itself doesn't.

from ale.

w0rp avatar w0rp commented on August 24, 2024

You're getting that error because there is no such fixer.

from ale.

ianks avatar ianks commented on August 24, 2024

@w0rp Is there any way to configure ale not to attempt to use auto-fix when the linter does not support it?

from ale.

w0rp avatar w0rp commented on August 24, 2024

Yes, don't set invalid settings.

from ale.

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.