How to exclude JavaScript and TypeScript files from code analysis?

If your project contains libraries that include a big amount of js/ts and these files are not considered by ReSharper as library code you can exclude such files from code analysis.

Also, ignoring big compiled js libraries could improve ReSharper performance noticeably.

You can do all that stuff it via ReSharper | Options | Code Editing | Third-Party Code:


There are two options:

  • Skipped code option is preferable to use for compiled bundles as it fully ignores files (without analyzing and even parsing).
  • Library code option is applied to library code and disables only code analysis while the file is parsed and used for resolve.

Please refer to the corresponding help article for more details.


Please sign in to leave a comment.

Have more questions?

Submit a request