echodict/llama.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786
0765
1// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format2import storybook from 'eslint-plugin-storybook';3 4import prettier from 'eslint-config-prettier';5import { includeIgnoreFile } from '@eslint/compat';6import js from '@eslint/js';7import svelte from 'eslint-plugin-svelte';8import globals from 'globals';9import { fileURLToPath } from 'node:url';10import ts from 'typescript-eslint';11import svelteConfig from './svelte.config.js';12 13const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));14 15export default ts.config(16 includeIgnoreFile(gitignorePath),17 js.configs.recommended,18 ...ts.configs.recommended,19 ...svelte.configs.recommended,20 prettier,21 ...svelte.configs.prettier,22 {23 languageOptions: {24 globals: { ...globals.browser, ...globals.node }25 },26 rules: {27 // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.28 // see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors29 'no-undef': 'off',30 'svelte/no-at-html-tags': 'off',31 // This app uses hash-based routing (#/) where resolve() from $app/paths does not apply32 'svelte/no-navigation-without-resolve': 'off'33 }34 },35 {36 files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],37 languageOptions: {38 parserOptions: {39 projectService: true,40 extraFileExtensions: ['.svelte'],41 parser: ts.parser,42 svelteConfig43 }44 }45 },46 {47 // Exclude Storybook files from main ESLint rules48 ignores: ['.storybook/**/*']49 },50 storybook.configs['flat/recommended']51);52 