Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Migrates eslint & sass
  • Loading branch information
probablykasper committed Oct 23, 2024
1 parent 880f36e commit 52f44b8
Show file tree
Hide file tree
Showing 7 changed files with 1,440 additions and 872 deletions.
31 changes: 0 additions & 31 deletions .eslintrc.cjs

This file was deleted.

32 changes: 32 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import prettier from 'eslint-config-prettier'
import js from '@eslint/js'
import svelte from 'eslint-plugin-svelte'
import globals from 'globals'
import ts from 'typescript-eslint'
/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
},
},
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser,
},
},
},
{
ignores: ['build/', '.svelte-kit/', 'dist/'],
},
]
Loading

0 comments on commit 52f44b8

Please sign in to comment.