1 |
|
2 |
|
3 | # Format code.
|
4 | PRETTIER_CONFIG=$PWD/node_modules/@tdb/typescript/.prettierrc
|
5 | cp $PRETTIER_CONFIG $PWD/.prettierrc
|
6 | node ./node_modules/prettier/bin-prettier --write 'code/src/**/*.ts{,x}'
|
7 |
|
8 | # Lint.
|
9 | node ./node_modules/tslint/bin/tslint 'code/src/**/*.ts{,x}' --format verbose --fix $@ |
\ | No newline at end of file |