summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-27 00:50:52 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-06-09 18:50:11 -0400
commit12434d455067fe2c24d6073113f2c34f46f1a0c7 (patch)
treea7c79038df8e83f29be48cf7b2f21e2dda0e0090 /eslint.config.js
parent71919b461f25bed1bb4708b0494d603de373ae11 (diff)
Consolidate project linting into tool scripts.
The new `tools/check-lint` script checks lints across _all_ lintable files - JS (through `eslint`), and Rust (through `clippy` and `cargo check`). It also checks `eslint` against the whole project, not just against what's in the `ui` subdir, which means it now catches lintable issues in various JS config files.
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/eslint.config.js b/eslint.config.js
index 7d23626..29451a9 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -1,3 +1,10 @@
import prettier from 'eslint-config-prettier';
import svelte from 'eslint-plugin-svelte';
-export default [prettier, ...svelte.configs['flat/prettier']];
+
+export default [
+ prettier,
+ ...svelte.configs['flat/prettier'],
+ {
+ ignores: ['target/'],
+ },
+];