@moneyforward/code-review-action-rubocop-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Code review using Rubocop

Analyze code statically by using Rubocop in Github actions

Inputs

files

Pass rubocop a list of files and directories to analyze.

Running rubocop with no arguments will analyze all Ruby source files in the warking directory.

options

Changes rubocop command line options.

Specify the options in JSON array format. e.g.: '["--fail-level", "W", "--display-only-fail-level-offenses"]'

working_directory

Changes the current working directory of the Node.js process

Example usage

name: Analyze code statically
"on": pull_request
jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Analyze code statically using Rubocop
        uses: moneyforward/rubocop-action@v0

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/moneyforward/rubocop-action

License

The gem is available as open source under the terms of the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @moneyforward/code-review-action-rubocop-plugin

Weekly Downloads

24

Version

0.1.2

License

MIT

Unpacked Size

13.6 kB

Total Files

13

Last publish

Collaborators

  • oss-frontend-moneyforward
  • ichikawa.takashi
  • mf-admin