Open ai opened 8 years ago
I suggest as a next step to open individual issues in stylelint for each rule or option that you think should be added. We could also open issues for individual plugins, either there or here, now or later. That way we can discuss each case in its own individual issue.
Sgtm. I suggest creating the plugin issues in this issue tracker and the rule issues (that meet the criteria) in the stylelint issue tracker, so that the separation of responsibilities is maintained.
@ai
CSSLint and Stylelint are both functional linting. Am I right?
Yup, definitely. The point I was making was that JSCS and ESLint wasn't 2 functional linting projects merging.
Yeap, npm size is always problem right now. But I think most of users prefer more rules, than less file size. PostCSS and Stylelint definitely support node.js and browser.
Is there a standalone web version? The web version I saw on the site looks like it requires a backend.
I supported Java/Rhino, but have no good tests right now. Could you recommend Travis CI solution, to test PostCSS/Stylelint with Rhino?
No, I couldn't find a good way of pulling down Rhino in a build matrix, but it has been awhile since I looked. We had problems because of bugs in the last official release (when I looked), but were fixed in the unreleased version.
What is WSH?
@nschonni
Yup, definitely. The point I was making was that JSCS and ESLint wasn't 2 functional linting projects merging.
Sure, JSCS and ESLint had more differences. But I think that idea difference is main reason against merging. If some project has some idea, they should merge to solve this idea in the best way.
Is there a standalone web version?
Just use browserify or webpack to build client side. Most of PostCSS plugins are client side ready.
We had problems because of bugs in the last official release (when I looked), but were fixed in the unreleased version.
How did you test it? We could implement this testing in Stylelint too.
But, honestly there was no WSH/Rhino issue reports in entire PostCSS ecosystem (it is much bigger) — seems like most of users was migrated to node.js.
@delorge Thanks for the summary!
@davidtheclark wrote: I suggest as a next step to open individual issues in stylelint for each rule or option that you think should be added. We could also open issues for individual plugins, either there or here, now or later. That way we can discuss each case in its own individual issue. I think that will be more effective than trying to address them all here in this one thread.
Over at stylelint we've created new issues for the rules and options that we think should be added to core. That leaves the following plugins up for discussion outside of the stylelint organisation:
Whoever wants to lead the stylelint-csslint
plugin pack initiative, I'd recommend creating a new stylelint-csslint
repo (within the CSSLint organisation). Then creating separate issues for each of these plugins. Some of these issues will be closed quickly as there are some thoughts that a few of the rules are outdated and should be deprecated. Having the decisions made, however quickly, within separate issues allows people to comment cleanly on the matter though, and keeps everything easy to reference.
In terms of inspiration of what a plugin pack might look like, I suggest checking out stylelint-scss
.
From this point forward, I suggest this issue should focus on discussing the merits of different merge/migration paths e.g. @ai's suggestion of:
npm install stylelint-csslint stylelint; stylelint-csslint convert ./
If a conversion CLI tool bundled within stylelint-csslint
proves to be the path forward, we can close this issue and create an new issue within the stylelint-csslint
repo to discuss the details of the implementation.
One advantage I can think of the conversion tool is that current CSSLint can remain available for anyone wishing to use rules deemed outdated in stylelint-csslint
or has one of the use cases that @nschonni outlined.
@jeddy3 I can participate stylelint-csslint
initiative. I started with implementation a couple of rules, currently without tests and build pipe, that currently are most needed for me inside personal repo, but I am pleased to share my current code base for community.
@seth2810 can you PR in our repo?
@evilebottnawi I don't understand what you mean. Of course I can make PR in your repo, but I think it is about creating a separate repo for missing rules. It would be great if the solution would work in both directions:
CSSLint
core;CSSLint
with plug-in and configure couple of missed rules inside Stylelint
configuration.
I think if we will merge CSSLint and Stylelint everyone will win — users will get more features, and we will have more free time. We already have great examples of ESLint + JSCS, Babel + esnext, Rails + Merb.
@XhmikosR @frvge @davidtheclark @jeddy3 what do you think?
Merging Plan Example
Benefits for CSSLint Developers
eslint --fix
does in JS. Stylelint already could do it for some rules with Stylefmt.Benefits for CSSLint Users