Skip to content

Commit

Permalink
Added eslint plugin for browser compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 committed Sep 17, 2024
1 parent 292a1ed commit a621804
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 126 deletions.
2 changes: 2 additions & 0 deletions assets/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";
import pluginReactHooks from "eslint-plugin-react-hooks";
import eslintConfigPrettier from "eslint-config-prettier";
import jestPlugin from "eslint-plugin-jest";
import compat from "eslint-plugin-compat";

export default [
{ languageOptions: { globals: globals.browser } },
Expand Down Expand Up @@ -48,4 +49,5 @@ export default [
],
},
},
compat.configs["flat/recommended"],
];
Loading

0 comments on commit a621804

Please sign in to comment.