},
...plugins['typescript-eslint'].config(
...plugins['typescript-eslint'].configs.strictTypeChecked,
- ...plugins['typescript-eslint'].configs.stylisticTypeChecked
- ),
- {
- languageOptions: {
- parserOptions: {
- projectService: true,
- tsconfigRootDir: import.meta.dirname,
+ ...plugins['typescript-eslint'].configs.stylisticTypeChecked,
+ {
+ languageOptions: {
+ parserOptions: {
+ projectService: true,
+ tsconfigRootDir: import.meta.dirname,
+ },
},
- },
- },
+ }
+ ),
{
files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
...plugins['typescript-eslint'].configs.disableTypeChecked,