Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Don't work with .sass files #525

Open
alxmagro opened this issue Nov 15, 2019 · 2 comments
Open

Don't work with .sass files #525

alxmagro opened this issue Nov 15, 2019 · 2 comments

Comments

@alxmagro
Copy link

Stylelint supports .sass files, but atom plugin don't shown the errors.

@luketevers
Copy link

Hey @AlexandreMagro - depending on where this is stored on your computer, for me it was ~/.atom/packages/linter-stylint/lib/index.js - go to that <- index.js and somewhere in the middle of it is this array:

    this.baseScopes = [
      'source.css',
      'source.scss',
      'source.css.scss',
      'source.less',
      'source.css.less',
      'source.css.postcss',
      'source.css.postcss.sugarss'
    ];

just add 'source.sass' to that array. A la:

    this.baseScopes = [
      'source.css',
      'source.scss',
      'source.sass',
      'source.css.scss',
      'source.less',
      'source.css.less',
      'source.css.postcss',
      'source.css.postcss.sugarss'
    ];

and it will work great until they update again.

@yocontra
Copy link

yocontra commented Mar 6, 2020

Related: #529

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants