Skip to content

Commit 59f5761

Browse files
committed
chore: Add confiog for project
1 parent c440ba6 commit 59f5761

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

packages/oxlint-config/oxlintrc.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"**/node_modules/**",
1414
"**/dist/**"
1515
],
16-
"globals": {
17-
},
16+
"globals": {},
1817
"settings": {},
1918
"rules": {
2019
"eqeqeq": "warn",
@@ -44,7 +43,9 @@
4443
"no-useless-constructor": 0,
4544
"no-unused-vars": 0,
4645
"no-use-before-define": 0,
47-
"node/no-callback-literal": 0
46+
"node/no-callback-literal": 0,
47+
"no-wrapper-object-types": "off",
48+
"no-thenable": "off"
4849
},
4950
"overrides": [
5051
{
@@ -55,6 +56,38 @@
5556
"rules": {
5657
"@typescript-eslint/no-explicit-any": "off"
5758
}
59+
},
60+
{
61+
"files": [
62+
"**/xmcl-runtime/**"
63+
],
64+
"rules": {
65+
"import/no-cycle": "off"
66+
}
67+
},
68+
{
69+
"files": [
70+
"**/xmcl-runtime-api/**"
71+
],
72+
"rules": {
73+
"import/no-cycle": "off"
74+
}
75+
},
76+
{
77+
"files": [
78+
"**/xmcl-electron-app/**"
79+
],
80+
"rules": {
81+
"import/no-cycle": "off"
82+
}
83+
},
84+
{
85+
"files": [
86+
"**/xmcl-keystone-ui/**"
87+
],
88+
"rules": {
89+
"import/no-cycle": "off"
90+
}
5891
}
5992
]
6093
}

0 commit comments

Comments
 (0)