[wp-trac] [WordPress Trac] #29792: Grunt: Add a precommit task to check for CSS syntax errors
WordPress Trac
noreply at wordpress.org
Tue Sep 29 10:24:36 UTC 2015
#29792: Grunt: Add a precommit task to check for CSS syntax errors
------------------------------+-----------------------
Reporter: helen | Owner: netweb
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+-----------------------
Comment (by netweb):
Replying to [comment:43 slackbot]:
> ''This ticket was mentioned in [https://make.wordpress.org/chat/ Slack]
in #core by jorbin.
[https://wordpress.slack.com/archives/core/p1443213413004465 View the
logs].''
Following up on questions raised in the above chat log:
> jorbin [6:33 AM] For one: I don’t know if I like having the rules live
in a separate repository. That seems counter to how we have all our other
tooling
>
> helen [6:33 AM] i would agree.
First up I'll note that I am an "owner" of both the
https://github.com/stylelint/stylelint-config-wordpress and
https://www.npmjs.com/package/stylelint-config-wordpress repos and adding
other maintainers such as yourselves Jorbin, Helen, Nacin etc has always
been part of my greater plan as this WordPress and Stylelint project moves
forward so that timely updates, pull requests, and deployments etc can be
made by many and not be stuck waiting on any one individual.
Currently the only way to define Stylelint rules are in said separate
repository, there are future plans to add support for a `.stylelintrc`
file, similar to `.jshint` and the like though this has yet to be
implemented.
I personally also see the separate repository as an advantage that allows
similar shared benefits as the WordPress PHP Coding Standards project
[https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
here] where a "shared" configuration is used by the wider WordPress
community as a whole.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29792#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list