Skip to content

Commit

Permalink
Update dependencies (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangasta authored Nov 13, 2024
1 parent b705f36 commit 2580087
Show file tree
Hide file tree
Showing 25 changed files with 6,550 additions and 6,878 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

49 changes: 0 additions & 49 deletions .eslintrc.cjs

This file was deleted.

52 changes: 52 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import js from "@eslint/js";
import import_ from "eslint-plugin-import";
import svelte from "eslint-plugin-svelte";
import svelteParser from "svelte-eslint-parser";
import ts from "typescript-eslint";

export default [
{ ignores: ["dist/"] },
js.configs.recommended,
import_.flatConfigs.recommended,
import_.flatConfigs.typescript,
...ts.configs.recommended,

Check warning on line 12 in eslint.config.js

View workflow job for this annotation

GitHub Actions / Lint, test, and build

Caution: `ts` also has a named export `configs`. Check if you meant to write `import {configs} from 'typescript-eslint'` instead
...svelte.configs["flat/recommended"],
{
languageOptions: {
parser: svelteParser,
parserOptions: {
parser: ts.parser,

Check warning on line 18 in eslint.config.js

View workflow job for this annotation

GitHub Actions / Lint, test, and build

Caution: `ts` also has a named export `parser`. Check if you meant to write `import {parser} from 'typescript-eslint'` instead
extraFileExtensions: [".svelte"],
},
},
},
{
settings: {
"import/resolver": {
typescript: true,
node: true,
},
},
rules: {
"no-console": "error",
"no-undef": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_$",
},
],
"import/order": [
"error",
{
alphabetize: {
order: "asc",
},
"newlines-between": "always",
},
],
},
},
];
Loading

0 comments on commit 2580087

Please sign in to comment.