You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your package seems great but I cannot start the linter because i'm constantly getting the error :
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_avoid_nesting_rule.dart:10:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_avoid_within_class_rule.dart:12:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_callback_consideration_rule.dart:12:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_extends_rule.dart:12:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_memoized_consideration_rule.dart:11:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_name_convention_rule.dart:12:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
/.pub-cache/hosted/pub.dev/flutter_hooks_lint-1.2.0/lib/src/rules/hooks_unuse_widget_rule.dart:12:24: Error: 'LintCode' is imported from both 'package:analyzer/src/dart/error/lint_codes.dart' and 'package:custom_lint_core/src/lint_codes.dart'.
static const _code = LintCode(
^^^^^^^^
It seems there is a conflict between 2 libraries.
The text was updated successfully, but these errors were encountered:
Thank you for using the flutter_hooks_lint package! 🙌 We’ve just released version v1.2.1, which includes a fix for a bug related to LintCode. We’d appreciate it if you could take a look when you have a moment! 🚶 💭 @kylianSalomon https://pub.dev/packages/flutter_hooks_lint
Hello,
Your package seems great but I cannot start the linter because i'm constantly getting the error :
It seems there is a conflict between 2 libraries.
The text was updated successfully, but these errors were encountered: