Browse Source

Maintenance: Adjust stylelint command in overcommit hook.

Dusan Vuckovic 1 year ago
parent
commit
fdf9001399
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .overcommit.yml

+ 2 - 0
.overcommit.yml

@@ -33,6 +33,8 @@ PreCommit:
     flags: ['.overcommit.sh']
     flags: ['.overcommit.sh']
   Stylelint:
   Stylelint:
     enabled: true
     enabled: true
+    required_executable: 'yarn'
+    command: ['yarn', '--silent', 'lint:css']
   EsLint:
   EsLint:
     required_executable: 'yarn'
     required_executable: 'yarn'
     enabled: true
     enabled: true