Skip to content

Commit 0f72ae0

Browse files
committed
Fix eslint-plugin-promise docs location
eslint-community/eslint-plugin-promise#112
1 parent b8638a1 commit 0f72ae0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"no-use-extend-native": "dustinspecker",
2828
"node": "mysticatea",
2929
"prettier": "https://github.com/prettier/eslint-plugin-prettier#options",
30-
"promise": "https://github.com/xjamundx/eslint-plugin-promise#RULENAME",
30+
"promise": "xjamundx",
3131
"protractor": "alecxe",
3232
"react": "yannickcr",
3333
"react-native": "Intellicode",

test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ test('should return url of found plugin rules', t => {
5050
t.deepEqual(getRuleURI('promise/no-native'),
5151
{
5252
found: true,
53-
url: 'https://github.com/xjamundx/eslint-plugin-promise#no-native'
53+
url: 'https://github.com/xjamundx/eslint-plugin-promise/blob/master/docs/rules/no-native.md'
5454
});
5555
t.deepEqual(getRuleURI('promise/catch-or-return'),
5656
{
5757
found: true,
58-
url: 'https://github.com/xjamundx/eslint-plugin-promise#catch-or-return'
58+
url: 'https://github.com/xjamundx/eslint-plugin-promise/blob/master/docs/rules/catch-or-return.md'
5959
});
6060
t.deepEqual(getRuleURI('standard/array-bracket-even-spacing'),
6161
{

0 commit comments

Comments
 (0)