diff --git a/.eslintrc.json b/.eslintrc.json index e6c8dee..de6013b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,8 +3,5 @@ "extends": "@domenic", "env": { "node": true - }, - "rules": { - "logical-assignment-operators": "off" } } diff --git a/test/unicode.js b/test/unicode.js index 8c6eb1c..4533054 100644 --- a/test/unicode.js +++ b/test/unicode.js @@ -94,17 +94,17 @@ for (const l of lines) { toASCIITStatus ] = splitted.map(c => normalize(c.trim())); - toUnicode = toUnicode || source; + toUnicode ||= source; // We don't care about X* error codes since they are just bugs in a // previous version of the test suite. if (toUnicodeStatus === "[]" || toUnicodeStatus === "[X4_2]") { toUnicodeStatus = ""; } - toASCIIN = toASCIIN || toUnicode; + toASCIIN ||= toUnicode; if (toASCIINStatus === "[]") { toASCIINStatus = ""; } - toASCIIT = toASCIIT || toASCIIN; + toASCIIT ||= toASCIIN; if (toASCIITStatus === "[]") { toASCIITStatus = ""; }