Skip to content

Commit

Permalink
feat: update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
srghma committed Oct 12, 2024
1 parent 87c22d8 commit d660c25
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 30 deletions.
28 changes: 0 additions & 28 deletions .eslintrc.json

This file was deleted.

11 changes: 11 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginReact from "eslint-plugin-react";


export default [
{files: ["**/*.{js,mjs,cjs,jsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
pluginReact.configs.flat.recommended,
];
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"test": "spago test --offline"
},
"devDependencies": {
"eslint": "^9.12.0",
"purescript-psa": "^0.9.0"
"eslint": "^9.12.0"
}
}

0 comments on commit d660c25

Please sign in to comment.