Skip to content

Commit 8ddf33f

Browse files
author
goosewobbler
committed
standardise config, update comments
1 parent 97fb547 commit 8ddf33f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

eslint.config.mjs

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default [
1313
{
1414
ignores: ['dist/**/*', 'compiled/**/*', 'bundle/**/*']
1515
},
16-
// Temporary ignored dirs - remove on rewrite
16+
// Temporary ignored dirs - TODO: remove on rewrite
1717
{
1818
ignores: ['main/signers/**/*']
1919
},
@@ -69,6 +69,7 @@ export default [
6969
}
7070
},
7171
// React / JSX files
72+
// TODO: simplify as '**/*.{jsx,tsx}'
7273
{
7374
files: [
7475
'app/**/*.js',
@@ -119,7 +120,7 @@ export default [
119120
},
120121
// Test files
121122
{
122-
files: ['test/**/*', '**/__mocks__/**/*'],
123+
files: ['test/**/*.js', '**/__mocks__/**/*.js'],
123124
plugins: {
124125
jest
125126
},
@@ -135,7 +136,7 @@ export default [
135136
},
136137
// Components test files
137138
{
138-
files: ['test/app/**/*.js', 'test/resources/Components/**/*.js', 'app/**/__mocks__/**'],
139+
files: ['test/app/**/*.js', 'test/resources/Components/**/*.js', 'app/**/__mocks__/**/*.js'],
139140
plugins: {
140141
'testing-library': testingLibrary
141142
},

0 commit comments

Comments
 (0)