Lint

Run SwiftLint on the WooCommerce iOS project

woocommerce 889e492 486 B Updated

File contents

Run SwiftLint to check for style violations.

If $ARGUMENTS contains "fix" or "autocorrect":

bundle exec rake lint:autocorrect

Otherwise, run check only:

bundle exec rake lint

After running:

  1. Report the number of warnings and errors
  2. Group violations by rule name
  3. For errors, show file paths and line numbers
  4. Suggest manual fixes for issues that autocorrect cannot handle

woocommerce/woocommerce-ios/tree/main/.claude/skills/lint commit 889e492187

Frequently asked questions

npx skillmds@latest add woocommerce/lint