Skip to content

Commit

Permalink
add lib/.eslintrc.yml with extends: plugin:es5/no-es2015 entry
Browse files Browse the repository at this point in the history
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 xmldom#91 - xmldom#91
  • Loading branch information
brodybits committed Aug 17, 2020
1 parent be45711 commit 227290d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/.eslintrc.yml
@@ -0,0 +1,2 @@
extends:
- 'plugin:es5/no-es2015'

0 comments on commit 227290d

Please sign in to comment.