Skip to content

Commit

Permalink
add eslint-plugin-svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Nov 20, 2024
1 parent 097ca52 commit e52b780
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';
import testingLibrary from 'eslint-plugin-testing-library';
import eslintPluginSvelte from 'eslint-plugin-svelte';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand All @@ -29,6 +30,7 @@ export default [
'src/env.d.ts',
],
},
...eslintPluginSvelte.configs['flat/recommended'],
...fixupConfigRules(
compat.extends(
'eslint:recommended',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@taskratchet/sdk": "^0.1.1",
"astro": "^4.15.1",
"dayjs": "^1.11.12",
"eslint-plugin-svelte": "^2.46.0",
"humanize-duration": "^3.32.1",
"query-string": "^9.1.0",
"react": "^18.3.1",
Expand Down
149 changes: 149 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e52b780

Please sign in to comment.