Skip to content

Commit

Permalink
fix(eslint-config/functional): disable ts rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Jul 31, 2024
1 parent c9ae3d4 commit a0d4491
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/eslint-config/src/configs/functional.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ESLint, Linter } from 'eslint'

import { GLOB_TS, GLOB_TSX } from '@antfu/eslint-config'
// import { GLOB_TS, GLOB_TSX } from '@antfu/eslint-config'
import functionalPlugin from 'eslint-plugin-functional/flat'

import type { Options } from '../options'
Expand All @@ -18,9 +18,10 @@ export const functional = (option: Exclude<Options['functional'], false>): Linte
name: 'importantimport/functional/rules-javascript',
rules: functionalPlugin.configs.externalVanillaRecommended.rules,
},
{
files: [GLOB_TS, GLOB_TSX],
name: 'importantimport/functional/rules-typescript',
rules: functionalPlugin.configs.externalTypescriptRecommended.rules,
},
// FIXME: use this when tsconfigPath is set
// {
// files: [GLOB_TS, GLOB_TSX],
// name: 'importantimport/functional/rules-typescript',
// rules: functionalPlugin.configs.externalTypescriptRecommended.rules,
// },
]

0 comments on commit a0d4491

Please sign in to comment.