feat: rules for tests

This commit is contained in:
Anthony Fu 2021-12-04 23:56:37 +08:00
parent 92540f2135
commit 2e07691eeb

View File

@ -93,6 +93,12 @@ module.exports = {
'no-console': 'off', 'no-console': 'off',
}, },
}, },
{
files: ['*.test.ts', '*.test.js', '*.spec.ts', '*.spec.js'],
rules: {
'no-unused-expressions': 'off',
},
},
], ],
rules: { rules: {
// import // import