14 lines
243 B
Bash
Executable File
14 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
# script/lint: run the linter.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
echo "Linting markdown files..."
|
|
yarn run prettier --check '**/*.md' --tab-width 4 --prose-wrap always
|
|
}
|
|
|
|
main "$@"
|