Allow debugger; statements in certain files, using ESLint

后端 未结 5 937
故里飘歌
故里飘歌 2021-02-08 10:30

Say I want to use this rule:

https://eslint.org/docs/rules/no-debugger

however, I have about 15 files where I want to keep debugger; statements.

Is there

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 11:04

    OR, add:

    "no-debugger": false
    

    to the bottom of tslint.json, to disable this warning for all files.

提交回复
热议问题