Stylinter stopped working with stylelint-config-airbnb
ArtemBernatskyy opened this issue · 0 comments
When i run it manually via
cat src/components/song/song.css | /Users/artem/Desktop/MuzicBox/src/front_end/node_modules/.bin/stylelint --formatter json --stdin-filename /Users/artem/Desktop/MuzicBox/src/front_end/src/components/song/song.css
it shows
[{"source":"/Users/artem/Desktop/MuzicBox/src/front_end/src/components/song/song.css","deprecations":[],"invalidOptionWarnings":[],"parseErrors":[],"warnings":[]}]%
But when i use stylelint-config-standard
and run manually in the same way as above i get
[{"source":"/Users/artem/Desktop/MuzicBox/src/front_end/src/components/song/song.css","deprecations":[],"invalidOptionWarnings":[],"parseErrors":[],"errored":true,"warnings":[{"line":205,"column":1,"rule":"max-empty-lines","severity":"error","text":"Expected no more than 1 empty line (max-empty-lines)"},{"line":206,"column":1,"rule":"max-empty-lines","severity":"error","text":"Expected no more than 1 empty line (max-empty-lines)"},{"line":6,"column":41,"rule":"number-leading-zero","severity":"error","text":"Expected a leading zero (number-leading-zero)"},{"line":106,"column":29,"rule":"number-leading-zero","severity":"error","text":"Expected a leading zero (number-leading-zero)"},{"line":208,"column":14,"rule":"number-leading-zero","severity":"error","text":"Expected a leading zero (number-leading-zero)"},{"line":219,"column":24,"rule":"number-leading-zero","severity":"error","text":"Expected a leading zero (number-leading-zero)"},{"line":230,"column":3,"rule":"rule-empty-line-before","severity":"error","text":"Unexpected empty line before rule (rule-empty-line-before)"}]}]%