From 17a6034f997dd2902a1b86894e89ba589c2368c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Fri, 23 Sep 2022 16:37:54 +0200 Subject: [PATCH] fix: update repo link --- CHANGELOG.md | 28 ++++++++++++++-------------- CONTRIBUTING.md | 10 +++++----- package.json | 9 ++++++--- rules/lib/get-docs-url.js | 2 +- rules/no-native.js | 2 +- 5 files changed, 27 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0fa14c0..3e40cb4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ - Included `catch()` and `finally()` in `prefer-await-to-then` #196 - Added some additional tests and upgraded some dev deps #196 - Exempted array methods in prefer-await-to-callbacks - ([#212](https://github.com/xjamundx/eslint-plugin-promise/issues/212)) + ([#212](https://github.com/eslint-community/eslint-plugin-promise/issues/212)) ## 5.0.0 @@ -37,7 +37,7 @@ ## 4.3.0 -- https://github.com/xjamundx/eslint-plugin-promise/pull/202 +- https://github.com/eslint-community/eslint-plugin-promise/pull/202 - Udpated jest ## 4.2.2 @@ -52,14 +52,14 @@ ## 4.0.1 - Remove `promise/param-names` fixer - ([#146](https://github.com/xjamundx/eslint-plugin-promise/pull/146)) + ([#146](https://github.com/eslint-community/eslint-plugin-promise/pull/146)) ## 4.0.0 - Added fixer for `promise/no-new-statics` rule - ([#133](https://github.com/xjamundx/eslint-plugin-promise/pull/133)) + ([#133](https://github.com/eslint-community/eslint-plugin-promise/pull/133)) - Support ESLint v5 - ([#144](https://github.com/xjamundx/eslint-plugin-promise/pull/144)) + ([#144](https://github.com/eslint-community/eslint-plugin-promise/pull/144)) This is a breaking change that drops support for Node v4. In order to use ESLint v5 and eslint-plugin-promise v4, you must use Node >=6. @@ -67,25 +67,25 @@ v5 and eslint-plugin-promise v4, you must use Node >=6. ## 3.8.0 - Removed `promise/avoid-new` from recommended configuration - ([#119](https://github.com/xjamundx/eslint-plugin-promise/pull/119)) + ([#119](https://github.com/eslint-community/eslint-plugin-promise/pull/119)) - Ignored event listener callbacks in `promise/prefer-await-to-callbacks` - ([#117](https://github.com/xjamundx/eslint-plugin-promise/pull/117)) + ([#117](https://github.com/eslint-community/eslint-plugin-promise/pull/117)) - Ignored top-level awaits in `promise/prefer-await-to-then` - ([#126](https://github.com/xjamundx/eslint-plugin-promise/pull/126)) + ([#126](https://github.com/eslint-community/eslint-plugin-promise/pull/126)) - Added docs for `promise/no-nesting` and `promise/prefer-await-to-then` - ([#120](https://github.com/xjamundx/eslint-plugin-promise/pull/120)) - ([#121](https://github.com/xjamundx/eslint-plugin-promise/pull/121)) + ([#120](https://github.com/eslint-community/eslint-plugin-promise/pull/120)) + ([#121](https://github.com/eslint-community/eslint-plugin-promise/pull/121)) ## 3.7.0 - Added `promise/valid-params` rule - ([#85](https://github.com/xjamundx/eslint-plugin-promise/pull/85)) + ([#85](https://github.com/eslint-community/eslint-plugin-promise/pull/85)) - Added `promise/no-new-statics` rule - ([#82](https://github.com/xjamundx/eslint-plugin-promise/pull/82)) + ([#82](https://github.com/eslint-community/eslint-plugin-promise/pull/82)) - Added fixer for `promise/param-names` rule - ([#99](https://github.com/xjamundx/eslint-plugin-promise/pull/99)) + ([#99](https://github.com/eslint-community/eslint-plugin-promise/pull/99)) - Added rule documentation to each rule - ([#91](https://github.com/xjamundx/eslint-plugin-promise/pull/91)) + ([#91](https://github.com/eslint-community/eslint-plugin-promise/pull/91)) ## 3.6.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cde1612c..5db52489 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,22 +41,22 @@ We're always looking for more opinions on discussions in the issue tracker. It's a good opportunity to influence the future direction of this tool. The -[`question` label](https://github.com/xjamundx/eslint-plugin-promise/labels/question) +[`question` label](https://github.com/eslint-community/eslint-plugin-promise/labels/question) is a good place to find ongoing discussions. ### Write code You can use issue labels to discover issues you could help out with: -- [`bug` issues](https://github.com/xjamundx/eslint-plugin-promise/labels/bug) +- [`bug` issues](https://github.com/eslint-community/eslint-plugin-promise/labels/bug) are known bugs we'd like to fix -- [`enhancement` issues](https://github.com/xjamundx/eslint-plugin-promise/labels/enhancement) +- [`enhancement` issues](https://github.com/eslint-community/eslint-plugin-promise/labels/enhancement) are features we're open to including The -[`help wanted`](https://github.com/xjamundx/eslint-plugin-promise/labels/help%20wanted) +[`help wanted`](https://github.com/eslint-community/eslint-plugin-promise/labels/help%20wanted) and -[`good first issue`](https://github.com/xjamundx/eslint-plugin-promise/labels/good%20first%20issue) +[`good first issue`](https://github.com/eslint-community/eslint-plugin-promise/labels/good%20first%20issue) labels are especially useful. You may find an issue is assigned. Please double-check before starting on this diff --git a/package.json b/package.json index dc5e2934..7fbee5f0 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,12 @@ "Brett Zamir", "Aadit M Shah (https://aadit.codes/)" ], - "repository": "https://github.com/xjamundx/eslint-plugin-promise", - "homepage": "https://github.com/xjamundx/eslint-plugin-promise", - "bugs": "https://github.com/xjamundx/eslint-plugin-promise/issues", + "repository": { + "type": "git", + "url": "https://github.com/eslint-community/eslint-plugin-promise" + }, + "homepage": "https://github.com/eslint-community/eslint-plugin-promise", + "bugs": "https://github.com/eslint-community/eslint-plugin-promise/issues", "scripts": { "format": "prettier --write .", "lint": "eslint .", diff --git a/rules/lib/get-docs-url.js b/rules/lib/get-docs-url.js index 9410f3ed..87b9a6fa 100644 --- a/rules/lib/get-docs-url.js +++ b/rules/lib/get-docs-url.js @@ -1,6 +1,6 @@ 'use strict' -const REPO_URL = 'https://github.com/xjamundx/eslint-plugin-promise' +const REPO_URL = 'https://github.com/eslint-community/eslint-plugin-promise' /** * Generates the URL to documentation for the given rule name. It uses the diff --git a/rules/no-native.js b/rules/no-native.js index 67ad46b9..b77716eb 100644 --- a/rules/no-native.js +++ b/rules/no-native.js @@ -48,7 +48,7 @@ module.exports = { const leftToBeResolved = scope.implicit.left || /** - * Fixes https://github.com/xjamundx/eslint-plugin-promise/issues/205. + * Fixes https://github.com/eslint-community/eslint-plugin-promise/issues/205. * The problem was that @typescript-eslint has a scope manager * which has `leftToBeResolved` instead of the default `left`. */