Skip to content

Commit fd9326c

Browse files
committed
chore: enable TS import rules in eslint.config.mjs
1 parent 1dfd000 commit fd9326c

File tree

3 files changed

+3140
-107
lines changed

3 files changed

+3140
-107
lines changed

eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import eslint from '@eslint/js'
2626
import { defineConfig } from 'eslint/config'
2727
import tseslint from 'typescript-eslint'
28+
import importPlugin from 'eslint-plugin-import'
2829

2930
export default defineConfig([
3031
{
@@ -46,6 +47,10 @@ export default defineConfig([
4647

4748
{
4849
files: ['**/*.ts'],
50+
extends: [
51+
// importPlugin.flatConfigs.recommended,
52+
importPlugin.flatConfigs.typescript
53+
],
4954
languageOptions: {
5055
parser: tseslint.parser,
5156
parserOptions: {

0 commit comments

Comments
 (0)