1
0
Fork 0

chore(eslint): a couple more config changes

This commit is contained in:
Nikhil Chelliah 2022-10-14 19:02:01 -04:00
parent c6822aa15a
commit 9897b3157d
2 changed files with 10 additions and 1 deletions

View file

@ -5,6 +5,7 @@ const nodeFiles = [
`**/build.dflt.${jsSuffixes}`,
`**/build.${jsSuffixes}`,
`**/config/**/*.${jsSuffixes}`,
`**/*.config.${jsSuffixes}`,
`**/prebuild.${jsSuffixes}`,
`**/prebuild/**/*.${jsSuffixes}`,
`**/scripts/**/*.${jsSuffixes}`,
@ -83,7 +84,11 @@ module.exports = {
},
// Additional globals for JavaScript files that happen to contain Mocha tests
{
files: [`**/tests/**/*.${jsSuffixes}`, `**/*.test.${jsSuffixes}`],
files: [
`**/tests/**/*.${jsSuffixes}`,
`**/*.test.${jsSuffixes}`,
'scripts/test-failure-collector.js',
],
env: {
mocha: true,
},