Added a comment mentioning that index.js overrides are for barrel files (#8978)

This commit is contained in:
Nick Taylor 2020-06-29 10:52:35 -04:00 committed by GitHub
parent 92c72ab2c5
commit b9c64e57f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',
},