0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 07:13:02 -05:00

chore(lint): Ignore playwright reports for linting

Was part of c9e402afdc but got dropped from Makefile in 8dc72589ca
There are no JavaScript files in e2e left, so apply some rule to TypeScript only
This commit is contained in:
Otto Richter 2024-11-12 20:36:26 +01:00
parent fae9cbc8e6
commit 2e9a8c4fc0

View file

@ -20,7 +20,7 @@ export default tseslint.config(
...tseslint.configs.recommended,
eslintPluginImportX.flatConfigs.typescript,
{
ignores: ['web_src/js/vendor', 'web_src/fomantic', 'public/assets/js'],
ignores: ['web_src/js/vendor', 'web_src/fomantic', 'public/assets/js', 'tests/e2e/reports/'],
},
{
plugins: {
@ -1112,7 +1112,7 @@ export default tseslint.config(
],
},
}, {
files: ['tests/e2e/**/*.js', 'tests/e2e/**/*.ts'],
files: ['tests/e2e/**/*.ts'],
languageOptions: {
globals: {
...globals.browser,