code-quality
How to make rubocop ignore comments using regex
How to make rubocop ignore comments using regex
rubocop
It’s possible to define regex patterns to automatically ignore certain lines in rubocop.yml,
so you could choose to ignore all lines starting with a # character:
Metrics/LineLength:
Max: 80
IgnoredPatterns: ['\A#']Reference: https://stackoverflow.com/a/42833040/4096120
Keep reading
code-quality
Fix mise GitHub Rate Limit with a Token
mise makes unauthenticated GitHub API calls by default. When you hit the rate limit installing tools, a personal access token (no scopes required) fixes it permanently.
code-quality
How to solve Deployment Failure-`assets:precompile`
I was trying to deploy rails 6 app on ec2 server using capistrano when precompile failure lead to whole deploymentt failure. I had to uninstall cmdtest and install yarn
code-quality
How to Sort an Array of Objects in JavaScript
How to Sort an Array of Objects in JavaScript