mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #1040] [MERGED] Basic linting for JS code #3022
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3022
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/1040
Author: @AndrewBastin
Created: 8/2/2020
Status: ✅ Merged
Merged: 8/2/2020
Merged by: @AndrewBastin
Base:
master← Head:feat/js-linting📝 Commits (5)
b1d3fa3Handled error handling to pre-request script executionda9e599Added esprima as dependencyec99b48Added JS linting to Ace Editor3c3e8a6Move JS linting code to separate component45f1e38PreReq scripts and Test scripts now use JSEditor📊 Changes
4 files changed (+167 additions, -17 deletions)
View changed files
➕
components/ui/js-editor.vue(+147 -0)📝
helpers/preRequest.js(+15 -13)📝
package.json(+1 -0)📝
pages/index.vue(+4 -4)📄 Description
This PR intends to add basic syntax linting for JavaScript code (Pre-req scripts and Test scripts) with some help from Esprima.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.