JSHint v2.2.20
Форма авторизации
Главная JavaScript JSHint v2.2.20

JSHint v2.2.20

Raymond Camden
JSHint v2.2.20
A Brackets extension to enable JSHint support. To install, place in your brackets/src/extensions/user folder.

To see the extension in action, open a JavaScript file. In the bottom right corner of your editor you will either see a green checkmark (which means no problems were found) or a yellow exclamation mark. Click on the exclamation mark and a bottom panel will open listing all the problems found.

JSHint can be configured by .jshintrc file located in the project root or by adding or modifying "jshint.options" and "jshint.globals" under "Debug > Open Preferences File". See jshint documentation for configuration options details and .jshintrc file format.

Brackets has JSLint built in and if you wish to ignore JSLint results, you must tell Brackets to explicitly use JSHint only. This can be done via a .brackets.json file in the root of your project. Simply use this block:

"language": {
  "javascript": {
  "linting.prefer": "JSHint",
  "linting.usePreferredOnly": true

Комментарии к материалу
Всего комментариев: 0