Skip to content

Commit

Permalink
add linter command
Browse files Browse the repository at this point in the history
  • Loading branch information
e8johan committed Sep 24, 2021
1 parent 473639b commit bd6fad8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"docs:dev": "vuepress dev docs --host 127.0.0.1",
"docs:build": "vuepress build docs",
"examples:build": "./scripts/build-examples.sh",
"examples:lint": "./scripts/lint-examples.sh",
"examples:package": "./scripts/package-examples.sh"
}
}
10 changes: 10 additions & 0 deletions scripts/lint-examples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

#
# Script to run qmllint on all example qml files
#

for f in $(find docs/ -name *.qml)
do
qmllint $f
done

0 comments on commit bd6fad8

Please sign in to comment.