diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:05:48 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:05:48 -0400 |
| commit | 4401dce2b5545ce8117818812d8e3c8919f5f7fd (patch) | |
| tree | df04478e6094a2a8cdd14ecd31b77caacff78de6 /ui/eslint.config.js | |
| parent | 999996961e6e8ebcde125ff0022df875d62817b3 (diff) | |
Remove redundancy in `hi-ui` directory name.
Diffstat (limited to 'ui/eslint.config.js')
| -rw-r--r-- | ui/eslint.config.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/eslint.config.js b/ui/eslint.config.js new file mode 100644 index 0000000..2eeebcc --- /dev/null +++ b/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/'] + } +]; |
