Skip to content

Commit 21482f9

Browse files
author
David Brockman Smoliansky
authored
Merge pull request #195 from Springworks/await-improvements
Add no-return-await and require-await
2 parents 3adfae9 + 87c60f9 commit 21482f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ module.exports = {
115115
"no-regex-spaces": 2,
116116
"no-restricted-modules": [1, "bluebird", "chai", "should", "should-http", "should-promised", "should-sinon", "sinon", "sinon-chai"],
117117
"no-return-assign": [2, "always"],
118+
"no-return-await": 2,
118119
"no-script-url": 2,
119120
"no-self-compare": 2,
120121
"no-sequences": 2,
@@ -156,6 +157,7 @@ module.exports = {
156157
"prefer-template": 1,
157158
"quote-props": [2, "as-needed"],
158159
"quotes": [2, "single", "avoid-escape"],
160+
"require-await": 2,
159161
"require-yield": 2,
160162
"semi": [2, "always"],
161163
"semi-spacing": [2, { "before": false, "after": true }],

0 commit comments

Comments
 (0)