Added a comment mentioning that index.js overrides are for barrel files (#8978)
This commit is contained in:
parent
92c72ab2c5
commit
b9c64e57f1
1 changed files with 2 additions and 1 deletions
|
|
@ -55,7 +55,8 @@ module.exports = {
|
|||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/index.js'], // Or *.test.js
|
||||
// Turn this rule off for barrel files
|
||||
files: ['**/index.js'],
|
||||
rules: {
|
||||
'import/export': 'off',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue