mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +03:00
27 lines
729 B
JavaScript
27 lines
729 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
|
plugins: ['svelte3', '@typescript-eslint', 'square-svelte-store'],
|
|
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',
|
|
'square-svelte-store/use-square-svelte-stores': 'error'
|
|
}
|
|
};
|