turbo
1a621985 - feat(turbopack): Apply critical ES lint rules (#7396)

Commit
1 year ago
feat(turbopack): Apply critical ES lint rules (#7396) ### Description We didn't apply `swc_ecma_lints` to turbopack inputs, and it resulted in code like ```js import { TableHead, TableRow, TableHeader, TableCell, TableBody, Table } from "@/components/ui/table" export function Table() { return <Table /> } ``` fails on **runtime** with `Maximum call stack size exceeded`. This PR moves this error to build time by applying the relevant lint rules. Closes PACK-2438 ### Testing Instructions <img width="1840" alt="image" src="https://github.com/vercel/turbo/assets/29931815/b086aba6-a0be-452f-b5cb-0d177efdf8c1">
Author
Parents
Loading