Skip to content

Commit 322b664

Browse files
authored
creator: Skip TypeScript lint for generated code (#156)
When using an IDE for this template, the linter also checks generated JavaScript, giving many non-sense errors like duplicated variable names. Exclude generated code to tell the linter to ignore it.
1 parent ef59024 commit 322b664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frida_tools/creator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def _generate_agent(self) -> Tuple[Dict[str, str], str]:
9999
"strict": true,
100100
"esModuleInterop": true,
101101
"moduleResolution": "node16"
102-
}
102+
},
103+
"exclude": ["_agent.js"]
103104
}
104105
"""
105106

0 commit comments

Comments
 (0)