Some enhancements to the pipeline... Liking woodpecker...
Some checks failed
ci/woodpecker/pr/lint-and-build Pipeline failed

This commit is contained in:
2026-01-30 23:43:06 -03:00
parent c5c160d259
commit 414cf5c4ce
5 changed files with 122 additions and 95 deletions

View File

@@ -2,6 +2,7 @@ import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
import svelteConfig from './svelte.config.js';
export default [
{
@@ -19,6 +20,17 @@ export default [
...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' } }