Skip to content

Commit

Permalink
Eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Jun 4, 2024
1 parent 13df23d commit 785dc15
Show file tree
Hide file tree
Showing 22 changed files with 26 additions and 19,502 deletions.
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";


export default [
{
files: ["src/**/*.{tsx,ts,js,jsx}"],
languageOptions: { globals: { ...globals.browser, ...globals.node } },
},
{
ignores: ["node_modules/**/*", "resources/**/*", "dist/**/*", "build/**/*", "backend/**/*", "old/**/*", "out/**/*", "scripts/**/*", "public/**/*", "coverage/**/*", "test/**/*", "tests/**/*", "mocks/**/*", "docs/**/*"],
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReactConfig,
{ settings: { react: { version: "detect" } } }
];
1 change: 0 additions & 1 deletion old/.eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions old/.eslintrc.cjs

This file was deleted.

231 changes: 0 additions & 231 deletions old/forge.config.ts

This file was deleted.

Loading

0 comments on commit 785dc15

Please sign in to comment.