-
Notifications
You must be signed in to change notification settings - Fork 170
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
package_api_docs
false negative
#2630
Comments
See also #2731 for the |
The |
package_api_docs
false negative
Same here, package_api_docs does not work sometimes... |
As of #3395, this lint is essentially a no-op. Assuming interest, we could revisit I think given the new workspace support. Alternatively we should deprecate and remove. /fyi @bwilkerson @keertip |
What is the difference between |
#1373 😄 |
Steps to Reproduce
Create a new Dart project (designed to be a consumable package). Add the following contents to
analysis_options.yaml
In
lib
create a new file calleddate_utils.dart
with the following contents (lifted straight from the bad example at the page for the avoid_classes_with_only_static_members lint):Expected behaviour
Running
dart analyze
in the directory should complain of a violation of both avoid_classes_with_only_static_members and package_api_docs since:DateUtils
is a class with only static membersdate_utils.dart
file contains no doc comments and it's publicly accessible (since it lives inlib
)Actual behaviour
Run
dart analyze
in the directory and observe that no violations are found.Environment Information
Dart Version: 2.12.3
Operating System: Windows 10 64-bit
The text was updated successfully, but these errors were encountered: