eslint-disable-next-line no-console 是一条 ESLint 指令,用于在代码中临时禁用 no-console 规则。no-console 规则通常用于禁止在代码中使用 console.log、console.error 等控制台输出方法,以避免在生产环境中产生不必要的日志输出。通过在特定行前添加 eslint-disable-next-line no-console 指令,可以允许该行使用...
{ "extends": "eslint:recommended", "env": { "browser": true }, "rules": { "no-console": 0, // "no-constant-condition": 0, } } This is with eslint@2.0.0-beta.1 gyandeepsadded thetriageAn ESLint team member will look at this issue soonlabelJan 18, 2016 ...
- "@typescript-eslint/no-explicit-any": 0, - "@typescript-eslint/no-var-requires": 0, - "@typescript-eslint/no-use-before-define": 0, - "@typescript-eslint/no-unused-vars": [ - 2, - { - "argsIgnorePattern": "^_" - } - ], - "no-console": [ - 2, - { - "allo...