diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 18:17:25 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 18:17:25 -0400 |
| commit | 0c0cd1daa0c6640e81bb6282ae4a1c574cf135f4 (patch) | |
| tree | d6b4195cc7be249fb55cb1160f01db0a6daa84f1 /hi-ui/eslint.config.js | |
| parent | 54a542df2164e421e78b48d7229a6bfabbc5c26b (diff) | |
| parent | 40cc35bcc9b881a61ca62c67e107bb17c2748f57 (diff) | |
Merge branch 'wip/ui'
Diffstat (limited to 'hi-ui/eslint.config.js')
| -rw-r--r-- | hi-ui/eslint.config.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/hi-ui/eslint.config.js b/hi-ui/eslint.config.js new file mode 100644 index 0000000..2eeebcc --- /dev/null +++ b/hi-ui/eslint.config.js @@ -0,0 +1,23 @@ +import js from '@eslint/js'; +import svelte from 'eslint-plugin-svelte'; +import prettier from 'eslint-config-prettier'; +import globals from 'globals'; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + js.configs.recommended, + ...svelte.configs['flat/recommended'], + prettier, + ...svelte.configs['flat/prettier'], + { + languageOptions: { + globals: { + ...globals.browser, + ...globals.node + } + } + }, + { + ignores: ['build/', '.svelte-kit/', 'dist/'] + } +]; |
