5
5
GLOB_MARKDOWN ,
6
6
GLOB_MARKDOWN_CODE ,
7
7
GLOB_MARKDOWN_IN_MARKDOWN ,
8
- } from ".." ;
8
+ } from "../globs " ;
9
9
import {
10
10
type FlatConfigItem ,
11
11
type OptionsComponentExts ,
@@ -31,9 +31,7 @@ export async function markdown(
31
31
interopDefault ( import ( "@typescript-eslint/eslint-plugin" ) ) . catch (
32
32
( ) => undefined ,
33
33
) ,
34
- interopDefault ( import ( "eslint-plugin-functional/flat" ) ) . catch (
35
- ( ) => undefined ,
36
- ) ,
34
+ interopDefault ( import ( "eslint-plugin-functional" ) ) . catch ( ( ) => undefined ) ,
37
35
] ) ;
38
36
39
37
return [
@@ -71,6 +69,7 @@ export async function markdown(
71
69
] ,
72
70
languageOptions : {
73
71
parserOptions : {
72
+ project : null ,
74
73
ecmaFeatures : {
75
74
impliedStrict : true ,
76
75
} ,
@@ -80,49 +79,61 @@ export async function markdown(
80
79
...pluginTs ?. configs [ "disable-type-checked" ] ?. rules ,
81
80
...pluginFunctional ?. configs . off . rules ,
82
81
83
- "import/newline-after-import" : "off" ,
82
+ "dot-notation" : "off" ,
83
+ "init-declarations" : "off" ,
84
84
"no-alert" : "off" ,
85
85
"no-console" : "off" ,
86
+ "no-empty-function" : "off" ,
87
+ "no-empty" : "off" ,
88
+ "no-irregular-whitespace" : "off" ,
89
+ "no-invalid-this" : "off" ,
86
90
"no-labels" : "off" ,
87
91
"no-lone-blocks" : "off" ,
88
92
"no-restricted-syntax" : "off" ,
93
+ "no-throw-literal" : "off" ,
89
94
"no-undef" : "off" ,
90
95
"no-unused-expressions" : "off" ,
91
96
"no-unused-labels" : "off" ,
92
97
"no-unused-vars" : "off" ,
93
- "node/prefer-global/process" : "off" ,
94
- "style/comma-dangle" : "off" ,
95
- "style/eol-last" : "off" ,
96
- "ts/consistent-type-imports" : "off" ,
97
- "ts/no-namespace" : "off" ,
98
- "ts/no-redeclare" : "off" ,
99
- "ts/no-require-imports" : "off" ,
100
- "ts/no-unused-vars" : "off" ,
101
- "ts/no-use-before-define" : "off" ,
102
- "ts/no-var-requires" : "off" ,
98
+ "no-useless-return" : "off" ,
99
+ "prefer-const" : "off" ,
103
100
"unicode-bom" : "off" ,
104
- "dot-notation" : "off" ,
101
+
105
102
"import/extensions" : "off" ,
103
+ "import/newline-after-import" : "off" ,
104
+ "import/no-extraneous-dependencies" : "off" ,
106
105
"import/no-unresolved" : "off" ,
107
- "init-declarations" : "off" ,
106
+
108
107
"jsdoc/require-jsdoc" : "off" ,
109
- "n/handle-callback-err" : "off" ,
110
- "no-empty-function" : "off" ,
111
- "no-empty" : "off" ,
112
- "no-invalid-this" : "off" ,
113
- "no-throw-literal" : "off" ,
114
- "no-useless-return" : "off" ,
115
- "prefer-const" : "off" ,
108
+
109
+ "node/handle-callback-err" : "off" ,
110
+ "node/prefer-global/process" : "off" ,
111
+
116
112
"prettier/prettier" : "off" ,
117
- "sonarjs/no-extra-arguments" : "off" ,
118
- "sonarjs/no-unused-collection" : "off" ,
113
+
114
+ "sonar/no-extra-arguments" : "off" ,
115
+ "sonar/no-unused-collection" : "off" ,
116
+
117
+ "style/comma-dangle" : "off" ,
118
+ "style/eol-last" : "off" ,
119
+
119
120
"ts/consistent-generic-constructors" : "off" ,
121
+ "ts/consistent-indexed-object-style" : "off" ,
120
122
"ts/consistent-type-definitions" : "off" ,
123
+ "ts/consistent-type-imports" : "off" ,
121
124
"ts/explicit-member-accessibility" : "off" ,
122
125
"ts/no-empty-function" : "off" ,
123
126
"ts/no-explicit-any" : "off" ,
127
+ "ts/no-namespace" : "off" ,
128
+ "ts/no-redeclare" : "off" ,
129
+ "ts/no-require-imports" : "off" ,
124
130
"ts/no-unused-expressions" : "off" ,
131
+ "ts/no-unused-vars" : "off" ,
132
+ "ts/no-use-before-define" : "off" ,
133
+ "ts/no-var-requires" : "off" ,
134
+ "ts/prefer-for-of" : "off" ,
125
135
"ts/prefer-function-type" : "off" ,
136
+
126
137
"unicorn/prefer-optional-catch-binding" : "off" ,
127
138
"unicorn/prefer-top-level-await" : "off" ,
128
139
"unicorn/switch-case-braces" : "off" ,
0 commit comments