瀏覽代碼

chore(eslint): Add no-regex-spaces rule

dev1
hristoterezov 8 年之前
父節點
當前提交
ab709e5925
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      .eslintrc.js

+ 1
- 0
.eslintrc.js 查看文件

@@ -59,6 +59,7 @@ module.exports = {
59 59
         'no-negated-in-lhs': 2,
60 60
         'no-obj-calls': 2,
61 61
         'no-prototype-builtins': 0,
62
+        'no-regex-spaces': 2,
62 63
 
63 64
         'prefer-spread': 2,
64 65
         'require-yield': 2,

Loading…
取消
儲存