Merge pull request 'chore(lint): Ignore playwright reports for linting' (#5928) from fnetx/nolint into forgejo
Some checks are pending
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
testing / test-remote-cacher (map[image:docker.io/bitnami/redis:7.2 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:docker.io/bitnami/valkey:7.2 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:ghcr.io/microsoft/garnet-alpine:1.0.14 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:registry.redict.io/redict:7.3.0-scratch port:6379]) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions

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,