forked from Stadt-Geschichte-Basel/stadtgeschichtebasel.ch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into agendabasel_api
- 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.