aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/.eslintrc.json3
-rw-r--r--src/core.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/dist/.eslintrc.json b/dist/.eslintrc.json
index af08e6812..7f7df317c 100644
--- a/dist/.eslintrc.json
+++ b/dist/.eslintrc.json
@@ -20,6 +20,9 @@
"rules": {
// That is okay for the built version
"no-multiple-empty-lines": "off",
+ // When custom compilation is used, the version string
+ // can get large. Accept that in the built version.
+ "max-len": "off",
"one-var": "off"
}
}
diff --git a/src/core.js b/src/core.js
index 0baffb6bc..d05d84888 100644
--- a/src/core.js
+++ b/src/core.js
@@ -14,8 +14,6 @@ import isWindow from "./var/isWindow.js";
import DOMEval from "./core/DOMEval.js";
import toType from "./core/toType.js";
-// When custom compilation is used, the version string can get large.
-// eslint-disable-next-line max-len
var version = "@VERSION",
rhtmlSuffix = /HTML$/i,