An open API service indexing awesome lists of open source software.

https://github.com/solid-software/solid_lints

🟧 Lints for Dart and Flutter based on software industry standards and best practices.
https://github.com/solid-software/solid_lints

Last synced: 2 months ago
JSON representation

🟧 Lints for Dart and Flutter based on software industry standards and best practices.

Awesome Lists containing this project

README

          

# Solid Lints
[![style: solid](https://img.shields.io/badge/style-solid-orange)](https://pub.dev/packages/solid_lints)
[![$solid_lints](https://nokycucwgzweensacwfy.supabase.co/functions/v1/get_project_badge?projectId=211)](https://nokycucwgzweensacwfy.supabase.co/functions/v1/get_project_url?projectId=211)

Flutter/Dart lints configuration based on software engineering industry standards (ISO/IEC, NIST) and best practices.

# Documentation

For more detailed information and guidelines on using Solid Lints, please refer to the documentation:
* https://lints.solid.software

# Usage

Add dependency in your pubspec.yaml:

```yaml
dev_dependencies:
solid_lints:
```

And then include `solid_lints` into your project top-level `analysis_options.yaml`:

```yaml
include: package:solid_lints/analysis_options.yaml
```

Also you can use a specialized rule set designed for Dart tests.
Add an `analysis_options.yaml` file under the `test/` directory, and include the ruleset:

```yaml
include: package:solid_lints/analysis_options_test.yaml
```

Then you can see suggestions in your IDE or you can run checks manually:

```bash
dart analyze;
dart run custom_lint;
```

# Badge

To indicate that your project is using Solid Lints, you can use the following badge:

```markdown
[![style: solid](https://img.shields.io/badge/style-solid-orange)](https://pub.dev/packages/solid_lints)
```