Lint Your Workarea Integration

Use rake:workarea:lint to lint your integration of Workarea within your app. It is currently limited to checking the application for suspicious data. Specifically, it performs the following checks and displays a report in the shell.

  • Inconsistent details
  • Inconsistent options
  • Products missing images
  • Products missing variants
  • SKUs missing inventory
  • SKUs missing pricing
  • SKUs missing variants

Run the command from the root of your application:

cd path/to/your_app
bin/rake workarea:lint

Expect output looking something like this:

== Linting Inconsistent Details...
0 warnings, 0 errors

== Linting Inconsistent Options...
0 warnings, 0 errors

== Linting Products Missing Images...
0413494F39,No images
044190AC1D,No images
2 warnings, 0 errors

== Linting Products Missing Variants...
0 warnings, 0 errors

== Linting Skus Missing Inventory...
0 warnings, 0 errors

== Linting Skus Missing Pricing...
0 warnings, 0 errors

== Linting Skus Missing Variants...
0 warnings, 0 errors