diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 21:04:43 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 21:04:43 +0100 |
| commit | 23ab0a24ba82004fa449491b4e08698a1de9e6a0 (patch) | |
| tree | d701120d9a77f67153c93149ec7871bfd571bbfb /.eslintrc.cjs | |
| download | auroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.tar.xz auroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.zip | |
feat: Initial commit
Diffstat (limited to '.eslintrc.cjs')
| -rw-r--r-- | .eslintrc.cjs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..3ccf435 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], + plugins: ['svelte3', '@typescript-eslint'], + ignorePatterns: ['*.cjs'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + settings: { + 'svelte3/typescript': () => require('typescript') + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020 + }, + env: { + browser: true, + es2017: true, + node: true + } +}; |
