Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jonathan Neal
@jonathantneal
I’d have to know if you can forward the current project dir into node cmd run from python.
Ben Briggs
@ben-eb
Oh :) Not sure
Don't know any Python, know some Ruby
Jonathan Neal
@jonathantneal
I’m snooping around eslint to see if I can catch it.
Jonathan Neal
@jonathantneal
Gah. Sometimes Sublime sends a tmp file to the plugin, which is the issue. Like /var/folders/q4/gn3rv1ss11n9lfhfjc6cn8l0wjymg3/T/SublimeLinter3-jona0005/directionsMap.css
Ben Briggs
@ben-eb
:/
Aleks Hudochenkov
@hudochenkov
Why is stylelint using babel? Stylelint requires Node 4.2.1+ to run, and it partially supports ES2015 syntax. I'm asking, because I want to switch to ES2015 in my PostCSS plugin, but don't want to transpile it :)
Ben Briggs
@ben-eb
My guess is that stylelint is using features that are available in es2015 which are not natively supported
For example:
function foo (...features) {
  features.forEach(...);
}
Aleks Hudochenkov
@hudochenkov
@ben-eb do you think it's safe to use ES2015 syntax (supported in Node 4) in PostCSS plugins without transpiling?
Ben Briggs
@ben-eb
Yes
If you explicitly list that as a caveat
Like that you need Node 4 and up to use the module
Aleks Hudochenkov
@hudochenkov
Thank you, Ben :)
Ben Briggs
@ben-eb
No probs :)
Aman Kubanychbek
@code4aman
Hi there, how to make stylelint to recognize PostCSS composes property?
Any extra rule over stylelint-config-standard? I'm using stylelint plugin for vscode
Andrey Sitnik
@ai
@code4aman you could set a properties whitelist
Aman Kubanychbek
@code4aman
I resolved this by adding "property-no-unknown" with "ignoreProperties" : ["composes"]. Looks like simply defining properties whitelist overrides stylelint-config-standard configs
Pascal Duez
@pascalduez
Which are overrides basically.
Aman Kubanychbek
@code4aman
👍
Jonathan Neal
@jonathantneal
I love spreading the good news of Stylelint! I brought Stylelint to 10up, and now I’m bringing it to Esri.
David Clark
@davidtheclark
awesome @jonathantneal. does that mean you work for esri now? or you're just working with them?
Jonathan Neal
@jonathantneal
They are my employer and they keep sending me checks, and they flew me to California and back home and gave me a badge.
I think … I think that means I work for them, but I do also work with them. We work … together.
David Clark
@davidtheclark
@jonathantneal interesting. i also work on GIS at Mapbox — hear about ESRI a lot. hope it goes well for you!
Jitendra Vyas
@jitendravyas
by using stylelint can we force to not to use use color without using a variable?
Giuseppe
@giuseppeg
howdy
Giuseppe
@giuseppeg
do you guys have a test for when extends is a module name ?
I am passing { extends: 'stylelint-config-suitcss' } to the postcss plugin and I get this error
error · Error: No configuration provided for /Users/giuseppe/suitcss/suitcss-toolkit/examples/app/src/index.css
     ·   at exports.default (/Users/giuseppe/suitcss/suitcss-toolkit/examples/app/node_modules/stylelint/dist/utils/configurationError.js:8:13)
     ·   at /Users/giuseppe/suitcss/suitcss-toolkit/examples/app/node_modules/stylelint/dist/getConfigForFile.js:34:45
Andrey Sitnik
@ai
My English slides about Stylelint http://slides.com/ai/stylelint
Kai Cataldo
@kaicataldo
Hi everyone! I'm working on the internals of stylelint and i'm trying to figure out what the difference between stylelint._fullExplorer and style._extendExplorer is - why the two exist and what they're used for
Anyone around who might be able to shed some light on that?
Giuseppe
@giuseppeg
hi folks, we would like to ignore node_modules in suitcss-preprocessor and afaik we can either add a .stylelintignore at the root of the project (although I am not sure if it'll work when preprocessor is a dependency) or use an hack where we extend styleling-config-suitcss. Suggestions? cc @jeddy3 @davidtheclark
David Clark
@davidtheclark
@giuseppeg i thought node_modules is ignored by default
Giuseppe
@giuseppeg
@davidtheclark we are linting imported files and the entry file and apparently node_modules are not ignored
David Clark
@davidtheclark
@giuseppeg please file an issue. we're not generally on gitter.
Giuseppe
@giuseppeg
@davidtheclark oh do you think that it is a bug?
Eduard Pochtar
@iamfrntdv
Hi, everyone! if i use gulp for building css and in my gulp task there is some escape pattern for all files with underscore prefix. What is the bast way to add stylelint in separate task or in the same task that build css?
Jitendra Vyas
@jitendravyas
We can show error in CLI from stylelint but how to prevent developers to push the css file if they do not solve error?
Lorens
@LorensOnRails
Hi Everyone, for everyone who wants to join "Codenect" which is a coding room where coders & founders can code, help and connect with eachother by sharing their experiences. Grow and build a coding relationship by staying and keeping in touch through Gitter. Talk and share about your personal projects and ambitions to start, build, grow and connect together. https://gitter.im/Codenect-with-Skype/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link
Eric Eastwood
@MadLittleMods
:point_up: December 1, 2016 3:48 AM @jitendravyas Setup a protected branch on GitHub and add some checks, https://github.com/YOUR-ORG/YOUR-REPO/settings/branches