mafintosh / mafintosh/generate-function
Emit 'unsafe-eval' error in atom editor
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
This module trigger 'unsafe-eval' error in environment with permission restrictions like Atom Editor. It cause huge problem in some modules like linter-eslint ([issue](https://github.com/AtomLinter/linter-eslint/issues/253)).
Nodejs' `vm.runInThisContext` method could help to avoid this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the module entry point and the use of generated functions in the repository; the issue does not name specific files or tests. Investigate Node.js vm.runInThisContext in the Atom Editor permission-restricted environment, then verify that the unsafe-eval error no longer affects users such as linter-eslint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100