From 12434d455067fe2c24d6073113f2c34f46f1a0c7 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 27 May 2025 00:50:52 -0400 Subject: 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. --- eslint.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'eslint.config.js') 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/'], + }, +]; -- cgit v1.2.3