mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 04:43:59 +01:00
chore(lint): Ignore playwright reports for linting
Was part ofc9e402afdc
but got dropped from Makefile in8dc72589ca
There are no JavaScript files in e2e left, so apply some rule to TypeScript only
This commit is contained in:
parent
fae9cbc8e6
commit
2e9a8c4fc0
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue