provide `lint` command

Description

Summary: Provide a lint command analogous to the one in each repo, e.g. from ui-users:

Details: This should allow most lint-related dependencies to be centralized within stripes-cli and eslint-config-stripes instead of being federated across every single UI repo, drastically reducing the blast area in case of future problems like .

This needs to be thought through carefully, in particular considering whether we can continue to allow apps to depend on different versions of eslint-config-stripes so that updates to lint rules remain opt-in.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Zak Burke January 16, 2025 at 7:38 PM

I vote to target Trillium with this feature, implementing both an upgrade to the current major version of eslint (which strips most formatting rules) and a move to prettier.io to handle the formatting rules.

Details

Assignee

Reporter

Priority

Sprint

Development Team

None

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 26, 2022 at 4:35 PM
Updated January 27, 2025 at 3:34 PM
TestRail: Cases
TestRail: Runs