innim_lint 0.2.0 copy "innim_lint: ^0.2.0" to clipboard
innim_lint: ^0.2.0 copied to clipboard

outdated

The Dart analyzer settings and linter rules used at Innim for Dart and Flutter projects. Stricter than pedantic.

innim_lint #

pub package

This package contains analysis settings for Flutter/Dart projects and packages by Innim team.

It's stricter than pedantic.

See Customizing static analysis.

Usage #

To use the lints add a dependency in your pubspec.yaml:

# If you use `unawaited()` in code, add a normal dependency.
dependencies:
  innim_lint: ^1.0.0

# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
dev_dependencies:
  innim_lint: ^1.0.0

then, add an include in your analysis_options.yaml:

include: package:innim_lint/analysis_options.yaml

Disable some rules #

You can disable some rules in your project. Add in your analysis_options.yaml:

linter:
  rules:
    prefer_single_quotes: false

Exclude from analysis #

You can exculde some files from analysis - see Excluding code from analysis.

By default all generated code (files with .g.dart suffix) will be excluded with this analysis settings.

4
likes
0
pub points
57%
popularity

Publisher

verified publisherinnim.ru

The Dart analyzer settings and linter rules used at Innim for Dart and Flutter projects. Stricter than pedantic.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

pedantic

More

Packages that depend on innim_lint