Ruby Code Linting and Auto-formatting with RuboCop

Linting is the automated detection of programmatic and stylistic errors in source code. A static code analysis tool known as a linter performs this checking. A code formatter, on the other hand, is a tool that is concerned with formatting source code so that it strictly follows a pre-configured set of rules. A linter will typically report violations, but it is usually up to the programmer to resolve the issue, whereas a code formatter applies its rules directly to the source code, automatically correcting formatting errors.
Ruby Code Linting and Auto-formatting with RuboCop #ruby #rubydeveloper #rubyonrails #code https://www.rubyonrails.ba/single/ruby-code-linting-and-auto-formatting-with-rubocop

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles