Move the no-console rule to file level instead of directory

This commit is contained in:
Tom Koscielniak 2025-08-19 14:33:09 +02:00 committed by Tomáš Koscielniak
parent 1e7814afca
commit e964c00463

View file

@ -163,7 +163,6 @@ module.exports = defineConfig([
...pluginPlaywright.configs.recommended.rules,
'playwright/no-conditional-in-test': 'off',
'playwright/no-conditional-expect': 'off',
'no-console': 'off',
'playwright/no-skipped-test': [
'error',
{
@ -172,4 +171,14 @@ module.exports = defineConfig([
]
},
},
{
files: [
'playwright/BootTests/helpers/OpenStackWrapper.ts',
'playwright/BootTests/helpers/imageBuilding.ts',
],
rules: {
'no-console': 'off',
},
},
]);