Engineering

Our engineering is underpinned by principles that celebrate both the integrity of code and the ambition to innovate. This manifesto champions excellence, advocates for the adoption of cutting-edge technologies, and fosters an environment of continuous intellectual growth.

Using Rubocop

Rubocop is a code analyzer and code formatter. This tool will apply recommended guidelines from the ([Ruby Style Guide])(https://github.com/rubocop-hq/ruby-style-guide). We encourage all Rails projects to adopt this tool.

Recommended settings

inherit_from: .rubocop_todo.yml require: - rubocop-rspec - rubocop-performance Rails: Enabled: true Style/FrozenStringLiteralComment: EnforcedStyle: never Style/StringLiterals: EnforcedStyle: double_quotes Style/HashSyntax: EnforcedStyle: ruby19 Layout/IndentationConsistency: EnforcedStyle: rails Layout/CaseIndentation: EnforcedStyle: end Layout/BlockAlignment: Enabled: false Layout/EndAlignment: EnforcedStyleAlignWith: start_of_line AllCops: Exclude: - 'vendor/**/*' - 'node_modules/**/*' - 'db/migrate/*' - 'db/schema.rb' - 'db/seeds.rb' - 'bin/*' TargetRubyVersion: 2.6.0

Notes

• Make sure that TargetRubyVersion is the latest Ruby version. • Performance cops have been removed in Rubocop 0.68. To use them, require rubocop-performance and add rubocop-performance to your gemfile. • You don't need rubocop-rspec if your project is using minitest. • Try to fix all the issues reported in the .rubocop_todo.yml file. Treat it as a proper TODO and not a hack to avoid rubocop warnings or errors.

Resources

• RuboCop - Official site of rubocop • RuboCop RSpec - Site of the rubocop rspec extension

Next: Design Playbook

Connect.

Mashup Garage, a premier software development team, specialises in crafting exceptional products for startups and enterprises. With expertise in React, Elixir/Phoenix, and Ruby on Rails, we deliver solutions that meet your unique needs. Our mission is to bring value backed by decades of technical expertise and global co-founding experience.

What do you need help with?

Build a project

Build a team

Consult

Speak to someone

Expect a guaranteed response from us in 1-2 business days.

United Kingdom

London

Islington, London

+44 738 777 3405

LDN

Philippines

Manila

3F Topy IV Building, 3 Economia Road, Bagumbayan, Quezon City, 1110

+63 917 3084089

MNL