Template doesn't ship with an eslint.config.js. ESLint v9 flat-config is required and there's no sensible default for an empty skeleton — User adds it after Use-Template + can re-add the lint step then. Type-check via tsc runs fine and stays in CI.
This commit is contained in:
@@ -6,6 +6,10 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
# Template ships without an eslint.config.js (ESLint v9 flat-config), so the
|
||||
# lint step is skipped here. Add it back in your downstream repo once you've
|
||||
# committed your eslint.config.js — see README "Linting" section.
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -28,6 +32,3 @@ jobs:
|
||||
|
||||
- name: Type-check
|
||||
run: npm run type-check
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
Reference in New Issue
Block a user