Skip to content

Commit

Permalink
eslint: move config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva committed Jul 19, 2024
1 parent 9272839 commit 053c48b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .eslint.config.js → eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
module.exports = [{
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";


export default [
{
"extends": ["react-app", "plugin:prettier/recommended", "eslint:recommended"],
"plugins": ["react"],
"env": {
Expand Down Expand Up @@ -96,4 +102,4 @@ module.exports = [{
"react/void-dom-elements-no-children": "error"
}
}
]
];

0 comments on commit 053c48b

Please sign in to comment.