You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/eslint.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,14 @@ title: ESLint
7
7
8
8
This package unifies the shared ESLint config used across all TanStack projects. It is designed to be framework-agnostic, and does not include any framework-specific plugins.
9
9
10
+
## Installation
11
+
12
+
To install the package, run the following command:
13
+
14
+
```bash
15
+
pnpm add -D @tanstack/eslint-config
16
+
```
17
+
10
18
## Setup
11
19
12
20
### package.json
@@ -17,8 +25,6 @@ This package unifies the shared ESLint config used across all TanStack projects.
Copy file name to clipboardExpand all lines: docs/vite.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,14 @@ The Vite build setup is the culmination of several attempts to dual publish ESM
9
9
10
10
ES Modules (ESM) is the standard for writing JavaScript modules. However, due to the historical dependency on CommonJS (CJS), many ecosystem tools and projects were initially incompatible with ESM. It is becoming exceedingly rare for this to be the case, and I would urge you to consider whether it is necessary to distribute CJS code at all. Sindre Sorhus has a good summary on this issue [here](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
11
11
12
+
## Installation
13
+
14
+
To install the package, run the following command:
15
+
16
+
```bash
17
+
pnpm add -D @tanstack/vite-config
18
+
```
19
+
12
20
## Setup
13
21
14
22
The build config is quite opinionated, as it is designed to work with our internal libraries. If you follow the below instructions, it _may_ work for your library too!
@@ -52,9 +60,6 @@ The build config is quite opinionated, as it is designed to work with our intern
0 commit comments