ryanahamilton commented on a change in pull request #8218: CSS linting
integrated into pre-commit
URL: https://github.com/apache/airflow/pull/8218#discussion_r405688252
##########
File path: .pre-commit-config.yaml
##########
@@ -360,3 +360,9 @@ repos:
entry: "./scripts/ci/pre_commit_bat_tests.sh"
files: ^breeze$|^breeze-complete$|\.sh$|\.bash$
pass_filenames: false
+ - id: stylelint
+ name: stylelint
+ entry: "stylelint"
+ language: node
+ files: ^airflow/www/.*\.(css|scss|sass)$
+ args: []
Review comment:
Ah, you're right. I had previously removed it but still had `pass_filenames`
in there and it wasn't working. Just removed it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services