Skip to content

Commit 87422bb

Browse files
daniel-monroeclaude
andcommitted
Fix ESLint on Windows (CRLF) and lint setup
- Prettier endOfLine: auto so CRLF checkouts (core.autocrlf=true on Windows) don't fail every file against the prettier/prettier rule - Add .eslintignore for Next.js-generated next-env.d.ts and .next/ - Apply prettier-plugin-tailwindcss class ordering in candidates.tsx Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 72b1a9a commit 87422bb

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Auto-generated by Next.js — should not be linted or hand-edited
2+
next-env.d.ts
3+
.next/

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"semi": false,
33
"singleQuote": true,
44
"tabWidth": 2,
5+
"endOfLine": "auto",
56
"plugins": ["prettier-plugin-tailwindcss"]
67
}

src/pages/candidates.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ const PositionPill: React.FC<{
189189
href={playHref}
190190
className={`inline-flex items-center gap-2 rounded-full px-4 py-2 text-sm font-medium text-primary shadow-[0_8px_24px_rgba(0,0,0,0.2)] transition ${
191191
completed
192-
? 'bg-emerald-500/30 hover:bg-emerald-500/34 border border-emerald-100/70 hover:border-emerald-50/80'
193-
: 'bg-rose-500/30 hover:bg-rose-500/34 border border-rose-100/65 hover:border-rose-50/75'
192+
? 'hover:bg-emerald-500/34 border border-emerald-100/70 bg-emerald-500/30 hover:border-emerald-50/80'
193+
: 'hover:bg-rose-500/34 border border-rose-100/65 bg-rose-500/30 hover:border-rose-50/75'
194194
}`}
195195
>
196196
<span className="material-symbols-outlined !text-[18px]">

0 commit comments

Comments
 (0)