Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use eslint-plugin-es5 to enforce ES5 #107

Merged
merged 3 commits into from
Aug 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ env:
commonjs: true
es2020: true
node: true
plugins:
- es5
# FUTURE TBD:
# extends: 'eslint:recommended'
parserOptions:
Expand Down
2 changes: 2 additions & 0 deletions lib/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- 'plugin:es5/no-es2015'
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@stryker-mutator/javascript-mutator": "^3.3.1",
"dom-js": "0.0.9",
"eslint": "^7.7.0",
"eslint-plugin-es5": "^1.5.0",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"vows": "^0.8.3"
Expand Down