DEV Community

Josua Schmid for Renuo AG

Posted on

2

standardrb, but more

Often project teams suffer from either too many or too strict Rubocop rules (NewCops) or from outdated ones because they locked the rules or Rubocop versions. standardrb provides a good middle ground for people who care but also don't care fanatically. Its default settings are optimized for long-term maintainability and no-bikeshed. But we at Renuo are still missing a lot of rules, especially from Rubocop plugins like RSpec or performance cops. Since standardrb relies on Rubocop under the hood, there's an easy way for you to use a default but extended configuration. Simply opt-in to the rules you want while relying on standardrb for the rest. This inverts the team discussion time needed for your style guide from discussing every rule to discussing opt-in-exceptions.

If you want to have a look at our approach: we created a gem called renuocop. Our config file documents what we think is not strict enough in standardrb.

Playwright CLI Flags Tutorial

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • --last-failed: Zero in on just the tests that failed in your previous run
  • --only-changed: Test only the spec files you've modified in git
  • --repeat-each: Run tests multiple times to catch flaky behavior before it reaches production
  • --forbid-only: Prevent accidental test.only commits from breaking your CI pipeline
  • --ui --headed --workers 1: Debug visually with browser windows and sequential test execution

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Practical examples included!

Watch Video 📹️

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

đź‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay