-
-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy patheslint.config.mjs
More file actions
24 lines (22 loc) · 558 Bytes
/
Copy patheslint.config.mjs
File metadata and controls
24 lines (22 loc) · 558 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"react/prop-types": "off"
},
settings: {
react: {
version: "18"
}
}
}
];