We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8efe22c commit d41573fCopy full SHA for d41573f
README.md
@@ -59,15 +59,22 @@ Dependencies are:
59
60
### Configuration
61
62
-#### `eslint.config.js` (JavaScript and TypeScript)
+#### `eslint.config.js`
63
64
```js
65
-// @ts-check
66
-
67
import typescriptESLint from "typescript-eslint"
68
import configConventions from "eslint-config-conventions"
69
70
-export default typescriptESLint.config(...configConventions)
+export default typescriptESLint.config(...configConventions, {
+ files: ["**/*.ts", "**/*.tsx"],
+ languageOptions: {
71
+ parser: typescriptESLint.parser,
72
+ parserOptions: {
73
+ projectService: true,
74
+ tsconfigRootDir: import.meta.dirname,
75
+ },
76
77
+})
78
```
79
80
#### Configuration with [Prettier](https://prettier.io/) (recommended)
0 commit comments