Open
Bug 1953647
Opened 11 months ago
Updated 2 months ago
[spike] Investigate improving linter tooling for Compose code
Categories
(Firefox for Android :: Tooling, task, P2)
Tracking
()
NEW
People
(Reporter: 007, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [fxdroid][group4])
To improve upon our existing linter, we should have some rules specifically for Compose code with the goals of:
- Having separate code styling rules where applicable (e.g. function parameter length).
- Preventing the use of direct Photon colors
- Enforcing the usage of Acorn tokens
- Promoting state hoisting
- Avoiding unstable collections
- Promoting general Compose best practices and those agreed upon by the team
As part of this ticket, investigate adding lint rules to meet these goals.
Starting point:
Updated•11 months ago
|
Comment 1•7 months ago
|
||
A bug that we might lint to avoid: Bug 1978300.
Comment 2•7 months ago
|
||
Moving this to the Tooling component since that would probably be more appropriate.
Component: Design System and Theming → Tooling
Updated•7 months ago
|
Blocks: detekt/ktlint
Updated•2 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•