To enable JSLint and configure its behavior in PhpStorm
- In the Tolerate area, specify the types of problems you do not want JSLint to report. By default, the tool reports detected problems of all types. To skip problems of a certain type, select the checkbox next to this type.
- In the Assumearea, specify the targeted environment to check the code for.
- Specify the maximum number of problems to report (
maxerr), the maximum line length (
maxlen), and the predefined global variables by names or through object keys (
- Select the JSON checkbox in the Validate also area to verify
jsonfiles as well.
Last modified: 20 April 2018