chore: Update stylelint-lefthook config
This commit is contained in:
parent
046094aa2d
commit
eb61f0de73
1 changed files with 10 additions and 0 deletions
10
lefthook.yml
Normal file
10
lefthook.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
pre-commit:
|
||||||
|
parallel: true
|
||||||
|
commands:
|
||||||
|
credo:
|
||||||
|
glob: "*.{ex,exs,eex,leex,heex}"
|
||||||
|
runner: mix credo diff master {files}
|
||||||
|
stylelint:
|
||||||
|
root: "apps/app/assets/"
|
||||||
|
glob: "*.{css}"
|
||||||
|
runner: npx stylelint {files}
|
Loading…
Reference in a new issue