Skip to content

Commit

Permalink
Update packages/eslint-config/rules/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ekaterina Anishkina <[email protected]>
  • Loading branch information
SeanSilke and KateKate authored Mar 14, 2024
1 parent c8c78ab commit a6227cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config/rules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const path = require('path');

const ruleFiles = fs
.readdirSync(__dirname)
.filter((file) => file !== 'index.js' && file !== 'helpers.js' && !file.endsWith('test.js'));
.filter((file) => !['index.js', 'helpers.js'].includes(file) && !file.endsWith('test.js'));

const configs = {
all: {
Expand Down

0 comments on commit a6227cc

Please sign in to comment.