Enable Playwright e2e tests in dev container and CI pipeline
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/deploy unknown status

This commit is contained in:
2026-02-01 13:51:20 -03:00
parent 4bcce26a74
commit 81abdf4539
5 changed files with 100 additions and 73 deletions

View File

@@ -5,41 +5,41 @@ import prettier from 'eslint-config-prettier';
import svelteConfig from './svelte.config.js';
export default [
{
ignores: [
'.svelte-kit/**',
'dist/**',
'build/**',
'node_modules/**',
'site/**',
'static/**',
'build.mjs'
]
},
js.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
{
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
languageOptions: {
parserOptions: {
parser: tseslint.parser,
projectService: true,
extraFileExtensions: ['.svelte'],
svelteConfig
}
}
},
{
files: ['**/*.mjs', 'build.mjs'],
languageOptions: { globals: { console: 'readonly', process: 'readonly' } }
},
{
rules: {
'svelte/no-at-html-tags': 'warn',
'svelte/require-each-key': 'off',
'svelte/no-navigation-without-resolve': 'off'
}
}
{
ignores: [
'.svelte-kit/**',
'dist/**',
'build/**',
'node_modules/**',
'site/**',
'static/**',
'build.mjs',
],
},
js.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
{
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
languageOptions: {
parserOptions: {
parser: tseslint.parser,
projectService: true,
extraFileExtensions: ['.svelte'],
svelteConfig,
},
},
},
{
files: ['**/*.mjs', 'build.mjs'],
languageOptions: { globals: { console: 'readonly', process: 'readonly' } },
},
{
rules: {
'svelte/no-at-html-tags': 'warn',
'svelte/require-each-key': 'off',
'svelte/no-navigation-without-resolve': 'off',
},
},
];