ant-design/.depslintrc.js

23 lines
400 B
JavaScript
Raw Normal View History

2019-03-11 11:00:25 +08:00
module.exports = {
ignore: [
'**/~*/**',
'**/_*/**',
'**/icon/**',
'**/__tests__/**',
'**/style/**',
'**/locale/**',
'**/*-provider/**',
'**/*.json',
],
modulePattern: [
{
2019-05-07 14:57:32 +08:00
pattern: /ConfigConsumer.*renderEmpty/ms,
2019-03-11 11:00:25 +08:00
module: '../empty',
},
{
pattern: /config-provider\/context.*renderEmpty/ms,
module: '../empty',
},
2019-03-11 11:00:25 +08:00
],
2019-05-07 14:57:32 +08:00
};