Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Jitendra Vyas
@jitendravyas use for GIT. when this a newline at the end of source, code appended to the end of the file will not be recognized by GIT as a modification to the last line of the original code.
Roy Sutton
Anyone here have experience working on rules? Is there a way to reparse a block of css? I was looking at postcss-selector-parser but I think that's not what I want.
Matteo Pescarin
Hi all, I'm looking at stylelint-selector-bem-pattern and I'm totally unsure how to read the componentSelectors initial and combined, no idea how the two are used for
can anybody give me a hint here? even the use of a different plugin would help :)
Cory Simmons
This message was deleted
Cory Simmons
Is there a rule for putting a newline above a nested ruleset (like in SCSS)?
Stephen Edgar
Do you know the name of that rule @corysimmons ?
Cory Simmons
I just ended up extending standards for it.
Not sure which rules are at play.
Brandt B.
Where is a good gitter channel to ask sass questions?
John Vandenberg
Would any stylelint core contributors like to participate in Google Code-in as a mentor? http://coala.io is applying, with a number of our upstream linters (e.g. stylelint) mentoring a few tasks each. All you need to do is nominate a few bugs that you believe a talented high school student could do in a 3-7 days, and nominate to mentor them if they run into trouble or need to ask questions, and commit to do code review with 36 hrs of them submitting their PR . coala GCI mentor signup form
@jayvdb I would like to contribute:)
John Vandenberg
you are not a core contributor to stylelint
Casey Ydenberg
I am a core contributor and I just filled out the form.
Should I find some bugs for you now or wait until the application is succssful?
John Vandenberg
I'll check in an hour, and if successful you can put them directly into the system
John Vandenberg
Invited ;-)
Try and convince another core contributor in another timezone to be your backup ;-)
Casey Ydenberg
Anyone? @ntwb I believe you are in Australia ... :wink:
Attila Egyed

hey folks, question: i am looking for something that enforces css selector namespacing/prefixing

is there a stylelint plugin provides this?

example: (ns- is the required namespace/prefix)

/* bad */
.some-selector { ... }
.ns-some-selector some-other-selector { ... }

/* good */
.ns-some-selector { ... }
.ns-some-selector ns-some-other-selector { ... }


Casey Ydenberg
Hi Attila I think you could use the builtin rule selector-class-pattern to do this.
Hi everyone.
I want to know just about the project in gsoc.

Anyone using 'stylelint-webpack-plugin' managed to successfully ignore patterns,

    "ignorePattern": [...]

My config's linting fine; atm, I just can't get it to ignore files (specifically, under my "/vendor/" path. or ANY path, for that matter)

@JaKXz am I correct in understanding 'stylelint-webpack-plugin' docs that
although configFile: is Default: (undefined), that an existing '.stylelintrc' will be found & used via cosmiconfig module ?
seems that .stylelintrc is used, but that ignorePattern: is, itself, ignored. BUT using .stylelintignore with .gitignore pattern types DOES work

My current stylelint config enables plugin/no-unsupported-browser-features, which is quite helpful.
It does generate hundreds of

Unexpected browser feature "<some feature>" is only partially supported by IE 10,11, Edge 15

Those browsers ARE included in my .browserslist. For this plugin, however, I don't care.
Is it possible to exclude checks for individual rules, for specific browsers?
I.e., I just want to turn off these warnings for IE 10,11, & Edge 15

Theodór Tómas
Has anyone here implemented a "create-react-app" along with "styled-components" and has successfully set up stylelint? I can´t seem to get it to work. Even though I am not getting any errors either.
Eric Eastwood
@TheodorTomas Putting stylelint in your PostCSS plugin stack should be sufficient. What errors are you getting? Can you put your code up somewhere public GitLab/GitHub and share it?
hello, any update on this issue: stylelint/stylelint#1973 ?
eslint cant find globally installed package
carmelo rossette
Hi everyone
I have some noob questions
John Vandenberg
Ask ;)
Timmy Huang
TGIF everyone! Quick question on adding a rule to disallow developers to use flex-grow, flex-shrink, etc. and to use grow directly, since grow intelligently sets other flex properties. How should I do that for my project? Thank you!
Jonathan Neal
Hello! I’m writing my first stylelint plugin. How might I access context.fix within stylelint.createPlugin? I don’t see an example, so I’m having trouble understanding https://stylelint.io/developer-guide/rules/#adding-autofixing
Jonathan Neal
I have pushed my draft plugin to GitHub, if that helps. https://github.com/jonathantneal/stylelint-logical-properties/blob/master/index.mjs
Abhinav verma
hey , i am trying to make an custom notice board for website frontend using js and i am not getting the code right can anyone help me in this....?
Renato Marinho
Hey guys, I'm GitScrum founder. I want to invite group members to get to know GitScrum. Site: https://site.gitscrum.com/
Ashish M Mahendra
Jonathan Neal
Hi, I am trying to insert a pic into my webpage via css,but It doesn't come up on the website
@Chrisdifonso try to remove the double quotation
Abdellah Ahmed
Jonathan Neal
I installed stylelint globally via NPM and have my .stylelintrc file setup for project. Do I still need the vs code stylelint plugin?