Add a lint rule to avoid using __dirname
This commit is contained in:
@@ -106,6 +106,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