Search packages, repositories and app categories

Package detailsv4.0.0

surf_lint_rules

Lint rules for "Surf" company for Dart and Flutter projects.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.8K
Likes
57
Pub points
150

Install package

flutter pub add surf_lint_rules

Package Overview

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

A collection of custom lint rules tailored for Dart and Flutter projects at Surf, a software development company. These rules enforce consistent code style, improve code quality, and align with Surf's internal best practices. The package integrates seamlessly into Flutter workflows via the pub package manager and is designed to work across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It helps teams maintain clean, readable, and maintainable codebases by catching common issues early in development.

Use cases

  • Enforcing team-wide coding standards
  • Improving code readability and consistency
  • Automating code quality checks in CI/CD pipelines
  • Supporting large-scale Flutter project maintenance
  • Integrating with existing linter configurations

Key features

  • Custom lint rules specific to Surf's guidelines
  • Cross-platform compatibility
  • Easy integration via pub add
  • Extensible rule configuration
  • Comprehensive documentation in GitHub repository

Suitable for

  • Flutter teams at Surf or similar organizations
  • Projects requiring strict code quality control
  • Teams adopting standardized linting practices
  • CI/CD environments needing automated code analysis
  • Developers focused on long-term codebase health

Considerations

  • Requires Dart SDK version compatibility
  • May need customization for non-Surf teams
  • Depends on the broader linter package
  • Not suitable for projects without linting infrastructure
  • Rules may evolve with Surf’s internal standards

Original README

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

Surf Lint Rules

Build Status Pub Version Pub Likes Pub popularity Dart Platform Flutter Platform

Overview

Lint rules used by Surf.

Const rules
Error rules
Style rules
Pub rules
Analyzer. Errors

Installation

Add surf_lint_rules as dependency to your pubspec.yaml

dependencies:
  surf_lint_rules: $currentVersion$

At this moment, the current version of surf_lint_rules is surf_lint_rules version.

Example

You can use both stable and dev versions of the package listed above in the badges bar.

Create analysis_options.yaml file

include: package:surf_lint_rules/analysis_options.yaml

See the dartanalyzer executing the lint checks in you favorite editor.

Changelog

All notable changes to this project will be documented in this file.

Issues

To report your issues, file directly in the Issues section.

Contribute

If you would like to contribute to the package (e.g. by improving the documentation, fixing a bug or adding a cool new feature), please read our contribution guide first and send us your pull request.

Your PRs are always welcome.

How to reach us

Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.

Telegram

License

Apache License, Version 2.0

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package