Skip to content

Commit c761e4c

Browse files
Merge pull request #23 from brianpattison/FAF-211-async-without-await
FAF-211: Add rule for requiring await when an async function is used
2 parents c2fc3a5 + b93a1cd commit c761e4c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ module.exports = {
118118
"react/jsx-no-literals": 1,
119119
"react/jsx-sort-props": [1, { "ignoreCase": true }],
120120
"react/jsx-uses-vars": 1,
121+
"require-await": "error",
121122
"sort-class-members/sort-class-members": [
122123
2,
123124
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-simplymadeapps",
3-
"version": "1.5.7",
3+
"version": "1.5.8",
44
"description": "ESLint config for Simply Made Apps",
55
"homepage": "https://github.com/simplymadeapps/eslint-config-simplymadeapps",
66
"license": "MIT",

0 commit comments

Comments
 (0)