oddbird / oddbird/css-anchor-positioning

Lint example scripts

Open
#386 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

demo-site enhancement good first issue
Dominant language
TypeScript
Stars
493
Forks
18
Avg merge
12h 37m
Merged PRs (30d)
5

Description

In https://github.com/oddbird/css-anchor-positioning/pull/353, we missed a type update because we aren't linting our examples, specifically the scripts.

Some options include https://github.com/BenoitZugmeyer/eslint-plugin-html or extracting the scripts from the example html files into standalone files,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review PR 353 and the example HTML files, focusing on the scripts they contain. Compare the suggested ESLint HTML plugin with extracting scripts into standalone files. Done means the example scripts are included in linting and the missed type update would be detected.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.