Giter VIP home page Giter VIP logo

Comments (4)

ota-meshi avatar ota-meshi commented on May 25, 2024 1

Hi @jeddy3.
When using "eslint.validate" by default, vscode-eslint automatically checks whether the language of ts, vue and html is parseable from the eslint configuration file.
However, this setting is necessary if you want to verified languages (e.g. md, coffeescript) that cannot automatically check the eslint configuration.

I forgot to explain. I want to exclude md from being verified for repositories that do not introduce stylelint.
So I don't want to use ignoreFiles and .stylelintignore.

I think that it works if I exclude md from "stylelint.validate" in User Settings, and add md in Workspace Settings where I want to validate md.

In my opinion, "stylelint.validate" should be configured with css, scss, sass, less, html, vue, postcss and sugarss by default. However, this will be a breaking change, so we need to discuss whether to change it in 1.x.

from vscode-stylelint.

jeddy3 avatar jeddy3 commented on May 25, 2024 1

Thanks for the explanation. A new stylelint.validate option sounds good to me.

from vscode-stylelint.

jeddy3 avatar jeddy3 commented on May 25, 2024

That option is described as:

This is an old legacy setting and should in normal cases not be necessary anymore.

Do we know what the new preferred option is?

Alternatively, rather than adding a new option to this extension, we could better emphasis ignoreFiles and .stylelintignore in this extension's documentation.

from vscode-stylelint.

ntwb avatar ntwb commented on May 25, 2024

Not sure if we can add some settings to filter these languages, will need to look into this further:

https://github.com/stylelint/vscode-stylelint/blob/master/lib/stylelint-vscode/index.js#L20-L43

from vscode-stylelint.

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.