Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
いいな
@ynuska
I prefer in the whole project
Andrey Sitnik
@ai
@ynuska find Stylelint config (.stylelinrc, styleline in package.json or some other formats https://stylelint.io/user-guide/configuration/#loading-the-configuration-object)
In config disable rule:
"rules": {
  "value-keyword-case": null
}
いいな
@ynuska
I'm checking on it. Thx @ai !
いいな
@ynuska
it worked like a charm ! thank you !
いいな
@ynuska
if I want to disable the rule only in this file, what is the way to do it ?
@ai , thx in advance
いいな
@ynuska
I've tried / stylelint-disable-line / and / stylelint-disable-next-line declaration-no-important / but it doesn't seem to work..
this worked / stylelint-disable / a {} / stylelint-enable / (thumbsup)
Jitendra Vyas
@jitendravyas
I want to make a stylelint plugin but I don't know much JS, can I still make it?
can anyone point me to easy to follow guideline?
刘祺
@gucong3000
Jitendra Vyas
@jitendravyas
刘祺
@gucong3000
@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
@webOS101
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
@ThePeach
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
@corysimmons
This message was deleted
Cory Simmons
@corysimmons
Is there a rule for putting a newline above a nested ruleset (like in SCSS)?
Stephen Edgar
@ntwb
Do you know the name of that rule @corysimmons ?
Cory Simmons
@corysimmons
I just ended up extending standards for it.
Not sure which rules are at play.
Brandt B.
@babeal
Where is a good gitter channel to ask sass questions?
John Vandenberg
@jayvdb
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
Ghost
@ghost~580ed9c0d73408ce4f309ef0
@jayvdb I would like to contribute:)
John Vandenberg
@jayvdb
you are not a core contributor to stylelint
Casey Ydenberg
@CAYdenberg
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
@jayvdb
I'll check in an hour, and if successful you can put them directly into the system
John Vandenberg
@jayvdb
Invited ;-)
Try and convince another core contributor in another timezone to be your backup ;-)
Casey Ydenberg
@CAYdenberg
Anyone? @ntwb I believe you are in Australia ... :wink:
Attila Egyed
@tsm91

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 { ... }

cheers!

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

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

.stylelintrc
    ...
    "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)

hal869
@hal869
@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 ?
hal869
@hal869
seems that .stylelintrc is used, but that ignorePattern: is, itself, ignored. BUT using .stylelintignore with .gitignore pattern types DOES work
hal869
@hal869

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

warnings.
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
@TheodorTomas
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
@MadLittleMods
@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?
xing
@MingXingTeam
hello, any update on this issue: stylelint/stylelint#1973 ?
eslint cant find globally installed package
carmelo rossette
@carmelorossette_twitter
Hi everyone
I have some noob questions
John Vandenberg
@jayvdb
Ask ;)
Timmy Huang
@tihuan
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!