# Lint Hard

> Every non-clashing Dart lint plus strict type checks, as a drop-in lints package

Source: https://talira.ai/catalog/lint-hard-ygx8aq2y
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [S. Brett Sutton](https://talira.ai/orgs/s-brett-sutton.md)

Lint Hard (the lint_hard package) is a Dart and Flutter lint set that turns on every Dart lint that doesn't clash with another, plus the analyzer's strict-casts, strict-inference and strict-raw-types checks, so more runtime errors become compile-time errors. It's a drop-in replacement for pedantic, lints and flutter_lints, and adds its own analyzer plugin lints, such as checking that thrown exceptions are documented and that fields come before constructors.

## Links

- GitHub: https://github.com/onepub-dev/lint_hard

## Problems it solves

- turn on the strictest sensible set of lints for my Dart or Flutter project
- catch more type errors at compile time in Dart instead of at runtime
- make sure the exceptions my Dart functions throw are documented

## Features

- every non-clashing Dart lint in package:lint_hard/all.yaml
- strict-casts, strict-inference and strict-raw-types turned on
- analyzer plugin lints for documented thrown exceptions and field-then-constructor order
- drop-in replacement for pedantic, lints and flutter_lints

## Trust

Overall: 0.26 out of 1.
Signals: maintenance 0.45, adoption 0.10, momentum 0.00, community 0.38, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- 2 GitHub stars
- 8 contributors
- backed by S. Brett Sutton

## Alternatives

- [flutter_lints](https://talira.ai/catalog/flutter-lints-artejjed.md): Recommended lints for Flutter apps, packages and plugins
- [lints (Dart)](https://talira.ai/catalog/lints-dart-4xp1y8q7.md): The Dart team's official core and recommended lint sets
- [extra_pedantic](https://talira.ai/catalog/extra-pedantic-gf6dr8hk.md): Stricter Dart analyzer lint settings
- [lint (Dart)](https://talira.ai/catalog/lint-dart-n6sdde3c.md): Stricter, hand-picked lint rules for Dart and Flutter projects
- [pedantic_mono](https://talira.ai/catalog/pedantic-mono-4m0404h0.md): Stricter recommended lint rules for Flutter and Dart projects

## Sources

[^1]: https://github.com/onepub-dev/lint_hard/blob/main/lint_hard/README.md (checked 29 Nov 2026)
[^2]: https://github.com/onepub-dev/lint_hard/blob/main/lint_hard/LICENSE (checked 29 Nov 2026)
[^3]: https://github.com/onepub-dev/lint_hard/blob/main/lint_hard/pubspec.yaml (checked 29 Nov 2026)
