diff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vue index acc8b565..462a3459 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 intersection this.$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.vue index e3acbe84..6a7669fb 100644 --- a/components/firebase/Feeds.vue +++ b/components/firebase/Feeds.vue @@ -28,19 +28,6 @@ - - + + diff --git a/components/graphql/TypeLink.vue b/components/graphql/TypeLink.vue index 7e0b50de..243f11c0 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-prop gqlType: null, // (typeName: string) => void + // eslint-disable-next-line vue/require-default-prop jumpTypeCallback: Function, }, diff --git a/components/smart/__tests__/UrlField.spec.js b/components/smart/__tests__/UrlField.spec.js index eb340fd5..5219a3f1 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/<>/<>", // }) - // + // // console.log(wrapper.html()) // const highlights = wrapper.findAll(".VAR").wrappers diff --git a/helpers/jsonParse.js b/helpers/jsonParse.js index 3250f93a..d196e3cc 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-declarations const token = curToken() lex() return token diff --git a/netlify/api.js b/netlify/api.js index 5e95b833..8bb25dec 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 {