-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Update shared api-extractor lint config to enable enforcement #18791
build: Update shared api-extractor lint config to enable enforcement #18791
Conversation
Waiting for the next release to be cut before merging. |
@@ -45,7 +45,7 @@ | |||
// This is the primary error we are looking for with the linter pass. | |||
// Ensure that release tags of API members are compatible **across package boundaries**. | |||
"ae-incompatible-release-tags": { | |||
"logLevel": "none", // TODO: change to "error" once we are ready to start enforcing repo-wide | |||
"logLevel": "error", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reviewers: this is the primary change. Set as an error now, so all configs extending this can remove the override.
nit on the pr title: maybe api-extractor instead of lint? Not sure that's better or more accurate. |
"extends": "../../../common/build/build-common/api-extractor-lint.json" | ||
"extends": "../../../common/build/build-common/api-extractor-lint.json", | ||
"messages": { | ||
"extractorMessageReporting": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was necessary - tree2 was the only package explicitly not linting cross-package compat.
⯅ @fluid-example/bundle-size-tests: +14 Bytes
Baseline commit: 600c2be |
Also removes package-local overrides, which are no longer necessary