Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Can't disable a custom lint #361

@ChaserVasya

Description

@ChaserVasya

Describe the bug
Can't disable custom lint

To Reproduce

lib/main.dart

void main(){
  DateTime.now();
}

analysis_options.yaml

include: package:altive_lints/altive_lints.yaml

analyzer:
  plugins:
    - custom_lint

custom_lint:
  rules:
    - prefer_clock_now: false

pubspec.yaml

dev_dependencies:
  custom_lint: 0.8.0
  altive_lints: 1.23.0

fvm flutter --version

Flutter 3.32.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fcf2c11572 (4 months ago) • 2025-06-24 11:44:07 -0700
Engine • revision dd93de6fb1 (4 months ago) • 2025-06-24 07:39:37 -0700
Tools • Dart 3.8.1 • DevTools 2.45.1

Expected behavior
no warnings

Actual behavior

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions