Skip to content

Commit d105db0

Browse files
committed
fix: exclude PHP config files from ESLint
1 parent 81725e9 commit d105db0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎eslint.config.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { recommendedJavascript } from '@nextcloud/eslint-config'
77

88
export default [
99
{
10-
ignores: ['js/**', 'l10n/**', 'vendor/**', 'node_modules/**', '.devenv/**', 'tests/e2e/playwright-report/**', 'tests/e2e/test-results/**'],
10+
// The shared config matches **/*.config.*, including PHP config files.
11+
ignores: ['**/*.php', 'js/**', 'l10n/**', 'vendor/**', 'node_modules/**', '.devenv/**', 'tests/e2e/playwright-report/**', 'tests/e2e/test-results/**'],
1112
},
1213
...recommendedJavascript,
1314
]

0 commit comments

Comments
 (0)