diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-20 18:10:47 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 18:10:47 +1100 |
commit | 71082eb918f055f07fa45cd44c90fcb0c8dd6a29 (patch) | |
tree | 34fe911abebb5e954b1fd5de57d8ed00d7304121 /.lintstagedrc | |
parent | fix: route file regex (#956) (diff) | |
download | server-71082eb918f055f07fa45cd44c90fcb0c8dd6a29.tar.xz |
Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
Diffstat (limited to '.lintstagedrc')
-rw-r--r-- | .lintstagedrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.lintstagedrc b/.lintstagedrc new file mode 100644 index 00000000..4c3506ec --- /dev/null +++ b/.lintstagedrc @@ -0,0 +1,3 @@ +{ + "*.ts": ["eslint", "prettier --write"] +} |