Skip to content

Commit f545264

Browse files
committed
feat: turn off unpublished import in test files
1 parent 268302c commit f545264

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

packages/eslint-config-node/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,12 @@ module.exports = {
9393
'security/detect-pseudoRandomBytes': 'error',
9494
'security/detect-unsafe-regex': 'error',
9595
},
96+
overrides: [
97+
{
98+
files: ['*.{spec,test}.ts'],
99+
rules: {
100+
'node/no-unpublished-import': 0,
101+
},
102+
},
103+
],
96104
}

0 commit comments

Comments
 (0)