Skip to content

Commit

Permalink
exempt from readme linter rule, i think
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Dec 28, 2022
1 parent a441da5 commit c1f0b28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/@aws-cdk/pkglint/lib/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ export class ReadmeFile extends ValidationRule {
if (!scopes) {
return;
}
if (pkg.packageName === '@aws-cdk/core') {
// elasticsearch is renamed to opensearch service, so its readme does not follow these rules
if (pkg.packageName === '@aws-cdk/core' || pkg.packageName === '@aws-cdk/aws-elasticsearch') {
return;
}
const scope: string = typeof scopes === 'string' ? scopes : scopes[0];
Expand Down

0 comments on commit c1f0b28

Please sign in to comment.