Adobe Brackets disable jslint but allow jshint

前端 未结 5 1167
别那么骄傲
别那么骄傲 2021-01-30 20:52

My basic question: In the Adobe Brackets editor how do I use jshint while turning off or disabling jslint?

My tl;dr: When linting javas

5条回答
  •  梦如初夏
    2021-01-30 21:13

    You can now add your preferred linters to Brackets' preferences file:

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

    Open the preferences file with Debug > Open Preferences File.

    Brackets preferences
    Example preferences.json file

提交回复
热议问题