Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matschik committed Apr 17, 2024
1 parent 61b6a3b commit 8c75e9d
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 144 deletions.
34 changes: 34 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//import globals from "globals";
import FRAMEWORKS from "./frameworks.mjs";
import js from "@eslint/js";

const overrides = FRAMEWORKS.reduce((acc, { eslint }) => {
if (Array.isArray(eslint)) {
acc.push(...eslint);
} else {
acc.push(eslint);
}

return acc;
}, []);

/**
* @type {import("eslint").Linter.Config}
*/
export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
//globals: globals.browser
},
// env: {
// browser: true,
// },
plugins: {
prettier: {},
},
},
...overrides,
];
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "2.0.0",
"type": "module",
"packageManager": "pnpm@8.6.5",
"packageManager": "pnpm@9.0.1",
"repository": "github:matschik/component-party.dev",
"scripts": {
"dev": "vite",
Expand Down Expand Up @@ -51,7 +51,7 @@
"codesandbox": "^2.2.3",
"cypress": "^13.7.3",
"ember-eslint-parser": "^0.4.2",
"eslint": "^9.0.0",
"eslint": "^8.57.0",
"eslint-plugin-ember": "^12.0.2",
"eslint-plugin-lit": "^1.11.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down Expand Up @@ -93,4 +93,4 @@
"**/svelte4/*.svelte": "eslint --cache --fix",
"*.{js,jsx,ts,tsx,svelte,vue,html,md,css,hbs}": "prettier --cache --write"
}
}
}

0 comments on commit 8c75e9d

Please sign in to comment.