瀏覽代碼

Adds no-constant-binary-expression eslint rule

main
Eric Amodio 2 年之前
父節點
當前提交
09ac5caef1
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      .eslintrc.base.json

+ 1
- 0
.eslintrc.base.json 查看文件

@ -32,6 +32,7 @@
"new-parens": "error",
"no-console": "off",
"no-constant-condition": ["warn", { "checkLoops": false }],
"no-constant-binary-expression": "error",
"no-caller": "error",
"no-debugger": "off",
"no-dupe-class-members": "off",

Loading…
取消
儲存