Can't lint css file
soderlind opened this issue · 3 comments
soderlind commented
I'm very happy that you've created this add-on to codeclimate, but why can't I lint css files ?
I get, when I'm running codeclimate analyze -e stylelint:beta
:
Starting analysis
Running stylelint: Done!
error: (CC::Analyzer::Engine::EngineFailure) engine stylelint:beta failed with status 1 and stderr
No files to lint with the extensions: ".scss", ".less", ".sss".
See our documentation at https://docs.codeclimate.com/docs/stylelint for more information.
soderlind commented
btw, here's my .codeclimate.yml
:
---
engines:
duplication:
enabled: true
config:
languages:
- php
eslint:
enabled: true
# env:
# jquery: true
fixme:
enabled: true
phpcodesniffer:
enabled: true
config:
standard: WordPress-Core
stylelint:
enabled: true
config:
config: .stylelintrc
ignore_warnings: true
ratings:
paths:
- "**.js"
- "**.php"
- "**.css"
exclude_paths:
- node_modules/**/*
- _files/**
and here's my .stylelintrc
(I've added https://github.com/ntwb/stylelint-config-wordpress):
{
"extends": "stylelint-config-wordpress"
}
gilbarbara commented
soderlind commented
Excellent, thank you.