chore(deps): remove @backstage/backend-common
Signed-off-by: ShaoWei Teo <tookunokaze@gmail.com>
This commit is contained in:
@@ -5,13 +5,13 @@ module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
|
||||
name: 'path',
|
||||
importNames: ['resolve'],
|
||||
message:
|
||||
'Do not use path.resolve, use `resolveSafeChildPath` from `@backstage/backend-common` instead as it prevents security issues',
|
||||
'Do not use path.resolve, use `resolveSafeChildPath` from `@backstage/backend-plugin-api` instead as it prevents security issues',
|
||||
},
|
||||
],
|
||||
restrictedSrcSyntax: [
|
||||
{
|
||||
message:
|
||||
'Do not use path.resolve, use `resolveSafeChildPath` from `@backstage/backend-common` instead as it prevents security issues',
|
||||
'Do not use path.resolve, use `resolveSafeChildPath` from `@backstage/backend-plugin-api` instead as it prevents security issues',
|
||||
selector: 'MemberExpression[object.name="path"][property.name="resolve"]',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user