Skip to content

Commit

Permalink
Update deps, use eslint-plugin-es5
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Feb 23, 2021
1 parent 3d2fb6d commit 079f463
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
---
plugins:
- es5
extends:
- plugin:es5/no-es2015
rules:
es5/no-es6-static-methods:
- error
- exceptMethods:
- Math.imul
semi:
- 2
- always
no-extra-semi: 2
no-var: 0
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
"unit": "mocha --reporter=spec test/*-test.js"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"eslint-plugin-es5": "^1.5.0",
"mocha": "^8.3.0",
"standardx": "^5.0.0"
},
"standardx": {
"parser": "babel-eslint"
"standardx": "^7.0.0"
}
}

0 comments on commit 079f463

Please sign in to comment.