Skip to content

Commit a23734e

Browse files
committed
Use homepage instead of repo url.
1 parent 674e20e commit a23734e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/util/createRule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ function createRule(filename) {
3030

3131
module.exports = {
3232
createRule
33-
}
33+
};

lib/util/doc-url.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
'use strict';
99

10-
const { version, repository } = require('../../package.json');
10+
const { version, homepage } = require('../../package.json');
1111

1212
function docUrl(ruleName) {
13-
return `${repository.url}/blob/${version}/lib/docs/${ruleName}.md`;
13+
return `${homepage}/blob/${version}/lib/docs/${ruleName}.md`;
1414
}
1515

1616
module.exports = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"license": "MIT",
3333
"repository": {
3434
"type": "git",
35-
"url": "https://github.com/salesforce/eslint-plugin-lwc-graph-analyzer"
35+
"url": "https://github.com/salesforce/eslint-plugin-lwc-graph-analyzer.git"
3636
},
3737
"main": "lib/index.js",
3838
"directories": {

0 commit comments

Comments
 (0)