mirror of
https://github.com/aurelienstebe/Gladdis.git
synced 2026-07-22 08:40:27 +00:00
27 lines
749 B
JavaScript
27 lines
749 B
JavaScript
import eslint from '@eslint/js'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: ['main.js', 'lib/', 'types/', 'coverage/', 'vault/'],
|
|
},
|
|
eslint.configs.recommended,
|
|
{
|
|
languageOptions: { parserOptions: { projectService: true } },
|
|
},
|
|
...tseslint.configs.recommendedTypeChecked,
|
|
{
|
|
files: ['**/*.js'],
|
|
...tseslint.configs.disableTypeChecked,
|
|
},
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
},
|
|
},
|
|
{
|
|
linterOptions: { reportUnusedDisableDirectives: 'error' },
|
|
},
|
|
)
|