Skip to content

Commit 36c78d7

Browse files
committed
Add stylelint config and harden feed reader fallback
1 parent 6ea5d10 commit 36c78d7

12 files changed

Lines changed: 5180 additions & 5 deletions

File tree

.codex/skills/finish-review

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/gil/.dotfiles/skills/finish-review

.codex/skills/gh-review-resolve

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/gil/.dotfiles/skills/gh-review-resolve

.codex/skills/pr-slicer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/gil/.dotfiles/skills/pr-slicer

.codex/skills/review-tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/gil/.dotfiles/skills/review-tests

.codex/skills/ruby-dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/gil/.dotfiles/skills/ruby-dev

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ jobs:
9292
- name: Typecheck frontend
9393
run: npm run typecheck
9494

95+
- name: Lint CSS with Stylelint
96+
run: pnpm dlx stylelint "**/*.css" || npx stylelint "**/*.css"
97+
9598
- name: Check formatting
9699
run: npm run format:check
97100

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ lint-ruby: ## Run Ruby linter (RuboCop) - errors when issues found
6767
bundle exec rake yard:verify_public_docs
6868
@echo "Ruby linting complete!"
6969

70-
lint-js: ## Run JavaScript/Frontend linting (TypeScript + ESLint + Prettier) - errors when issues found
70+
lint-js: ## Run JavaScript/Frontend linting (TypeScript + ESLint + Stylelint + Prettier) - errors when issues found
7171
@echo "Running TypeScript typecheck..."
7272
@cd frontend && npm run typecheck
7373
@echo "Running ESLint..."
7474
@cd frontend && npm run lint
75+
@echo "Running Stylelint..."
76+
@cd frontend && (pnpm dlx stylelint "**/*.css" || npx stylelint "**/*.css")
7577
@echo "Running Prettier format check..."
7678
@cd frontend && npm run format:check
7779
@echo "JavaScript linting complete!"

frontend/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
"jsdom": "^27.0.0",
4242
"msw": "^2.11.3",
4343
"prettier": "^3.x.x",
44-
"typescript-eslint": "^8.44.1",
44+
"stylelint": "^17.6.0",
45+
"stylelint-config-standard": "^40.0.0",
4546
"typescript": "^5.9.3",
47+
"typescript-eslint": "^8.44.1",
4648
"vite": "^6.3.6",
4749
"vitest": "^3.2.4"
4850
}

0 commit comments

Comments
 (0)