mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
487 B
JavaScript
25 lines
487 B
JavaScript
const rootlint = require('../../../.eslintrc.js');
|
|
|
|
module.exports = {
|
|
...rootlint,
|
|
root: true,
|
|
rules: {
|
|
...rootlint.rules,
|
|
'no-restricted-imports': [
|
|
'error',
|
|
{
|
|
name: 'tailchat-shared',
|
|
message: 'Only allow use `@capital/*`',
|
|
},
|
|
{
|
|
name: 'antd',
|
|
message: 'Only allow use `@capital/component`',
|
|
},
|
|
{
|
|
name: 'translate',
|
|
message: 'Maybe you should use `./translate`',
|
|
},
|
|
],
|
|
},
|
|
};
|