File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
lib/lints/avoid_using_api Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1111 - avoid_unnecessary_type_casts
1212 - avoid_unrelated_type_assertions
1313 - avoid_unused_parameters
14+ - avoid_using_api
15+ Credits: getBoolean (https://github.com/getBoolean )
1416 - cyclomatic_complexity
1517 - double_literal_format
1618 - function_lines_of_code
Original file line number Diff line number Diff line change @@ -428,6 +428,9 @@ domain folder:
428428 reason : " domain_models is only intended to be used in the domain
429429 layer."
430430 ` ` `
431+
432+ Contributed by getBoolean (https://github.com/getBoolean).
433+
431434### Parameters:
432435- **entries** (_List<AvoidUsingApiEntryParameters>_)
433436 A list of BannedCodeOption parameters.
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ import 'package:solid_lints/utils/path_utils.dart';
6161/// reason: "domain_models is only intended to be used in the domain
6262/// layer."
6363/// ```
64+ ///
65+ /// Contributed by getBoolean (https://github.com/getBoolean).
6466class AvoidUsingApiRule extends SolidLintRule <AvoidUsingApiParameters > {
6567 /// The [LintCode] of this lint rule that represents
6668 /// the error whether we use bad formatted double literals.
You can’t perform that action at this time.
0 commit comments