Skip to content

Commit

Permalink
Merge pull request #641 from quoid/chore/update-dependencies
Browse files Browse the repository at this point in the history
chore: update dependencies
  • Loading branch information
ACTCD authored Apr 14, 2024
2 parents 3183e7f + bc7bc31 commit 6514672
Show file tree
Hide file tree
Showing 9 changed files with 451 additions and 861 deletions.
25 changes: 5 additions & 20 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
*/

import js from "@eslint/js";
import sveltePlugin from "eslint-plugin-svelte";
import svelteParser from "svelte-eslint-parser";
import prettier from "eslint-config-prettier";
import globals from "globals";
import eslintPluginSvelte from "eslint-plugin-svelte";
import eslintConfigPrettier from "eslint-config-prettier";

export default [
/**
Expand All @@ -22,29 +21,15 @@ export default [

/**
* @see {@link https://github.com/sveltejs/eslint-plugin-svelte}
* currently no official svelte/recommended flat config
* flatten and call it through a custom config object
*/
{
files: ["**/*.svelte"],
languageOptions: {
parser: svelteParser,
},
processor: "svelte/svelte",
plugins: {
svelte: sveltePlugin,
},
rules: {
...sveltePlugin.configs.base.overrides[0].rules,
...sveltePlugin.configs.recommended.rules,
},
},
...eslintPluginSvelte.configs["flat/recommended"],
...eslintPluginSvelte.configs["flat/prettier"],

/**
* @see {@link https://github.com/prettier/eslint-config-prettier}
* turns off the conflict rules, put it last
*/
prettier,
eslintConfigPrettier,

/** custom config objects */

Expand Down
Loading

0 comments on commit 6514672

Please sign in to comment.