Skip to content

Commit

Permalink
1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Carapacik committed Aug 6, 2024
1 parent dc09d49 commit 1a2f591
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 18 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.9.0
* Update minimum Dart SDK version to 3.5
* Add lints:
* [`document_ignores`](https://dart.dev/tools/linter-rules/document_ignores)
* [`invalid_runtime_check_with_js_interop_types`](https://dart.dev/tools/linter-rules/invalid_runtime_check_with_js_interop_types)
* [`unnecessary_library_name`](https://dart.dev/tools/linter-rules/unnecessary_library_name)

## 1.8.1
* Remove lints:
* [`unintended_html_in_doc_comment`](https://dart.dev/tools/linter-rules/unintended_html_in_doc_comment)
Expand Down
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,29 @@ This package contains a recommended set of lints for Flutter apps, packages, and
## Install

Add `carapacik_lints` as dev dependency to your `pubspec.yaml`.

```yaml
dev_dependencies:
carapacik_lints: ^1.8.1
carapacik_lints: ^1.9.0
```
Create an `analysis_options.yaml` file at the root of the project with the following content:

```yaml
include: package:carapacik_lints/core.yaml
```

## Package versions table
| Flutter | Dart | Package |
|:--------|:-------|:--------|
| 2.10.x | 2.16.x | 1.0.8 |
| 3.0.x | 2.17.x | 1.1.7 |
| 3.3.x | 2.18.x | 1.2.3 |
| 3.7.x | 2.19.x | 1.3.2 |
| 3.10.x | 3.0.x | 1.4.2 |
| 3.13.x | 3.1.x | 1.5.1 |
| 3.16.x | 3.2.x | 1.6.0 |
| 3.19.x | 3.3.x | 1.7.0 |
| 3.22.x | 3.4.x | 1.8.1 |

| Flutter | Dart | Package |
|:-------:|:------:|:-------:|
| 2.10.x | 2.16.x | 1.0.8 |
| 3.0.x | 2.17.x | 1.1.7 |
| 3.3.x | 2.18.x | 1.2.3 |
| 3.7.x | 2.19.x | 1.3.2 |
| 3.10.x | 3.0.x | 1.4.2 |
| 3.13.x | 3.1.x | 1.5.1 |
| 3.16.x | 3.2.x | 1.6.0 |
| 3.19.x | 3.3.x | 1.7.0 |
| 3.22.x | 3.4.x | 1.8.1 |
| 3.24.x | 3.5.x | 1.9.0 |
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: example
description: A project that showcases how to enable lints for Flutter apps.
publish_to: none
environment:
sdk: ^3.4.0
sdk: ^3.5.0

dev_dependencies:
carapacik_lints: ^1.8.1
carapacik_lints: ^1.9.0
4 changes: 2 additions & 2 deletions lib/carapacik_lints.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
/// 1. Add it to your dev_dependencies
/// ```yaml
/// dev_dependencies:
/// carapacik_lints: ^1.8.1
/// carapacik_lints: ^1.9.0
/// ```
///
/// 2. Include the rules into your `analysis_options.yaml`
/// ```yaml
/// include: package:carapacik_lints/core.yaml
/// ```
library carapacik_lints;
library;
3 changes: 3 additions & 0 deletions lib/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ linter:
- hash_and_equals
- implicit_reopen
- invalid_case_patterns
- invalid_runtime_check_with_js_interop_types
- literal_only_boolean_expressions
- missing_code_block_language_in_doc_comment
- no_adjacent_strings_in_list
Expand All @@ -49,6 +50,7 @@ linter:
- prefer_void_to_null
- test_types_in_equals
- throw_in_finally
- unintended_html_in_doc_comment
- unnecessary_statements
- unrelated_type_equality_checks
- unsafe_html
Expand Down Expand Up @@ -102,6 +104,7 @@ linter:
- dangling_library_doc_comments
- deprecated_consistency
- directives_ordering
- document_ignores
- empty_catches
- empty_constructor_bodies
- eol_at_end_of_file
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: carapacik_lints
description: The most necessary lints for Flutter to encourage good coding practices
version: 1.8.1
version: 1.9.0
repository: https://github.com/Carapacik/carapacik_lints
topics:
- analysis
- lint
- lints
- linter
environment:
sdk: ^3.4.0
sdk: ^3.5.0

0 comments on commit 1a2f591

Please sign in to comment.