Browse Source
test: fix lint error (#41596)
* test: fix lint error
* chore: fix lint
---------
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
pull/41603/head
afc163
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
3 deletions
-
scripts/check-cssinjs.js
-
scripts/collect-token-statistic.js
|
|
@ -1,5 +1,4 @@ |
|
|
|
/* eslint-disable import/no-unresolved,no-console,global-require,import/no-dynamic-require */ |
|
|
|
|
|
|
|
const chalk = require('chalk'); |
|
|
|
const React = require('react'); |
|
|
|
const ReactDOMServer = require('react-dom/server'); |
|
|
@ -30,7 +29,7 @@ const EmptyElement = React.createElement('div'); |
|
|
|
const styleFiles = glob.globSync( |
|
|
|
path.join( |
|
|
|
process.cwd(), |
|
|
|
'components/!(version|config-provider|icon|auto-complete|col|row|time-picker|)/style/index.?(ts|tsx)', |
|
|
|
'components/!(version|config-provider|icon|auto-complete|col|row|time-picker)/style/index.?(ts|tsx)', |
|
|
|
), |
|
|
|
); |
|
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@ const EmptyElement = React.createElement('div'); |
|
|
|
const styleFiles = glob.globSync( |
|
|
|
path.join( |
|
|
|
process.cwd(), |
|
|
|
'components/!(version|config-provider|icon|auto-complete|col|row|time-picker|)/style/index.?(ts|tsx)', |
|
|
|
'components/!(version|config-provider|icon|auto-complete|col|row|time-picker)/style/index.?(ts|tsx)', |
|
|
|
), |
|
|
|
); |
|
|
|
|
|
|
|