Skip to content

Commit

Permalink
Merge pull request #16 from author-more/build/update-dependencies
Browse files Browse the repository at this point in the history
build: update dependencies
  • Loading branch information
Belar authored Sep 26, 2024
2 parents 41f7302 + 31209c0 commit d3aec7d
Show file tree
Hide file tree
Showing 4 changed files with 1,456 additions and 2,414 deletions.
32 changes: 0 additions & 32 deletions .eslintrc.cjs

This file was deleted.

30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tsEslint from "typescript-eslint";
import eslintConfigPrettier from "eslint-config-prettier";

export default tsEslint.config(
{ ignores: ["dist"] },
{
extends: [js.configs.recommended, ...tsEslint.configs.recommended],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
},
eslintConfigPrettier,
);
Loading

0 comments on commit d3aec7d

Please sign in to comment.