Skip to content

iosifache/rubocop-snap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RuboCop logo

Ruby linter and formatter

Snapcraft's Version     PyPI's Version     GitHub Build Workflow Status

Description

Rubocop is a Ruby linter and formatter.

As a linter, it checks for aspects such as:

  • Style: mosty the recommendations from the Ruby Style Guide;
  • Linting: ambiguous ranges, debugger calls, etc.
  • Code metrics: cyclomatic and perceieved complexity, the length of the module and methods, etc.;
  • Naming: uniform names for constants, methods, modules, etc.
  • Security: unsafe evaluation, YAML deserializations, calls to I/O functions, etc.
  • Bundling: usual issues in the Bundler files.

The formatter capability can be used to fix many of the issues automatically.

Get it from the Snap Store

Notice: If you want to view the officially recommended method of installing of the tool, refer to the RuboCop documentation.

Local Build

  1. Clone this repository: git clone https://github.com/canonical/rubocop-snap
  2. Move into the cloned repository: cd rubocop-snap
  3. Install Snapcraft: sudo snap install snapcraft --classic
  4. Build the snap: snapcraft --verbose
  5. Install the snap: snap install --dangerous ./rubocop_*.snap
  6. Test the snap by running the rubocop command: rubocop

About

Fork of RuboCop's snap 🪞

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published