-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
33 lines (32 loc) · 894 Bytes
/
eslint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import config from "@ethang/eslint-config/src/eslint.config.js";
import tseslint from "typescript-eslint";
import reactConfig from "@ethang/eslint-config/src/config.react.js";
export default tseslint.config(
{
ignores: [
"**/*/dist",
"**/*/node_modules",
"packages/eslint-config/eslint.config.js",
"apps/**/*.gen.ts",
"**/*.d.ts",
"**/.sanity",
"**/storybook-static",
"**/convex/_generated",
"**/README.md"
],
},
...config,
...reactConfig,
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
"files": ["packages/react-components/components/ui"],
"rules": {"react/prefer-read-only-props": "off"}
}
);