Skip to content

Commit

Permalink
creator: Skip TypeScript lint for generated code (#156)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ChiChou authored and oleavr committed May 17, 2024
1 parent f5f7b1f commit c384345
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frida_tools/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def _generate_agent(self) -> Tuple[Dict[str, str], str]:
"strict": true,
"esModuleInterop": true,
"moduleResolution": "node16"
}
},
"exclude": ["_agent.js"]
}
"""

Expand Down

0 comments on commit c384345

Please sign in to comment.