mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 20:54:50 +03:00
14ced0d544
This reverts commit 615f0092a6
.
26 lines
647 B
JavaScript
26 lines
647 B
JavaScript
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
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-namespace': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off'
|
|
}
|
|
};
|