diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cdd533d..febec9f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ - avoid_unnecessary_type_casts - avoid_unrelated_type_assertions - avoid_unused_parameters + - avoid_using_api + Credits: getBoolean (https://github.com/getBoolean) - cyclomatic_complexity - double_literal_format - function_lines_of_code diff --git a/README.md b/README.md index f5dc1a1e..a9772c99 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,9 @@ domain folder: reason: "domain_models is only intended to be used in the domain layer." ``` + +Contributed by getBoolean (https://github.com/getBoolean). + ### Parameters: - **entries** (_List<AvoidUsingApiEntryParameters>_) A list of BannedCodeOption parameters. diff --git a/lib/lints/avoid_using_api/avoid_using_api_rule.dart b/lib/lints/avoid_using_api/avoid_using_api_rule.dart index 3b7e91b7..8714f2c4 100644 --- a/lib/lints/avoid_using_api/avoid_using_api_rule.dart +++ b/lib/lints/avoid_using_api/avoid_using_api_rule.dart @@ -61,6 +61,8 @@ import 'package:solid_lints/utils/path_utils.dart'; /// reason: "domain_models is only intended to be used in the domain /// layer." /// ``` +/// +/// Contributed by getBoolean (https://github.com/getBoolean). class AvoidUsingApiRule extends SolidLintRule { /// The [LintCode] of this lint rule that represents /// the error whether we use bad formatted double literals.