Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
run: npm install
- name: Lint files
run: npm run lint
- name: Lint Files, Dependencies, & Exports
run: npm run lint:unused
- name: Check Formatting
run: npm run fmt:check
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Publish to JSR
run: |
npm run build --if-present
npx jsr publish
npx -y jsr publish
if: ${{ steps.release.outputs.release_created }}

# Generates the social media post
Expand Down
4 changes: 4 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": ["tests/**/*.{cts,js,ts}"]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint:types": "attw --pack --profile esm-only",
"lint:unused": "knip",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"test": "mocha \"tests/**/*.test.js\"",
Expand All @@ -77,19 +78,21 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/json": "^0.14.0",
"@types/node": "^25.1.0",
"c8": "^10.1.3",
"dedent": "^1.5.3",
"eslint": "^9.39.2",
"eslint-config-eslint": "^13.0.0",
"eslint-plugin-eslint-plugin": "^6.3.2",
"globals": "^17.0.0",
"knip": "^5.82.1",
"lint-staged": "^16.0.0",
"mdast-util-from-markdown": "^2.0.2",
"mdn-data": "^2.26.0",
"mocha": "^11.0.0",
"prettier": "3.8.1",
"tailwind-csstree": "^0.1.0",
"typescript": "^5.9.2",
"typescript": "^5.9.3",
"web-features": "^3.14.0",
"yorkie": "^2.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion src/data/baseline-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

export const BASELINE_HIGH = 10;
export const BASELINE_LOW = 5;
export const BASELINE_FALSE = 0;

export const properties = new Map([
["accent-color", "0:"],
Expand Down
1 change: 0 additions & 1 deletion tools/generate-baseline.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ const code = `/**

export const BASELINE_HIGH = ${BASELINE_HIGH};
export const BASELINE_LOW = ${BASELINE_LOW};
export const BASELINE_FALSE = ${BASELINE_FALSE};

export const properties = new Map(${JSON.stringify(Object.entries(cssFeatures.properties), null, "\t")});
export const atRules = new Map(${JSON.stringify(Object.entries(cssFeatures.atRules), null, "\t")});
Expand Down