Core

/bin/check-client.sh (207 B)

 1
2
3
4
5
6
7
8
9
10
#!/bin/bash

## Runs eslint for the TypeScript project

set -euo pipefail
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $dir/../client

echo "=== linting client ==="
eslint --ext .js,.ts,.tsx .