Allow debugger; statements in certain files, using ESLint

后端 未结 5 933
故里飘歌
故里飘歌 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:11

    Update your eslint configuration file (.eslintrc etc) with such rule:

    "rules": {
        "no-debugger":"off"
    }
    

提交回复
热议问题