lukeonline

source for my website
git clone https://git.lukeonline.net/repos/lukeonline
Log | Files | Refs | README | LICENSE

eslint.config.js (396B)


      1 import js from '@eslint/js'
      2 import globals from 'globals'
      3 import tseslint from 'typescript-eslint'
      4 import { defineConfig, globalIgnores } from 'eslint/config'
      5 
      6 export default defineConfig([
      7   globalIgnores(['dist']),
      8   {
      9     files: ['**/*.{astro,ts,tsx}'],
     10     extends: [js.configs.recommended, tseslint.configs.recommended],
     11     languageOptions: {
     12       globals: globals.browser,
     13     },
     14   },
     15 ])