Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
danger-flutter_lint-no-filter
Advanced tools
A Danger Plugin to lint dart files using flutter analyze
command line interface.
Add this line to your application's Gemfile:
$ gem 'danger-flutter_lint'
Or install it yourself as:
$ gem install danger-flutter_lint
Flutter Analyze doesn't give an option to generate report but you can achieve this easily using regular shell command (locally or on CI):
$ flutter analyze > flutter_analyze_report.txt
It will add output from flutter analyze
command to flutter_analyze_report.txt
.
Now you need to set report_path
and invoke lint
in your Dangerfile.
flutter_lint.report_path = "flutter_analyze_report.txt"
flutter_lint.lint
This will add markdown table with summary into your PR.
Or make Danger comment directly on the line instead of printing a Markdown table (GitHub only)
flutter_lint.lint(inline_mode: true)
Default value for inline_mode
parameter is false.
If you're dealing with a legacy project, with tons of warnings, you may want to lint only new/modified files. You can easily achieve that, setting the only_modified_files
parameter to true
.
flutter_lint.only_modified_files = true
flutter_lint.report_path = "flutter_analyze_report.txt"
flutter_lint.lint
bundle install
to setup dependencies.bundle exec rake spec
to run the tests.bundle exec guard
to automatically have tests run as you make changes.Bug reports and pull requests are welcome on GitHub at https://github.com/mateuszszklarek/danger-flutter_lint.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that danger-flutter_lint-no-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.