Skip to content

Commit

Permalink
fix: arrumando as depencencias e configurações básicas do lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gxaite committed Sep 2, 2024
1 parent 5f551fe commit b8573d1
Show file tree
Hide file tree
Showing 3 changed files with 3,679 additions and 915 deletions.
12 changes: 12 additions & 0 deletions backend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import globals from "globals";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";


export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{languageOptions: { globals: globals.browser }},
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
];
Loading

0 comments on commit b8573d1

Please sign in to comment.