pt_linter 0.2.1 copy "pt_linter: ^0.2.1" to clipboard
pt_linter: ^0.2.1 copied to clipboard

SDKDart
outdated

An analyzer plugin to extend lint rules.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pt_linter

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pt_linter: ^0.2.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pt_linter/analysis_options.dart';
import 'package:pt_linter/checker.dart';
import 'package:pt_linter/exclude_path_checker.dart';
import 'package:pt_linter/logger/log.dart';
import 'package:pt_linter/pt_intl_plugin.dart';
import 'package:pt_linter/rtl_widget_finder.dart';
import 'package:pt_linter/starter.dart';
import 'package:pt_linter/string_literal_finder.dart';