Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bot_updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1.8.2
with:
sdk: "3.13.0"
sdk: "3.14.0"

- name: 📦 Install Dependencies
run: dart pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v7
- uses: dart-lang/setup-dart@v1.8.2
with:
sdk: "3.13.0"
sdk: "3.14.0"

- name: Install Dependencies
run: dart pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pub_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1.8.2
with:
sdk: "3.13.0"
sdk: "3.14.0"
- name: 📦 Install Dependencies
run: dart pub get
- name: 🌵 Dry Run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tool_linter_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v2
with:
dart_sdk: "3.13.0"
dart_sdk: "3.14.0"
working_directory: tool/linter_rules
2 changes: 1 addition & 1 deletion .github/workflows/verify_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: dart-lang/setup-dart@v1.8.2
with:
sdk: "3.13.0"
sdk: "3.14.0"

- name: Verify version consistency
run: dart run tool/verify_version/main.dart
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ dart test # run unit tests for this tool

- `tool/**` is excluded from the published package via `.pubignore`.
- The root `analysis_options.yaml` simply includes `lib/analysis_options.yaml` (self-application).
- Dart SDK is pinned to `3.12.0` in all CI workflows.
- Dart SDK is pinned to `3.14.0` in all CI workflows.
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.0.1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.14.0

dependencies:
very_good_analysis:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ documentation: https://github.com/VeryGoodOpenSource/very_good_analysis
topics: [lints, analyzer, analysis]

environment:
sdk: ^3.13.0
sdk: ^3.14.0
2 changes: 1 addition & 1 deletion tool/bump_version/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.14.0
3 changes: 1 addition & 2 deletions tool/linter_rules/bin/analyze.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ Future<void> main(
)
..addFlag(
'set-exit-if-changed',
help:
'''Set the exit code to 2 if there are changes to the deprecated rules.''',
help: '''Set the exit code to 2 if there are changes to the deprecated rules.''',
);

final parsedArgs = argsParser.parse(args);
Expand Down
3 changes: 1 addition & 2 deletions tool/linter_rules/lib/exclusion_reason_table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ Future<void> main(
)
..addFlag(
'set-exit-if-changed',
help:
'''Set the exit code to 2 if there are changes to the exclusion reasons.''',
help: '''Set the exit code to 2 if there are changes to the exclusion reasons.''',
);
final parsedArgs = argsParser.parse(args);

Expand Down
4 changes: 2 additions & 2 deletions tool/linter_rules/lib/src/models/linter_rule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ enum FixStatus {
@immutable
class LinterRule {
/// {@macro LinterRule}
const LinterRule({
const new({
required this.name,
required this.description,
required this.details,
Expand All @@ -92,7 +92,7 @@ class LinterRule {
});

/// Converts JSON to a [LinterRule].
factory LinterRule.fromJson(Map<String, dynamic> json) => LinterRule(
factory fromJson(Map<String, dynamic> json) => LinterRule(
name: json['name'] as String,
description: json['description'] as String,
details: json['details'] as String,
Expand Down
2 changes: 1 addition & 1 deletion tool/linter_rules/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.14.0

dependencies:
args: ^2.6.0
Expand Down
3 changes: 1 addition & 2 deletions tool/linter_rules/test/src/linter_rules_reasons_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ void main() {
});

final reasons = {
'always_put_control_body_on_new_line':
'[Can conflict with the Dart formatter](https://dart.dev/tools/linter-rules/always_put_control_body_on_new_line)',
'always_put_control_body_on_new_line': '[Can conflict with the Dart formatter](https://dart.dev/tools/linter-rules/always_put_control_body_on_new_line)',
};

await writeExclusionReasons(reasons);
Expand Down
3 changes: 1 addition & 2 deletions tool/linter_rules/test/src/readme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ void main() {
test('generates a markdown table of the excluded rules', () async {
final excludedRules = ['always_put_control_body_on_new_line'];
final exclusionReasons = {
'always_put_control_body_on_new_line':
'[Can conflict with the Dart formatter](https://dart.dev/tools/linter-rules/always_put_control_body_on_new_line)',
'always_put_control_body_on_new_line': '[Can conflict with the Dart formatter](https://dart.dev/tools/linter-rules/always_put_control_body_on_new_line)',
};

final markdownTable = Readme().generateExcludedRulesTable(
Expand Down
Loading