Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kentcdodds/kcd-scripts
/ hereRelative
Function
hereRelative
src/scripts/lint.js:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
let
args = process.argv.slice(2)
7
const
here = p => path.join(__dirname, p)
8
const
hereRelative = p => here(p).replace(process.cwd(),
'.'
)
9
const
parsedArgs = yargsParser(args)
10
11
const
useBuiltinConfig =
Callers
1
lint.js
File · 0.70
Calls
1
here
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…