Skip to content

Commit 8393ff3

Browse files
[tool] Update skills_lint to published version ^0.5.1
- Update tool/generator/pubspec.yaml to depend on published skills_lint: ^0.5.1 - Remove custom LastModifiedRule and its enforcement from lint_skills_test.dart - Verify all 100 tests and static analysis pass cleanly
1 parent 864cf87 commit 8393ff3

3 files changed

Lines changed: 2 additions & 53 deletions

File tree

‎tool/generator/pubspec.yaml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ dev_dependencies:
2626
build_verify: ^3.1.0
2727
coverage: ^1.15.0
2828
lints: ^6.0.0
29-
skills_lint:
30-
git:
31-
url: https://github.com/google/skills_lint.dart.git
32-
path: packages/skills_lint
33-
ref: e6e695e1550f81342fe5acd4dbe65040b5aa44c3
29+
skills_lint: ^0.5.1
3430
test: ^1.25.6
3531

‎tool/generator/test/custom_skill_rules/last_modified_rule.dart‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

‎tool/generator/test/lint_skills_test.dart‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import 'package:path/path.dart' as p;
99
import 'package:skills_lint/skills_lint.dart';
1010
import 'package:test/test.dart';
1111

12-
import 'custom_skill_rules/last_modified_rule.dart';
13-
1412
void main() {
1513
test('Run skills linter', () async {
1614
final lintErrors = <String>[];
@@ -59,10 +57,7 @@ void main() {
5957
reason: 'Configuration directoryConfigs should not be empty.',
6058
);
6159

62-
final isValid = await validateSkills(
63-
config: config,
64-
customRules: [LastModifiedRule()],
65-
);
60+
final isValid = await validateSkills(config: config);
6661
expect(
6762
isValid,
6863
isTrue,

0 commit comments

Comments
 (0)