新增特性#7
Open
lizy-coding wants to merge 13 commits into
Open
Conversation
支持 window 插件运行
… README, CHANGELOG, fix fixture Flutter imports
Adds ProjectResolver class that walks up directories to find project root by detecting flutterguard.yaml, pubspec.yaml, or lib/ directory. Also provides config path resolution with CWD/project-relative fallback.
Adds 5 new rule implementations for IoT Flutter analysis: - device_lifecycle: init/teardown pair checks (initState↔dispose, etc.) - mqtt_connection: connect/disconnect pairing, subscribe/unsubscribe, hardcoded broker URLs - ble_scanning: startScan/stopScan pairing, connect/disconnect, scan timeout - iot_security: hardcoded secrets, cleartext MQTT/HTTP, insecure BLE - pubspec_security: unbounded deps, deprecated packages, outdated IoT versions
- config_loader: add typed config typedefs for 5 new IoT rules - scanner: import and invoke all 5 new rules in analysis pipeline - flutterguard.dart: support positional path, --no-color flag, version 0.2.0 - report_generator: add --no-color ANSI suppression - flutterguard_cli.dart: export new rule classes and utilities - pubspec.yaml: bump version to 0.2.0
Adds 6 new test cases: - iot_security: hardcoded secrets, cleartext MQTT/HTTP, insecure BLE - device_lifecycle: init/teardown pair detection - mqtt_connection: connect without disconnect, hardcoded broker URL - ble_scanning: startScan without stopScan - pubspec_security: outdated deps, deprecated packages, unbounded deps - IoT rules respect disabled config
Adds CI/CD infrastructure: - .github/workflows/flutterguard.yml: matrix CI (ubuntu/macos/windows) - scripts/compile.sh / compile.ps1: cross-platform native binary compilation - scripts/scan_ci.sh / scan_ci.ps1: local CI gate scripts
Updates all documentation for the v0.2.0 release with IoT rules: - AGENTS.md files: reflect 11 rule classes / 13 rule IDs, new file inventory - CHANGELOG.md: add v0.2.0 entry with all new features - README.md / README.zh.md: comprehensive rewrite with IoT rules, CI integration, scoring, CLI reference, and developer setup instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.