generated from maehr/github-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update ESLint configuration and dependencies * fix: add error logging for download failures and page loading issues * fix: conditionally log errors in development mode for download and page load failures * chore: update dependencies in package.json to latest versions * fix: improve error logging during download retries
- Loading branch information
Showing
9 changed files
with
573 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
import eslintPluginSvelte from 'eslint-plugin-svelte'; | ||
import js from '@eslint/js'; | ||
import prettier from 'eslint-config-prettier'; | ||
import svelte from 'eslint-plugin-svelte'; | ||
import globals from 'globals'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
// add more generic rule sets here, such as: | ||
// js.configs.recommended, | ||
...eslintPluginSvelte.configs['flat/recommended'], | ||
js.configs.recommended, | ||
...svelte.configs['flat/recommended'], | ||
prettier, | ||
...svelte.configs['flat/prettier'], | ||
{ | ||
ignores: [ | ||
'.DS_Store', | ||
'node_modules', | ||
'/build', | ||
'/.svelte-kit', | ||
'/package', | ||
'.env', | ||
'.env.*', | ||
'!.env.example', | ||
'pnpm-lock.yaml', | ||
'package-lock.json', | ||
'yarn.lock' | ||
], | ||
rules: { | ||
// override/add rules settings here, such as: | ||
// 'svelte/rule-name': 'error' | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node | ||
} | ||
} | ||
}, | ||
{ | ||
ignores: ['build/', '.svelte-kit/', 'dist/'] | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.