Comments (7)
I will try to do this!
from action-rubocop.
I'm trying to write a custom Rubocop formatter that generates a JSON result with rdformat.
https://github.com/ohbarye/action-rubocop/blob/e15ee5162645c78e70f480bfcb42fea5b000113d/rdjson_formatter.rb
If I spend some more time I may be able to implement the suggestion feature though, should I leave this issue up to the assignee?
Suggestion example:
from action-rubocop.
@haya14busa Can you tell us more about the suggest feature and how can we use it with this action?
from action-rubocop.
That's great to hear!
You need to support rdformat (https://github.com/reviewdog/reviewdog#code-suggestions) as rubocop output.
Example: eslint https://github.com/reviewdog/action-eslint/tree/master/eslint-formatter-rdjson
from action-rubocop.
I will try to do this!
Thank you. Assigned you 👍
from action-rubocop.
@AlexeyMatskevich Do you have any progress?
from action-rubocop.
I suppose that this documentation can help to implement this feature:
- https://docs.rubocop.org/rubocop/1.18/formatters.html
- https://www.rubydoc.info/gems/rubocop/RuboCop/Formatter/BaseFormatter
from action-rubocop.
Related Issues (20)
- Can't seem to be able to run the correct rubocop version HOT 1
- Add ability to skip install of rubocop and extensions HOT 1
- How i can use my own robocop rule? HOT 1
- Set default token to `github_token` input parameter HOT 5
- Undefined method `begin' for PseudoSourceRange HOT 6
- Fail running rubocop step if rubocop command itself fails HOT 5
- gem install was failed with Ruby 2.6.6 HOT 2
- Getting undefined method `cleanpath` when running via GitHub HOT 6
- Takes too long HOT 5
- getting REVIEWDOG_GITHUB_API_TOKEN error HOT 2
- [BUG] Invalid request. Only 65535 characters are allowed; 70292 were supplied. HOT 6
- undefined method `begin' for nil:NilClass HOT 2
- Possible to suggest linting corrections? HOT 5
- GitHub marketplace shows v1 as the latest HOT 2
- Rubocop info severity causes build failure
- reviewdog fails to parse when `--server` option is given HOT 1
- `Style/MethodDefParentheses` creates a suggestion with just one opening parenthese
- Cache ruby gems to speed up installation HOT 2
- Replace actions/create-release HOT 1
- rubocop_extensions installation version from Gemfile does not work with wrong definition order of gems HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-rubocop.