GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(lint): enforce unicorn/no-useless-spread · pingdotgg/t3code@c4c458d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/mobile/src/native
    • native-layout-metrics.tsx
  • vite.config.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/native/native-layout-metrics.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/native/native-layout-metrics.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function NativeLayoutMetricsProvider(props: { readonly children: ReactNod
4040
const [metrics, setMetrics] = useState<NativeLayoutMetrics | null>(null);
4141
const publish = (next: NativeLayoutMetrics) => {
4242
latestMetrics = next;
43-
for (const settle of [...metricsWaiters]) settle(next);
43+
for (const settle of metricsWaiters) settle(next);
4444
setMetrics(next);
4545
};
4646
const deviceType = deriveDeviceType({ isPad: IS_PAD, metrics });
Collapse file

‎vite.config.ts‎

Copy file name to clipboardExpand all lines: vite.config.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export default defineConfig({
216216
perf: "warn",
217217
},
218218
rules: {
219+
"unicorn/no-useless-spread": "error",
219220
"eslint/no-unused-vars": [
220221
"error",
221222
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" },

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.