Skip to content

Commit

Permalink
chore: re-add eslint (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
cstenglein authored Nov 10, 2024
1 parent 03d8509 commit a7e7ce5
Show file tree
Hide file tree
Showing 3 changed files with 2,108 additions and 89 deletions.
22 changes: 22 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";


export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
{
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
rules: {
"react/react-in-jsx-scope": "off",
"react/jsx-uses-react": "off"
},
ignores: [
".backend-mock/"
]
},
];
Loading

0 comments on commit a7e7ce5

Please sign in to comment.