Open max-mykhailenko opened 4 years ago
Is this in a flow file? It might be a good idea to check for a .flowconfig
and disable the plugin
Yes, it's flow file with flow pragma on top
Yep, then I think I'd take a PR which has a lookup to see if the JS file lives inside a folder with a .flowconfig and disables the type checking.
You can also set "enable_language_service_for_javascript": false
in your Preferences.sublime-settings
instead. I think that's probably more ideal.
Some of my projects use typescript, some not. But error messages I see across all project.
Will be better to check
tsconfig
file and only if it available — turn on plugin. What do you think?