From a9bcc87b82d3e976bbbe4834d7ca57d291802887 Mon Sep 17 00:00:00 2001 From: wan Date: Wed, 8 May 2024 18:15:43 -0300 Subject: [PATCH] :green_heart: Fix build --- .eslintrc | 2 +- package.json | 2 +- src/hooks/index.ts | 1 - tsconfig.json | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index 9a986f1..b042461 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,7 +13,7 @@ ], "rules": { "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": "warn", + "react-hooks/exhaustive-deps": "warn" }, "parser": "@typescript-eslint/parser", "overrides": [ diff --git a/package.json b/package.json index 83d5794..dcb36a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@squidit/react-css", - "version": "1.0.1", + "version": "1.0.2", "scripts": { "format": "prettier --write --parser typescript '**/*.{ts,tsx}'", "lint": "eslint src --ext js,ts,tsx", diff --git a/src/hooks/index.ts b/src/hooks/index.ts index 67fec74..8e2c9a9 100644 --- a/src/hooks/index.ts +++ b/src/hooks/index.ts @@ -1,4 +1,3 @@ -export * from './use-sq-image-loader' export * from './use-sq-throttle' export * from './use-sq-rect' export * from './use-sq-metric-chart' diff --git a/tsconfig.json b/tsconfig.json index 590606b..a296be1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -29,7 +29,7 @@ /* Linting */ "strict": false, // Enables strict type checking. - "noUnusedLocals": true, // Flags unused local variables. + "noUnusedLocals": false, // Flags unused local variables. "noUnusedParameters": true, // Flags unused function parameters. "noFallthroughCasesInSwitch": true, // Requires handling all cases in a switch statement. "declaration": true, // Generates declaration files for TypeScript.