File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,16 +30,13 @@ export default [
3030 } ,
3131 rules : {
3232 ...reactHooks . configs . recommended . rules ,
33- "react-refresh/only-export-components" : [
34- "warn" ,
35- { allowConstantExport : true } ,
36- ] ,
33+ "react-refresh/only-export-components" : "off" ,
3734 "react-compiler/react-compiler" : "error" ,
3835 "prettier/prettier" : "error" ,
3936 "@typescript-eslint/no-explicit-any" : "off" ,
4037 "@typescript-eslint/no-empty-object-type" : "off" ,
4138 "@typescript-eslint/ban-ts-comment" : "off" ,
42- "react-hooks/exhaustive-deps" : "warn " ,
39+ "react-hooks/exhaustive-deps" : "off " ,
4340 "@typescript-eslint/no-unused-vars" : "off" ,
4441 "unused-imports/no-unused-imports" : "error" ,
4542 "unused-imports/no-unused-vars" : [
Original file line number Diff line number Diff line change @@ -203,24 +203,3 @@ export function normalizeText(
203203
204204 return tokens ;
205205}
206-
207- /**
208- * Create a searchable index from text
209- * Returns a Set of normalized tokens for fast lookup
210- */
211- export function createSearchIndex (
212- text : string ,
213- options ?: NormalizeOptions
214- ) : Set < string > {
215- return new Set ( normalizeText ( text , options ) ) ;
216- }
217-
218- /**
219- * Check if any tokens from query match any tokens in target
220- */
221- export function matchesQuery (
222- targetTokens : Set < string > ,
223- queryTokens : string [ ]
224- ) : boolean {
225- return queryTokens . some ( ( token ) => targetTokens . has ( token ) ) ;
226- }
You can’t perform that action at this time.
0 commit comments