You can check your code with the JSHint linter which is already bundled with JetBrains Rider.
When JSHint support is enabled, JetBrains Rider highlights errors that JSHint detects, provides descriptions for them, and suggests quick-fixes where possible.
Descriptions of the errors detected in the current file and quick-fixes for them are available from the editor.
Enable JSHint and configure its behavior in JetBrains Rider
In the Settings/Preferences dialog (Control+Alt+S), go to .
On the JSHint page that opens, select the Enable checkbox. After that all the controls on the page become available.
In the Version field, specify the version of the tool to use. JetBrains Rider comes bundled with version 2.10.2, which is used by default. To download another version, select it from the list.
Configure JSHint behavior in JetBrains Rider
Use config files - select this checkbox to apply JSHint rules from a custom configuration file, or from a .jshintrc file, or from a package.json, under the
Select the Default option if the rules are configured in a .jshintrc file or under the
jshintConfigproperty in a package.json. JetBrains Rider will first look for such configuration in the folder where the file to be checked is stored, then in its parent folder, and so on until the filesystem root is reached.
Alternatively, select Custom configuration file and specify the file location in the Path field below.
Learn more about JSHint configuration files from the JSHint official website.
To configure verification rules manually, clear the Use config files checkbox and enable the relevant validations in the Options area. Learn more from the JSHint official website.