Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
10
node_modules/eslint-plugin-github/lib/url.js
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/lib/url.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const {homepage, version} = require('../package.json')
|
||||
const path = require('path')
|
||||
// eslint-disable-next-line eslint-plugin/prefer-object-rule
|
||||
module.exports = ({id}) => {
|
||||
const url = new URL(homepage)
|
||||
const rule = path.basename(id, '.js')
|
||||
url.hash = ''
|
||||
url.pathname += `/blob/v${version}/docs/rules/${rule}.md`
|
||||
return url.toString()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue