mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
add pattern match
This commit is contained in:
parent
05564e00ff
commit
d17a67175d
18
.depslintrc.js
Normal file
18
.depslintrc.js
Normal file
@ -0,0 +1,18 @@
|
||||
module.exports = {
|
||||
ignore: [
|
||||
'**/~*/**',
|
||||
'**/_*/**',
|
||||
'**/icon/**',
|
||||
'**/__tests__/**',
|
||||
'**/style/**',
|
||||
'**/locale/**',
|
||||
'**/*-provider/**',
|
||||
'**/*.json',
|
||||
],
|
||||
modulePattern: [
|
||||
{
|
||||
pattern: /ConfigConsumer.*renderEmpty/sm,
|
||||
module: '../empty',
|
||||
},
|
||||
],
|
||||
};
|
@ -1,2 +1,5 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
|
||||
// style dependencies
|
||||
import '../../tooltip/style';
|
||||
|
@ -195,7 +195,7 @@
|
||||
"test-node": "jest --config .jest.node.js --no-cache",
|
||||
"test-all": "./scripts/test-all.sh",
|
||||
"lint": "npm run lint:ts && npm run lint:es && npm run lint:demo && npm run lint:style",
|
||||
"lint:deps": "antd-tools run deps-lint --ignore **/~*/**,**/_*/**,**/icon/**,**/__tests__/**,**/style/**,**/locale/**,**/*-provider/**,**/*.json",
|
||||
"lint:deps": "antd-tools run deps-lint",
|
||||
"lint:ts": "npm run tsc && antd-tools run ts-lint",
|
||||
"lint:es": "eslint tests site scripts components ./.*.js ./webpack.config.js --ext '.js,.jsx'",
|
||||
"lint:md": "remark components/",
|
||||
|
Loading…
Reference in New Issue
Block a user