mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2025-02-17 04:59:17 +00:00
Merge pull request #655 from 3flex/eslint-typechecked
Enable linting TS with type checking
This commit is contained in:
commit
9c32c6f189
@ -29,7 +29,8 @@ export default [
|
||||
},
|
||||
{
|
||||
files: ['**/*.json'],
|
||||
...json.configs['recommended']
|
||||
...json.configs['recommended'],
|
||||
...tseslint.configs.disableTypeChecked
|
||||
},
|
||||
{
|
||||
files: ['**/*.ts'],
|
||||
@ -38,12 +39,20 @@ export default [
|
||||
parser: tseslint.parser
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['eslint.config.mjs'],
|
||||
...tseslint.configs.disableTypeChecked
|
||||
},
|
||||
{
|
||||
files: ['**/*.ts', '**/*.js'],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.es2015
|
||||
},
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
tsconfigRootDir: import.meta.dirname
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user