Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 22 12:23
    Kristinita edited #457
  • Sep 22 12:23
    Kristinita opened #457
  • Aug 26 14:09
    manthey opened #456
  • Aug 20 21:22
    benmonro opened #455
  • Aug 20 14:00
    markalfred edited #453
  • Aug 12 14:26
    brwnrclse commented #454
  • Aug 09 13:43
    HaaLeo synchronize #441
  • Jul 29 17:24
    markalfred opened #454
  • Jul 29 16:16
    markalfred edited #453
  • Jul 29 16:16
    markalfred commented #453
  • Jul 28 17:58
    markalfred commented #453
  • Jul 26 20:01
    markalfred edited #453
  • Jul 26 20:00
    markalfred opened #453
  • Jul 13 20:29

    SimenB on v2.0.0

    (compare)

  • Jul 13 20:29

    SimenB on master

    2.0.0 (compare)

  • Jul 13 19:27
    SimenB commented #452
  • Jul 13 17:45
    brwnrclse commented #452
  • Jul 13 09:51
    SimenB commented #452
  • Jul 13 09:51

    SimenB on master

    chore: Update various dependenc… (compare)

  • Jul 13 09:51
    SimenB closed #452
Ed Hinchliffe
@redders6600
@SimenB thanks - that makes sense for the {} case, but I'm not sure what's wrong then when I use the default config from the readme and try it on a file
Simen Bekkhus
@SimenB
do you send the config file as an argument, or .stylintrc?
Ed Hinchliffe
@redders6600
as a .stylintrc
I'm probably doing something obvious wrong, I just can't see it..
Ed Hinchliffe
@redders6600

Example:
.stylintrc

{
  "globalDupes": true
}

test.styl

.test
  margin 0
  margin 5px

Console:

Stylint version: 1.3.6
ed@helix:~/dev/test$ stylint test.styl 



ed@helix:~/dev/test$
However:
ed@helix:~/dev/test$ rm .stylintrc 
ed@helix:~/dev/test$ stylint test.styl 
Warning: missing colon between property and value
File: test.styl
Line: 2: margin 0

Warning: missing colon between property and value
File: test.styl
Line: 3: margin 5px


Stylint: 0 Errors.
Stylint: 2 Warnings.
ed@helix:~/dev/test$
Simen Bekkhus
@SimenB
hmm, yeah, I'm able to reproduce
could you create an issue?
if nothing else, it's an error in the docs
Ed Hinchliffe
@redders6600
Yeah sure - I thought I'd check it wasn't just me first.
Ed Hinchliffe
@redders6600
rossPatton/stylint#243
Dylan Kirby
@djkirby
Is it possible to exclude a directory?
Oleksandr Hutsulyak
@Kamilius
Hi guys. Did anyone experienced "no output" from running stylint command?
It looks like "hanging" for 9 minutes now, and is easily terminated with ctrl+c
When trying to lint specific folder - works fine, but when trying to lint whole project - gives no output
Btw, here is my .stylintrc:
{
  "borderNone": false,
  "blocks": "always",
  "brackets": "always",
  "colons": "always",
  "colors": false,
  "commaSpace": "always",
  "commentSpace": false,
  "cssLiteral": "never",
  "depthLimit": false,
  "duplicates": true,
  "efficient": "always",
  "exclude": [],
  "extendPref": "@extend",
  "globalDupe": false,
  "indentPref": 2,
  "leadingZero": "never",
  "maxErrors": false,
  "maxWarnings": false,
  "mixed": false,
  "namingConvention": false,
  "namingConventionStrict": false,
  "none": "always",
  "noImportant": false,
  "parenSpace": "never",
  "placeholders": false,
  "prefixVarsWithDollar": "always",
  "quotePref": "single",
  "semicolons": "always",
  "sortOrder": "alphabetical",
  "stackedProperties": "never",
  "trailingWhitespace": "never",
  "universal": false,
  "valid": true,
  "zeroUnits": "never",
  "zIndexNormalize": false
}
Simen Bekkhus
@SimenB
do you call stylint . or just stylint?
I'm not sure if node_modules are ignored by default either...
Oleksandr Hutsulyak
@Kamilius
tried stylint and stylint app/src and stylint app/src --reporter stylint-stylish
directory has lots of subdirectories and files of different types
Simen Bekkhus
@SimenB
try doing stylint ., might work better. Either way, should probably create an issue
Oleksandr Hutsulyak
@Kamilius
Is there any possibility to run it as --verbal to see a stack trace?
This message was deleted
I believe I see a dependency here
When I'm trying to run stylint for a directory, which directly doesn't have any stylesheets, but has'em only in a sub-directories, then it starts hanging without any errors
Simen Bekkhus
@SimenB
There's not any verbose mode, no
Oleksandr Hutsulyak
@Kamilius
I'll try to describe everything in a ticket
Simen Bekkhus
@SimenB
:+1:
@rossPatton any chance you could add the webhook to this room, so that stuff shows up on the right under activities?
Oleksandr Hutsulyak
@Kamilius
rossPatton/stylint#313
Ross
@rossPatton
@SimenB will do
Simen Bekkhus
@SimenB
:+1:
Andrew Smirnov
@sandark7
@rossPatton hey, can stylint lint files @imported in stylinted file?
Simen Bekkhus
@SimenB
It doesn't follow imports, no
Andrew Smirnov
@sandark7
it's a pity, very needed stuff, @rossPatton, do you plan to add support of it?
Vincenzo Chianese
@XVincentX
@rossPatton I was wondering whether your styling tool has an autofix option
For example, to auto sort properties.
Adam
@Adam-Collier
@rossPatton is it possible to automatically fix the errors when running as a package.json script?
or do you know of anything that will do this for me?
Joakim Bugge
@joakimbugge
Will v2 support linting in <style>? I'm specifically looking for linting in single file Vue components that use <style lang="stylus">.
piotrkmustardsystems
@piotrkmustardsystems
HI
I got a question about using stylint in cmd
is there a --max-warning 0 option to stop CI proces when it doeas ??
morning
@ibufu
hi
Project still maintained?
Maledong
@Maledong
Hi, I
I have a submit SimenB/stylint#447, and this is the fixture for the Low vulnerability of "brances", and I don't know why this caused the latest version of Nodejs (v11.x) failed to pass...What's more:there're quite a lot of packages too old to use.
It seems there're some submits aren't reviewed for ages……
Maledong
@Maledong
@SimenB : As discussed in SimenB/stylint#448, Nodejs's member Trott has fixed this bug, so you can merge this first and then merge my submit at SimenB/stylint#447 and someone else at SimenB/stylint#445