Browse Source

Fix missing commend end in .eslintrc (#3264)

Fix typo in #3262, ending `*/` of a block comment was missing.
Also disabled new item `no-useless-escape` for linting, because this triggers a bit too often for comfort.
revert-3409-performance
wimrijnders 7 years ago
committed by yotamberk
parent
commit
e698c5d27b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .eslintrc

+ 2
- 1
.eslintrc View File

@ -16,6 +16,7 @@
"complexity": [2, 55], "complexity": [2, 55],
"max-statements": [2, 115], "max-statements": [2, 115],
"no-unreachable": 1, "no-unreachable": 1,
"no-useless-escape": 0,
/* /*
// some disabled options which might be useful // some disabled options which might be useful
"no-console": 0, "no-console": 0,
@ -26,8 +27,8 @@
"no-mixed-spaces-and-tabs": 0, "no-mixed-spaces-and-tabs": 0,
"no-redeclare": 0, "no-redeclare": 0,
"no-unused-vars": 0, "no-unused-vars": 0,
"no-useless-escape": 0,
// following will flag presence of console.log as error. // following will flag presence of console.log as error.
"no-console": ["error", { allow: ["warn", "error"] }], "no-console": ["error", { allow: ["warn", "error"] }],
*/
} }
} }

Loading…
Cancel
Save