dependabot/npm_and_yarn/astrojs/mdx-7.0.8
dependabot/npm_and_yarn/astro-7.4.0
dependabot/npm_and_yarn/astrojs/mdx-7.0.8
dependabot/npm_and_yarn/astrojs/sitemap-3.7.4
dependabot/npm_and_yarn/katex-0.19.0
dependabot/npm_and_yarn/prettier-3.9.10
dependabot/npm_and_yarn/sharp-0.35.5
dependabot/npm_and_yarn/tsx-4.23.15
dependabot/npm_and_yarn/typescript-eslint-8.71.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.71.2
development
main
| 1 | import eslint from '@eslint/js' |
| 2 | import globals from 'globals' |
| 3 | import tseslint from 'typescript-eslint' |
| 4 | import prettier from 'eslint-config-prettier' |
| 5 | import eslintPluginAstro from 'eslint-plugin-astro' |
| 6 | |
| 7 | export default [ |
| 8 | eslint.configs.recommended, |
| 9 | ...tseslint.configs.recommended, |
| 10 | ...eslintPluginAstro.configs.recommended, |
| 11 | { |
| 12 | languageOptions: { |
| 13 | globals: { |
| 14 | ...globals.browser, |
| 15 | ...globals.node |
| 16 | } |
| 17 | } |
| 18 | }, |
| 19 | { |
| 20 | rules: { |
| 21 | 'no-console': ['warn', { allow: ['warn', 'error'] }], |
| 22 | '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], |
| 23 | '@typescript-eslint/no-explicit-any': 'warn', |
| 24 | 'astro/no-set-html-directive': 'off' |
| 25 | } |
| 26 | }, |
| 27 | prettier, |
| 28 | { |
| 29 | ignores: [ |
| 30 | 'dist/**', |
| 31 | '.output/**', |
| 32 | 'node_modules/**', |
| 33 | '*.log', |
| 34 | '.env*', |
| 35 | '.cache/**', |
| 36 | '.astro/**', |
| 37 | '.DS_Store', |
| 38 | 'coverage/**' |
| 39 | ] |
| 40 | } |
| 41 | ] |