Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db3b330

Browse files
committedJul 20, 2024·
Switch to mgenware_dart_lints
1 parent 993adec commit db3b330

File tree

3 files changed

+4
-31
lines changed

3 files changed

+4
-31
lines changed
 

‎analysis_options.yaml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
# This file configures the static analysis results for your project (errors,
2-
# warnings, and lints).
3-
#
4-
# This enables the 'recommended' set of lints from `package:lints`.
5-
# This set helps identify many issues that may lead to problems when running
6-
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
7-
# style and format.
8-
#
9-
# If you want a smaller set of lints you can change this to specify
10-
# 'package:lints/core.yaml'. These are just the most critical lints
11-
# (the recommended set includes the core lints).
12-
# The core lints are also what is used by pub.dev for scoring packages.
13-
14-
include: package:lints/recommended.yaml
15-
16-
# Uncomment the following section to specify additional rules.
17-
18-
# linter:
19-
# rules:
20-
# - camel_case_types
21-
22-
# analyzer:
23-
# exclude:
24-
# - path/to/excluded/files/**
25-
26-
# For more information about the core and recommended set of lints, see
27-
# https://dart.dev/go/core-lints
28-
29-
# For additional information about configuring this file, see
30-
# https://dart.dev/guides/language/analysis-options
1+
include: package:mgenware_dart_lints/lints.yaml

‎example/random_access_source_example.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore_for_file: avoid_print
2+
13
import 'dart:typed_data';
24

35
import 'package:random_access_source/random_access_source.dart';

‎pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ dependencies:
1111
# path: ^1.8.0
1212

1313
dev_dependencies:
14-
lints: ^3.0.0
14+
mgenware_dart_lints: ^6.5.2
1515
test: ^1.24.0
1616
tmp_path: ^1.3.1

0 commit comments

Comments
 (0)
Please sign in to comment.