Merge pull request #2684 from themousepotato/lintrule-dirname-fix
Add a lint rule to avoid using __dirname
This commit is contained in:
@@ -101,6 +101,7 @@ const main = (argv: string[]) => {
|
||||
|
||||
// Local Backstage Preview
|
||||
const techdocsPreviewBundlePath = path.join(
|
||||
/* eslint-disable-next-line no-restricted-syntax */
|
||||
__dirname,
|
||||
'..',
|
||||
'dist',
|
||||
|
||||
Reference in New Issue
Block a user