Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: lint
liyasthomas454c11a12cea
diff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vueindex acc8b565d..462a34590 100644--- a/components/collections/ChooseType.vue+++ b/components/collections/ChooseType.vue@@ -63,7 +63,7 @@ export default {},data() {return {- skipTeamsFetching: true+ skipTeamsFetching: true,}},subscriptions() {@@ -85,14 +85,14 @@ export default {pollInterval: 10000,skip() {return this.skipTeamsFetching- }+ },},},methods: {onTeamSelectIntersect() {// Load team data as soon as intersectionthis.$apollo.queries.myTeams.refetch()- this.skipTeamsFetching = false+ this.skipTeamsFetching = false},updateCollectionsType(tabID) {this.$emit("update-collection-type", tabID)diff --git a/components/firebase/Feeds.vue b/components/firebase/Feeds.vueindex e3acbe84c..6a7669fb3 100644--- a/components/firebase/Feeds.vue+++ b/components/firebase/Feeds.vue@@ -28,19 +28,6 @@</ul></template>-<style scoped lang="scss">-.virtual-list {- max-height: calc(100vh - 270px);-}--.clamb-3 {- display: -webkit-box;- -webkit-line-clamp: 3;- -webkit-box-orient: vertical;- @apply overflow-hidden;-}-</style>-<script>import { fb } from "~/helpers/fb"@@ -60,3 +47,16 @@ export default {},}</script>++<style scoped lang="scss">+.virtual-list {+ max-height: calc(100vh - 270px);+}++.clamb-3 {+ display: -webkit-box;+ -webkit-line-clamp: 3;+ -webkit-box-orient: vertical;+ @apply overflow-hidden;+}+</style>diff --git a/components/graphql/TypeLink.vue b/components/graphql/TypeLink.vueindex 7e0b50de9..243f11c07 100644--- a/components/graphql/TypeLink.vue+++ b/components/graphql/TypeLink.vue@@ -13,8 +13,10 @@ import { GraphQLScalarType } from "graphql"export default {props: {+ // eslint-disable-next-line vue/require-default-propgqlType: null,// (typeName: string) => void+ // eslint-disable-next-line vue/require-default-propjumpTypeCallback: Function,},diff --git a/components/smart/__tests__/UrlField.spec.js b/components/smart/__tests__/UrlField.spec.jsindex eb340fd55..5219a3f16 100644--- a/components/smart/__tests__/UrlField.spec.js+++ b/components/smart/__tests__/UrlField.spec.js@@ -24,7 +24,7 @@ describe("url-field", () => {// const wrapper = factory({// value: "https://hoppscotch.io/<<testa>>/<<testb>>",// })- //+ //// console.log(wrapper.html())// const highlights = wrapper.findAll(".VAR").wrappersdiff --git a/helpers/jsonParse.js b/helpers/jsonParse.jsindex 3250f93a8..d196e3cc1 100644--- a/helpers/jsonParse.js+++ b/helpers/jsonParse.js@@ -106,6 +106,7 @@ function parseVal() {case "Number":case "Boolean":case "Null":+ // eslint-disable-next-line no-case-declarationsconst token = curToken()lex()return tokendiff --git a/netlify/api.js b/netlify/api.jsindex 5e95b8332..8bb25deca 100644--- a/netlify/api.js+++ b/netlify/api.js@@ -1,5 +1,5 @@// Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method-exports.handler = async (event, context) => {+exports.handler = (event) => {switch (event.httpMethod) {case "GET":try {