bigbinary / wheel

Don't reinvent the wheel for every new Rails project. Use sane Defaults.
https://wheel-production.neetodeployapp.com
MIT License
254 stars 197 forks source link

Add script to run Rubocop and ERBLint only on modified files #1045

Closed AbhayVAshokan closed 2 months ago

AbhayVAshokan commented 2 months ago

The Rubocop and Erblint currently run on every file. This is counterproductive while writing custom cops in rubocop-neeto. We might introduce several new cops. This will introduce unnecessary noise to existing PRs.

Similar to how we handle ESlint, we should execute the Rubocop and Erblint changes on changed files.

@AbhayVAshokan _a small _t