- Revert prefer-named-capture-group due to apparently problematic Babel plugin

This commit is contained in:
Brett Zamir
2019-11-16 10:08:38 +08:00
parent cd0bdd9cce
commit 19f7962c4a
33 changed files with 315 additions and 2146 deletions

View File

@@ -140,7 +140,6 @@ module.exports = {
root: "off"
},
rules: {
"node/no-unsupported-features/es-syntax": "off",
"node/no-unsupported-features/node-builtins": "off"
}
},
@@ -188,6 +187,8 @@ module.exports = {
}
],
rules: {
// The Babel transform seems to have a problem converting these
"prefer-named-capture-group": "off",
// Override these `ash-nazg/sauron` rules which are difficult for us
// to apply at this time
"unicorn/prefer-string-slice": "off",