Skip to content

Commit

Permalink
Update npm dependencies and eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Quiirex committed Jun 14, 2024
1 parent aba04c6 commit f75f132
Show file tree
Hide file tree
Showing 3 changed files with 806 additions and 31 deletions.
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";
import { fixupConfigRules } from "@eslint/compat";


export default [
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{ files: ["**/*.jsx"], languageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } } },
...fixupConfigRules(pluginReactConfig),
];
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"autoprefixer": "10.4.14",
"class-variance-authority": "^0.6.0",
"clsx": "^1.2.1",
"eslint": "^8.0.0",
"eslint-config-next": "13.4.4",
"framer-motion": "^10.12.17",
"hamburger-react": "^2.5.0",
Expand All @@ -69,15 +68,19 @@
"zustand": "^4.3.8"
},
"devDependencies": {
"@eslint/compat": "^1.1.0",
"@eslint/js": "^9.4.0",
"@tailwindcss/typography": "^0.5.9",
"@types/html-to-text": "^9.0.1",
"@types/nprogress": "^0.2.3",
"@types/uuid": "^9.0.1",
"cypress": "^13.6.0",
"cypress-multi-reporters": "^1.6.4",
"eslint": "^9.4.0",
"eslint-plugin-react": "^7.34.2",
"globals": "^15.4.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0"
"mochawesome-merge": "^4.3.0",
"typescript-eslint": "^7.13.0"
}
}
Loading

0 comments on commit f75f132

Please sign in to comment.