From 227290d798dd854d661a66ee2b21f8e151580a94 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Mon, 17 Aug 2020 18:37:03 -0400 Subject: [PATCH] add lib/.eslintrc.yml with extends: plugin:es5/no-es2015 entry should guard against newer ES6 syntax that could lead to issues with some ES5 environments such as: - Jint - https://github.com/sebastienros/jint - Duktape - IE11 - Android pre-5.0 WebView (already past EOL) as discussed in PR #91 - https://github.com/xmldom/xmldom/pull/91 --- lib/.eslintrc.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 lib/.eslintrc.yml diff --git a/lib/.eslintrc.yml b/lib/.eslintrc.yml new file mode 100644 index 000000000..3eb98abcf --- /dev/null +++ b/lib/.eslintrc.yml @@ -0,0 +1,2 @@ +extends: + - 'plugin:es5/no-es2015'