Skip to content

Commit

Permalink
async linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Feb 1, 2020
1 parent 4052a5b commit 8a76edd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2018
"ecmaVersion": 2017
},

"env": { "node": true, "es6": true },
"plugins": ["@typescript-eslint", "prettier", "node"],
"plugins": ["@typescript-eslint", "prettier", "node", "async-await"],
"rules": {
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/camelcase": 0,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-async-await": "^0.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"prettier": "^1.19.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,11 @@ eslint-config-prettier@^6.10.0:
dependencies:
get-stdin "^6.0.0"

eslint-plugin-async-await@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-async-await/-/eslint-plugin-async-await-0.0.0.tgz#0f2ae17a3814780635d48f2409df9e37898ca09f"
integrity sha1-DyrhejgUeAY11I8kCd+eN4mMoJ8=

eslint-plugin-es@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.0.tgz#98cb1bc8ab0aa807977855e11ad9d1c9422d014b"
Expand Down

0 comments on commit 8a76edd

Please sign in to comment.