Comments (23)
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.
Implemented in #381.
from linter-stylelint.
@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.
@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.
@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.
Temp fix:
$ ~/.atom/packages/linter-stylelint
$ vim package.json # bump stylelint version
$ yarn
from linter-stylelint.
@iwinux That has absolutely no relevance to this issue here.
from linter-stylelint.
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.
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.
@satazor linter-eslint
already works in this manner, ideally all node based linters should work in this manner.
from linter-stylelint.
I was wondering why the CLI and linter-stylelint were reporting differently
from linter-stylelint.
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.
@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.
@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.
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.
Bump on this
from linter-stylelint.
I need this feature too :)
from linter-stylelint.
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.
Me too have Undefined rule "declaration-block-no-redundant-longhand-properties"
error right after update to Stylelint 7.2.
from linter-stylelint.
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.
@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.
@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.
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)
- don't fix "color-hex-case": "lower" rule in rgba functinos. HOT 1
- Uncaught Error: Cannot find module 'sb-fs' HOT 2
- Error and stack trace while trying to run stylelint on a file HOT 1
- Uncaught RangeError: path should be a `path.relative()`d string, but got "../../../../duncan/dev/central/web-ui/src/components/common/Component.md" HOT 1
- Don't work with .sass files HOT 2
- EBADF: Bad File Descriptor error HOT 3
- stylelint version way out of date and incompatible with current stylelint rules HOT 4
- How can I get "Possible Errors" to show up as errors and "Stylistic Issues" to show up as warnings? HOT 3
- Provide configfile option from settings?
- Inline and/or manual fix integration? HOT 1
- Crash - Error running stylelint Error: Column start (11) greater than line length (0) for line 8 HOT 1
- stylelint.config.js file is ignored
- Cannot destructure property `isPathValid` of 'undefined' or 'null'. HOT 3
- Plugin not working with stylelint-config-sass-guidelines HOT 2
- Update to latest stylelint HOT 5
- Cannot find module 'atom' (crashes fuzzy-finder)
- Error on line 1 HOT 1
- Dependency Dashboard
- Getting error in Atom about static/index.json? HOT 3
- Stylelint Plugin is not picking up nested syntax configrations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linter-stylelint.