integration: return HTTP 404 for unmatched URLs and close remaining browser-gate gaps
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,8 +11,6 @@ module.exports = tseslint.config(
|
||||
'.angular/**',
|
||||
'node_modules/**',
|
||||
'coverage/**',
|
||||
'e2e/**',
|
||||
'playwright.config.ts',
|
||||
'playwright-report/**',
|
||||
'test-results/**',
|
||||
'.lighthouseci/**',
|
||||
@@ -20,6 +18,7 @@ module.exports = tseslint.config(
|
||||
},
|
||||
{
|
||||
files: ['**/*.ts'],
|
||||
ignores: ['e2e/**/*.ts', 'playwright.config.ts'],
|
||||
extends: [
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
@@ -49,5 +48,15 @@ module.exports = tseslint.config(
|
||||
files: ['**/*.html'],
|
||||
extends: [...angular.configs.templateRecommended, ...angular.configs.templateAccessibility],
|
||||
},
|
||||
{
|
||||
files: ['e2e/**/*.ts', 'playwright.config.ts'],
|
||||
extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: './tsconfig.e2e.json',
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
},
|
||||
},
|
||||
prettier,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user