Repository navigation
Update skills_lint to 0.5.3 - #10064
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the skills_lint package to version 0.5.3, enables the disallowed-field lint rule, and adds an assertion in validate_skills_test.dart to ensure configuration parsing succeeds. Feedback was provided to improve the readability of the test failure message by joining the parsing errors with newlines instead of printing the raw list.
| # found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd. | ||
| skills_lint: | ||
| rules: | ||
| disallowed-field: error |
There was a problem hiding this comment.
lets not add disallowed-fields
There was a problem hiding this comment.
Removed in 0142363. tool/skills_lint.yaml is unchanged from master now; the PR only bumps skills_lint and adds the parsingErrors check.
|
The |
Update to skills_lint 0.5.3.
@reidbaker
Details
No issue tracks this routine dependency update, so this PR does not list one.
Updates the
skills_lintdev dependency intool/from^0.5.1to^0.5.3, and:expect(config.parsingErrors, isEmpty)totool/test/validate_skills_test.dart.parsingErrorslists errors inskills_lint.yamlitself. The 0.5.3 CHANGELOG notes thatvalidateSkillsprints eachconfig.parsingErrorsentry as a warning and still returnstrue, so without this check a typo inskills_lint.yaml(for example, an unknown rule name, which 0.5.3 reports as a config error) would still pass the test.pubspec.lockwithflutter pub get. This moves skills_lint from 0.5.1 to 0.5.3 and addstar2.0.3, a new transitive dependency of skills_lint 0.5.3.Local checks against skills_lint 0.5.3 from pub.dev:
flutter test test/intool/passes (includingvalidate_skills_test.dart),dart run skills_lintexits 0,dart formatmakes no changes, anddart analyzefinds no issues.I prepared this change with help from an AI agent and reviewed it.
Pre-launch Checklist
General checklist
///).Issues checklist
contributions-welcomeorgood-first-issuelabel.contributions-welcomeorgood-first-issuelabel. I understand this means my PR might take longer to be reviewed.Tests checklist
AI-tooling checklist
Feature-change checklist
release-notes-not-requiredlabel or left a comment requesting the label be added.packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md.Requesting the
release-notes-not-requiredlabel: this PR only changes repo tooling.If you need help, consider asking for help on Discord.