guardian / guardian/dotcom-rendering

Create a linting rule to prevent hardcoded z-index values

Open
#16,291 0 comments 0 reactions 0 assignees View on GitHub
Pick me up
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

Via a custom rule in eslint or stylelint?

This would allow early developer feedback if not using the `getZIndex` utility

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing getZIndex utility and the project's ESLint or Stylelint configuration. Compare which linting system can detect hardcoded z-index values most reliably, then define completion as an active rule with documented feedback that directs developers to getZIndex.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.