aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages/svelte/eslint.config.js
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-31 10:36:25 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-31 10:36:25 -0500
commit8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8 (patch)
tree0d8a1772a4579a136ebfdd06a3d368b3a2c0d1cf /src/packages/svelte/eslint.config.js
parentci: Alter version bump to only ignore pnpm lockfile, not rest (diff)
downloadlocusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar.gz
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar.bz2
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar.lz
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar.xz
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.tar.zst
locusts-8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8.zip
js: Migrate to ESLint 9
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src/packages/svelte/eslint.config.js')
-rw-r--r--src/packages/svelte/eslint.config.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/packages/svelte/eslint.config.js b/src/packages/svelte/eslint.config.js
deleted file mode 100644
index a526565..0000000
--- a/src/packages/svelte/eslint.config.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import prettier from 'eslint-config-prettier';
-import js from '@eslint/js';
-import svelte from 'eslint-plugin-svelte';
-import globals from 'globals';
-import ts from 'typescript-eslint';
-
-export default ts.config(
- js.configs.recommended,
- ...ts.configs.recommended,
- ...svelte.configs['flat/recommended'],
- prettier,
- ...svelte.configs['flat/prettier'],
- {
- languageOptions: {
- globals: {
- ...globals.browser,
- ...globals.node
- }
- }
- },
- {
- files: ['**/*.svelte'],
-
- languageOptions: {
- parserOptions: {
- parser: ts.parser
- }
- }
- },
- {
- ignores: ['build/', '.svelte-kit/', 'dist/']
- }
-);