This commit is contained in:
bracesproul
2025-03-11 13:39:28 -07:00
parent 2b849577bd
commit 4c72809543
2 changed files with 8 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ jobs:
version: 10.5.1+sha512.c424c076bd25c1a5b188c37bb1ca56cc1e136fbf530d98bcb3289982a08fd25527b8c9c4ec113be5e3393c39af04521dd647bcf1d0801eaf8ac6a7b14da313af
- uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'pnpm'
node-version: "18.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check formatting
@@ -46,8 +46,8 @@ jobs:
version: 10.5.1+sha512.c424c076bd25c1a5b188c37bb1ca56cc1e136fbf530d98bcb3289982a08fd25527b8c9c4ec113be5e3393c39af04521dd647bcf1d0801eaf8ac6a7b14da313af
- uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'pnpm'
node-version: "18.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check linting

View File

@@ -20,7 +20,10 @@ export default tseslint.config(
rules: {
...reactHooks.configs.recommended.rules,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": ["warn", { args: "none", argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"@typescript-eslint/no-unused-vars": [
"warn",
{ args: "none", argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
],
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },