Last active
February 3, 2023 19:51
-
-
Save codebrainz/621faee0bcc8857df95c8bae2308c95d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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 | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment