Merge pull request 'chore(lint): Ignore playwright reports for linting' (#5928) from fnetx/nolint into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5928
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Otto 2024-11-12 20:10:19 +00:00
commit a39f726643

View file

@ -20,7 +20,7 @@ export default tseslint.config(
...tseslint.configs.recommended, ...tseslint.configs.recommended,
eslintPluginImportX.flatConfigs.typescript, 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: { plugins: {
@ -1112,7 +1112,7 @@ export default tseslint.config(
], ],
}, },
}, { }, {
files: ['tests/e2e/**/*.js', 'tests/e2e/**/*.ts'], files: ['tests/e2e/**/*.ts'],
languageOptions: { languageOptions: {
globals: { globals: {
...globals.browser, ...globals.browser,