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/users/Shared_Configurations.mdx
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,18 @@ import TabItem from '@theme/TabItem';
17
17
See [Getting Started > Quickstart](../getting-started/Quickstart.mdx) first to set up your ESLint configuration file.
18
18
[Packages > typescript-eslint](../packages/TypeScript_ESLint.mdx) includes more documentation on the `tseslint` helper.
19
19
20
+
```js title="eslint.config.js"
21
+
// @ts-check
22
+
23
+
importeslintfrom'@eslint/js';
24
+
importtseslintfrom'typescript-eslint';
25
+
26
+
exportdefaulttseslint.config(
27
+
eslint.configs.recommended,
28
+
...tseslint.configs.recommended,
29
+
);
30
+
```
31
+
20
32
### Projects Without Type Checking
21
33
22
34
If your project does not enable [typed linting](../getting-started/Typed_Linting.mdx), we suggest enabling the [`recommended`](#recommended) and [`stylistic`](#stylistic) configurations to start:
0 commit comments