chore: add plugins eslint check

pull/81/head
moonrailgun 3 years ago
parent 9ca49d2120
commit c3bc5fb729

@ -0,0 +1,19 @@
const rootlint = require('../../.eslintrc.js');
module.exports = {
...rootlint,
rules: {
...rootlint.rules,
'no-restricted-imports': [
'error',
{
name: 'tailchat-shared',
message: 'Only allow use `@capital/*`',
},
{
name: 'translate',
message: 'Maybe you should use `./translate`',
},
],
},
};
Loading…
Cancel
Save