From 084dc0be08555891cad4c2bb984822a62ec5ec9f Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 20 Jan 2023 18:10:47 +1100 Subject: Add ESLint (#941) * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint --- .lintstagedrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .lintstagedrc (limited to '.lintstagedrc') 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"] +} -- cgit 1.4.1