Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 0fae4ee

Browse files
authored
update lint files docs (#88)
1 parent 8294e56 commit 0fae4ee

File tree

7 files changed

+37
-7
lines changed

7 files changed

+37
-7
lines changed

.github/dependabot.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Dependabot configuration file.
2+
version: 2
3+
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "monthly"

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
2525

2626
- name: Check for sources
2727
run: |

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.0.1
2+
3+
- Updated documentation for the `lib/core.yaml` and `lib/recommended.yaml`
4+
analysis configurations.
5+
16
## 2.0.0
27

38
- Added the following lints to core.yaml:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
[![pub package](https://img.shields.io/pub/v/lints.svg)](https://pub.dev/packages/lints)
21
[![Build Status](https://github.com/dart-lang/lints/workflows/validate/badge.svg)](https://github.com/dart-lang/lints/actions?query=branch%3Amain)
2+
[![pub package](https://img.shields.io/pub/v/lints.svg)](https://pub.dev/packages/lints)
3+
[![package publisher](https://img.shields.io/pub/publisher/lints.svg)](https://pub.dev/packages/lints/publisher)
34

45
# Official Dart lint rules
56

lib/core.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This is a set of core lints used to identify critical issues. See
2+
# https://github.com/dart-lang/lints for more information.
3+
#
4+
# For documentation about customizing static analysis for your project, see
5+
# https://dart.dev/guides/language/analysis-options.
6+
17
linter:
28
rules:
39
- avoid_empty_else

lib/recommended.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# This set of lints builds on top of `package:lints/core.yaml`; it includes
2+
# lints that help identify additional issues that may lead to problems when
3+
# running or consuming Dart code, as well as lints that enforce writing Dart
4+
# using a single, idiomatic style. See https://github.com/dart-lang/lints for
5+
# more information.
6+
#
7+
# For documentation about customizing static analysis for your project, see
8+
# https://dart.dev/guides/language/analysis-options.
9+
110
include: package:lints/core.yaml
211

312
linter:

pubspec.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: lints
2-
description: Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team.
3-
homepage: https://github.com/dart-lang/lints
2+
version: 2.0.1
3+
description: >
4+
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
5+
suggested by the Dart team.
46
repository: https://github.com/dart-lang/lints
5-
version: 2.0.0
67

78
environment:
8-
sdk: '>=2.17.0-206.0.dev <3.0.0'
9+
sdk: '>=2.17.0 <3.0.0'
910

11+
# NOTE: Code is not allowed in this package. Do not add dependencies.
1012
# dependencies:
1113
# dev_dependencies:
12-
# NOTE: Code is not allowed in this package. Do not add dependencies.

0 commit comments

Comments
 (0)