diff --git a/index.js b/index.js index 7ab5bbe..31c2ca6 100644 --- a/index.js +++ b/index.js @@ -7,6 +7,7 @@ module.exports = { 'standard', 'prettier', 'eslint:recommended', + 'plugin:promise/recommended' 'plugin:@typescript-eslint/recommended-type-checked', ], parser: '@typescript-eslint/parser', diff --git a/package.json b/package.json index e2f1b65..7209e91 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "peerDependencies": { "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.7.5", "eslint": "^7.0.0 || ^8.51.0", + "eslint-plugin-promise": "^7.1.0", "eslint-plugin-simple-import-sort": "^10.0.0" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 2fd5182..3a777fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,11 @@ eslint-config-standard@^17.1.0: resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz#40ffb8595d47a6b242e07cbfd49dc211ed128975" integrity sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q== +eslint-plugin-promise@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-7.1.0.tgz#06b3ad6d36b3c3ef3ec201c8a8d97049cf5dbb20" + integrity sha512-8trNmPxdAy3W620WKDpaS65NlM5yAumod6XeC4LOb+jxlkG4IVcp68c6dXY2ev+uT4U1PtG57YDV6EGAXN0GbQ== + prettier@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"