diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 584d4ef4..0b3cffd8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -11,7 +11,7 @@ concurrency: jobs: format: - if: github.repository == 'eslint-community/eslint-plugin/promise' + if: github.repository == 'eslint-community/eslint-plugin-promise' runs-on: ubuntu-latest steps: diff --git a/docs/rules/avoid-new.md b/docs/rules/avoid-new.md index 81004ea9..9e360628 100644 --- a/docs/rules/avoid-new.md +++ b/docs/rules/avoid-new.md @@ -23,7 +23,7 @@ Examples of **incorrect** code for this rule: function promisifiedFn(arg) { return new Promise((resolve, reject) => { callbackStyleFn(arg, (error, result) => - error ? reject(error) : resolve(result) + error ? reject(error) : resolve(result), ) }) }