Skip to content

Commit

Permalink
feat(ESLint): ESLint rules updated with last rules. Closes #99
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinezanardi committed Jan 11, 2021
1 parent 4b25a44 commit 81f2489
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ module.exports = {
"no-empty": "error",
"no-empty-character-class": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-extra-parens": "error",
"no-extra-semi": "error",
"no-extra-boolean-cast": "error",
"no-func-assign": "error",
"no-import-assign": "error",
"no-inner-declarations": "error",
Expand All @@ -49,6 +49,7 @@ module.exports = {
"no-unreachable-loop": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unsafe-optional-chaining": "error",
"no-useless-backreference": "error",
"require-atomic-updates": "off",
"use-isnan": "error",
Expand Down Expand Up @@ -122,6 +123,8 @@ module.exports = {
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-useless-return": "error",
"no-void": "error",
"no-warning-comments": "off",
"no-with": "error",
Expand All @@ -130,8 +133,6 @@ module.exports = {
"prefer-regex-literals": "error",
"radix": ["error", "as-needed"],
"require-await": "error",
"no-useless-escape": "error",
"no-useless-return": "error",
"require-unicode-regexp": "error",
"vars-on-top": "error",
"wrap-iife": "error",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* [#91](https://github.com/antoinezanardi/werewolves-assistant-api/issues/91) - Game option for no sheriff.
* [#95](https://github.com/antoinezanardi/werewolves-assistant-api/issues/95) - Limit game history length.
* [#96](https://github.com/antoinezanardi/werewolves-assistant-api/issues/96) - Add dead players in game history entries.
* [#99](https://github.com/antoinezanardi/werewolves-assistant-api/issues/99) - ESLint rules updated with last rules.

### ♻️ Refactoring

Expand Down

0 comments on commit 81f2489

Please sign in to comment.