Skip to content

Commit 44adf04

Browse files
authored
fix(antd/next): fix style compiler error (#2310)
1 parent 13008d1 commit 44adf04

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@typescript-eslint/no-var-requires": "off",
3131
"@typescript-eslint/no-explicit-any": "off",
3232
"@typescript-eslint/no-unused-vars": "error",
33+
"@typescript-eslint/ban-ts-comment": "off",
3334
"react/no-unescaped-entities": "off",
3435
"react/prop-types": "off"
3536
},

packages/.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@typescript-eslint/no-use-before-define": 0,
4444
"@typescript-eslint/no-unused-vars": 1,
4545
"@typescript-eslint/no-namespace": 0,
46+
"@typescript-eslint/ban-ts-comment": 0,
4647
"@typescript-eslint/ban-types": 0,
4748
"@typescript-eslint/adjacent-overload-signatures": 0,
4849
"@typescript-eslint/explicit-module-boundary-types": 0,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './style.less'
1+
// @ts-ignore

packages/antd/src/form/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './style.less'
1+
// @ts-ignore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './main.scss'
1+
// @ts-ignore

packages/next/src/form/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './main.scss'
1+
// @ts-ignore

0 commit comments

Comments
 (0)