Search packages, repositories and app categories

Package detailsv1.3.0

linteo

Flutter and Dart lint rules used at iteo

AndroidiOSWebmacOSWindowsLinux
30-day downloads
382
Likes
30
Pub points
150

Install package

flutter pub add linteo

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Linteо is a Flutter and Dart linter package developed and used internally at iteo, providing a consistent set of coding standards and best practices. It enforces code quality through predefined lint rules that help maintain clean, readable, and maintainable code across projects. The package is designed for teams seeking uniformity in code style and structure, especially within the iteo ecosystem. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. By integrating linteo, developers can catch common issues early and improve collaboration through standardized code reviews.

Use cases

  • Enforcing team-wide code style
  • Maintaining consistency across multi-platform apps
  • Automating code quality checks
  • Supporting CI/CD pipelines
  • Improving onboarding for new developers

Key features

  • Predefined lint rules from iteo's standards
  • Cross-platform compatibility
  • Easy integration via pub add
  • Regularly updated to reflect best practices
  • Seamless with Flutter and Dart tooling

Suitable for

  • Flutter development teams
  • Organizations using standardized coding practices
  • Projects requiring strict code quality
  • CI/CD environments
  • Teams adopting shared linting conventions

Considerations

  • Requires understanding of Dart linting rules
  • May need customization for non-iteo workflows
  • Depends on GitHub-hosted source
  • Not suitable for standalone applications without configuration
  • Best used in collaborative development settings

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

linteo

License: MIT style: linteo


Provides set of Flutter and Dart linter rules used at iteo. By default, package enables all available lint rules (all_lint_rules.yaml) and disables some of them upon team agreement.

Install

  1. Depend on this package as a dev_dependency by running flutter pub add --dev linteo
  2. Create analysis_options.yaml file at the root of the package (alongside the pubspec.yaml file) and include: package:linteo/analysis_options.yaml from it.

Which version to use?

Dart Version Linteo Version
3.1 1.3.0
2.17 1.2.0
2.17 1.1.0
2.17 1.0.1
2.18 1.0.0
Example analysis_options.yaml file
include: package:linteo/analysis_options.yaml

linter:
  rules:
    # Adjust package to specific project needs
    # package_api_docs: true  # Uncomment to enable rule

Suppress lint

Your project may require special case. Lint rules can be suppressed at the line, file, or project level.

Line Level

Use an ignore: comment directly above the line

// ignore: public_member_api_docs
class A {}
File level

Use an ignore_for_file: comment at the top of the file


// ignore_for_file: public_member_api_docs

class A {}

class B {}
Project Level

Update root analysis_options.yaml according to your needs:

include: package:linteo/analysis_options.yaml
linter:
  rules:
    public_member_api_docs: true

Badge

Support the project using a badge in your repository

style:linteo

Categories

Source repository

Projects using this package