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
### Config - Flat with `config()` in `typescript-eslint`
195
+
196
+
If you are using the `config` method from [`typescript-eslint`](https://github.com/typescript-eslint/typescript-eslint), ensure that the `flatConfig` is included within the `extends` array.
197
+
198
+
```js
199
+
importtseslintfrom'typescript-eslint';
200
+
importimportPluginfrom'eslint-plugin-import';
201
+
importjsfrom'@eslint/js';
202
+
203
+
exportdefaulttseslint.config(
204
+
js.configs.recommended,
205
+
// other configs...
206
+
{
207
+
files: ['**/*.{ts,tsx}'],
208
+
extends: [importPlugin.flatConfigs.recommended],
209
+
// other configs...
210
+
}
211
+
);
212
+
```
213
+
194
214
## Resolvers
195
215
196
216
With the advent of module bundlers and the current state of modules and module
0 commit comments