Skip to content

Commit

Permalink
Disables no-return-await rule in core (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpw authored Feb 12, 2021
1 parent 3766210 commit ddf85f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# History

## 4.0.3 (2021-02-12)

* Disables `no-return-await` rule in core as v8 changes render `return await` useful

## 4.0.2 (2020-09-30)

* Disables `unicorn/prefer-dataset` rule as Element.dataset not supported by ie10


## 4.0.1 (2020-02-18)

* Switch off `unicorn/prefer-node-append` rule for IE support
Expand Down
2 changes: 1 addition & 1 deletion configurations/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports = {
'no-restricted-modules': ['error', 'domain', 'freelist', 'smalloc', 'sys', 'colors'],
'no-restricted-syntax': ['error', 'WithStatement'],
'no-return-assign': ['error', 'always'],
'no-return-await': 'error',
'no-return-await': 'off',
'no-script-url': 'error',
'no-self-assign': ['error', {
'props': true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@springernature/eslint-config",
"version": "4.0.2",
"version": "4.0.3",
"description": "ESLint shareable config used at Springer Nature",
"license": "",
"repository": "springernature/eslint-config-springernature",
Expand Down

0 comments on commit ddf85f4

Please sign in to comment.