mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Added platform folder
This commit is contained in:
parent
0a3898eeb9
commit
09666d1269
1 changed files with 7 additions and 2 deletions
|
@ -240,7 +240,7 @@ function processChangesByOwners(ownerFilesMap) {
|
|||
for (const [owner] of Object.entries(ownerFilesMap)) {
|
||||
const rawOwner = owner.replaceAll(',', '_');
|
||||
const tempBranch = `temp/${process.env.ROUTE_TYPE}-eslint-changes-by-${rawOwner}`;
|
||||
const targetBranch = `authz-migration/${process.env.ROUTE_TYPE}-routes-${rawOwner}`;
|
||||
const targetBranch = `authz-migration/${process.env.ROUTE_TYPE}-routes-owner-${rawOwner}`;
|
||||
|
||||
if (rawOwner !== 'kibana-management') {
|
||||
console.log(`PR already exists for ${rawOwner}. Skipping.`);
|
||||
|
@ -338,7 +338,12 @@ function runESLint() {
|
|||
// runCommand(
|
||||
// `grep -rEl --include="*.ts" "router\.(get|post|delete|put)|router\.versioned\.(get|post|put|delete)" ./x-pack/plugins/ ./x-pack/packages/ | xargs env ${eslintRuleFlag} npx eslint --fix --rule "@kbn/eslint/no_deprecated_authz_config:error"`
|
||||
// );
|
||||
const directories = ['./x-pack/plugins', './x-pack/packages', './src/plugins'];
|
||||
const directories = [
|
||||
'./x-pack/plugins',
|
||||
'./x-pack/packages',
|
||||
'./src/plugins',
|
||||
'./src/platform',
|
||||
];
|
||||
// const directories = [
|
||||
// './x-pack/plugins/security_solution',
|
||||
// './x-pack/plugins/spaces',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue