Giter Site home page Giter Site logo

Comments (23)

egeriis avatar egeriis commented on June 9, 2024 6

Is it correct, that this is still not supported? We're using stylelint v6, but see errors reported that we're using rules that've been removed in stylelint v7.

from linter-stylelint.

emuvente avatar emuvente commented on June 9, 2024 2

Implemented in #381.

from linter-stylelint.

satazor avatar satazor commented on June 9, 2024 1

@Arcanemagus this issue applies not only to stylint but to others too. This would indeed be a good addition, in fact I think we should always prioritize local installations. One thing to be aware though is that if we ever support this we must support API changes of stylelint runtime itself.

from linter-stylelint.

satazor avatar satazor commented on June 9, 2024 1

@benfrain Yes, most sublime linter providers use that philosophy which is good. We should indeed consider doing the same, but not only for stylelint but also for eslint, jshint, etc.

from linter-stylelint.

EvHaus avatar EvHaus commented on June 9, 2024 1

@Arcanemagus I can look into working on this feature. Could you give me some direction in terms of the work that needs to be done? Is it simply a manner of copying over the same way that linter-eslint does it?

from linter-stylelint.

iwinux avatar iwinux commented on June 9, 2024 1

Temp fix:

$ ~/.atom/packages/linter-stylelint
$ vim package.json # bump stylelint version
$ yarn

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024 1

@iwinux That has absolutely no relevance to this issue here. πŸ˜•

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

This is of course possible, it just complicates how things are ran quite a bit. A PR implementing this would be nice!

from linter-stylelint.

benfrain avatar benfrain commented on June 9, 2024

The Sublime version of stylelint already works this way: https://github.com/kungfusheep/SublimeLinter-contrib-stylelint

That's why I was surprised the Atom one didn't.

On 1 Jan 2016, at 18:41, AndrΓ© Cruz [email protected] wrote:

@Arcanemagus this issue applies not only to stylint but to others too. This would indeed be a good addition, in fact I think we should always prioritize local installations. One thing to be aware though is that if we ever support this we must support API changes of stylelint runtime itself.

β€”
Reply to this email directly or view it on GitHub.

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

@satazor linter-eslint already works in this manner, ideally all node based linters should work in this manner.

from linter-stylelint.

silvenon avatar silvenon commented on June 9, 2024

I was wondering why the CLI and linter-stylelint were reporting differently πŸ‘

from linter-stylelint.

jaydenseric avatar jaydenseric commented on June 9, 2024

This is critical, I can't use this plugin with the current version of stylelint (5.0.0). A notification pops up with the error "Unable to run stylelint" due to undefined rules. Running stylelint via a NPM script is fine.

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

@jaydenseric A PR for this would be welcome, in the meantime v5.0.0 is actually ready, just waiting on the configs to update (#122).

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

@jaydenseric v2.0.0 is published which bundles [email protected], do note that the only config that currently works with this version of stylelint is stylelint-config-standard (at least of the 4 that were previously bundled).

from linter-stylelint.

ntwb avatar ntwb commented on June 9, 2024

I made a comment in #134 where I stated:

"This is the downside of the Atom linters installing the linters themselves vs the Sublime Text way is that you should install the linter somewhere or globally yourself before adding the editor package."

My, bad, apologies, I also didn't know linter-eslint already worked in this manner, so it would be great to see linter-stylelint also work this same way πŸ‘

from linter-stylelint.

jonrohan avatar jonrohan commented on June 9, 2024

Bump on this πŸ‘

from linter-stylelint.

ai avatar ai commented on June 9, 2024

I need this feature too :)

from linter-stylelint.

boxxxie avatar boxxxie commented on June 9, 2024

i can't use stylelint in it's current form

i get the below error. i think it's related to this issue.

Unable to run stylelint
Undefined rule "declaration-block-no-redundant-longhand-properties"

from linter-stylelint.

ai avatar ai commented on June 9, 2024

Me too have Undefined rule "declaration-block-no-redundant-longhand-properties" error right after update to Stylelint 7.2.

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

That's because this package hasn't been updated to bundle [email protected] yet, hence why this issue exists in the first place πŸ˜›.

I'll push out an update with that in a few.

Edit: Published in v3.2.0.

from linter-stylelint.

MattDiMu avatar MattDiMu commented on June 9, 2024

@iwinux How is this a fix and how does this give you the possibility to use different stylelint-versions for different projects? (= not being forced to update older projects all the time)

from linter-stylelint.

Arcanemagus avatar Arcanemagus commented on June 9, 2024

@EvHaus This is a rather large undertaking, the best example of doing this correctly that we have currently is this function and the functions it calls / settings it uses over in linter-eslint.

from linter-stylelint.

dkniffin avatar dkniffin commented on June 9, 2024

Has any progress been made on this? It's been almost two years since it was suggested, and it's such an important feature for anyone who works on projects that aren't using the latest version of stylelint. Without it, this plugin is essentially useless for those projects.

from linter-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.