Skip to content

Commit

Permalink
Things. (anthonyshew#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew authored Sep 16, 2023
1 parent 2e10a66 commit 992814b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/maestros/app/(maestros)/monorepos/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ function Page({ params }: { params: { slug: string[] } }) {
.filter((line) => line.startsWith('#'));

return (
<main className="relative flex flex-row justify-start overflow-x-hidden flex-auto h-[calc(100vh-3.5rem)] px-8 pt-8 md:px-12 overflow-auto mt-14 sm:py-8 lg:py-14">
<div className="w-full prose lg:prose-lg md:max-w-md lg:max-w-lg xl:max-w-3xl dark:prose-invert">
<main className="relative flex flex-row justify-start overflow-x-hidden flex-auto h-[calc(100vh-3.5rem)] px-8 py-8 md:px-12 overflow-auto mt-14 sm:py-8 lg:py-14">
<div className="w-full h-full prose lg:prose-lg md:max-w-md lg:max-w-lg xl:max-w-3xl dark:prose-invert [&>*:last-child]:pb-8">
<Callout bold className="mb-10" type="warning">
This is an alpha, sneak peek of Monorepo Maestros. For this iteration,
I'm getting all of my thoughts down. In the future, we'll have better
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ sidebarOrderPosition: 3
ogDescription: Setting up typescript-eslint in your monorepo
---

[typescript-eslint.io](https://typescript-eslint.io) is an important addition to a monorepo, bringing more power to ESLint through the type checking of TypeScript. With ts-eslint enabled in your repository, you'll be able to have tighter checks on sneaky bugs that ESLint or TypeScript can't find by themselves.
[typescript-eslint](https://typescript-eslint.io) is an important addition to a monorepo, bringing more power to [ESLint](/monorepos/guardrails/eslint) through the type checking of TypeScript. With ts-eslint enabled in your repository, you'll be able to have tighter checks on sneaky bugs that ESLint or TypeScript can't find by themselves.

In a monorepo, ts-eslint becomes even more important, finding potential bugs across module boundaries and bringing more clarity to your codebase.

## Using ts-eslint

The official ts-eslint documentation has [an excellent breakdown on how to use ts-eslint in a monorepo](https://typescript-eslint.io/linting/typed-linting/monorepos/#one-tsconfigjson-per-package-and-an-optional-one-in-the-root). Rather than rehash their docs, hop over there to learn the fundamentals. Below, we'll show an example of combining that documentation with the rest of the "happy path" here in Maestros.
The official ts-eslint documentation has [an excellent breakdown on how to use ts-eslint in a monorepo](https://typescript-eslint.io/linting/typed-linting/monorepos/#one-tsconfigjson-per-package-and-an-optional-one-in-the-root). Rather than rehash their docs in Maestros, we encourage you to hop over there to learn the fundamentals. Below, we'll show an example of combining that documentation with the rest of the "happy path" here in Maestros.

## Enabling ts-eslint in our monorepo

Expand Down

0 comments on commit 992814b

Please sign in to comment.