File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { type Linter } from "@typescript-eslint/utils/ts-eslint" ;
2
+
3
+ import { rules } from "#eslint-plugin-functional/rules" ;
4
+
5
+ const config : Linter . Config = {
6
+ rules : Object . fromEntries (
7
+ Object . entries ( rules )
8
+ . filter ( ( [ , rule ] ) => rule . meta . docs ?. requiresTypeChecking === true )
9
+ . map ( ( [ name ] ) => [ `functional/${ name } ` , "off" ] ) ,
10
+ ) ,
11
+ } ;
12
+
13
+ export default config ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { type Linter } from "@typescript-eslint/utils/ts-eslint";
2
2
3
3
import all from "#eslint-plugin-functional/configs/all" ;
4
4
import currying from "#eslint-plugin-functional/configs/currying" ;
5
+ import disableTypeChecked from "#eslint-plugin-functional/configs/disable-type-checked" ;
5
6
import externalTypeScriptRecommended from "#eslint-plugin-functional/configs/external-typescript-recommended" ;
6
7
import externalVanillaRecommended from "#eslint-plugin-functional/configs/external-vanilla-recommended" ;
7
8
import lite from "#eslint-plugin-functional/configs/lite" ;
@@ -23,6 +24,7 @@ const config: Linter.Plugin = {
23
24
recommended,
24
25
strict,
25
26
off,
27
+ "disable-type-checked" : disableTypeChecked ,
26
28
"external-vanilla-recommended" : externalVanillaRecommended ,
27
29
"external-typescript-recommended" : externalTypeScriptRecommended ,
28
30
currying,
You can’t perform that action at this time.
0 commit comments