chore: lint

This commit is contained in:
liyasthomas
2021-05-22 20:50:23 +05:30
parent 3ac9a418e6
commit 454c11a12c
6 changed files with 21 additions and 18 deletions

View File

@@ -63,7 +63,7 @@ export default {
}, },
data() { data() {
return { return {
skipTeamsFetching: true skipTeamsFetching: true,
} }
}, },
subscriptions() { subscriptions() {
@@ -85,14 +85,14 @@ export default {
pollInterval: 10000, pollInterval: 10000,
skip() { skip() {
return this.skipTeamsFetching return this.skipTeamsFetching
} },
}, },
}, },
methods: { methods: {
onTeamSelectIntersect() { onTeamSelectIntersect() {
// Load team data as soon as intersection // Load team data as soon as intersection
this.$apollo.queries.myTeams.refetch() this.$apollo.queries.myTeams.refetch()
this.skipTeamsFetching = false this.skipTeamsFetching = false
}, },
updateCollectionsType(tabID) { updateCollectionsType(tabID) {
this.$emit("update-collection-type", tabID) this.$emit("update-collection-type", tabID)

View File

@@ -28,19 +28,6 @@
</ul> </ul>
</template> </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> <script>
import { fb } from "~/helpers/fb" import { fb } from "~/helpers/fb"
@@ -60,3 +47,16 @@ export default {
}, },
} }
</script> </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>

View File

@@ -13,8 +13,10 @@ import { GraphQLScalarType } from "graphql"
export default { export default {
props: { props: {
// eslint-disable-next-line vue/require-default-prop
gqlType: null, gqlType: null,
// (typeName: string) => void // (typeName: string) => void
// eslint-disable-next-line vue/require-default-prop
jumpTypeCallback: Function, jumpTypeCallback: Function,
}, },

View File

@@ -24,7 +24,7 @@ describe("url-field", () => {
// const wrapper = factory({ // const wrapper = factory({
// value: "https://hoppscotch.io/<<testa>>/<<testb>>", // value: "https://hoppscotch.io/<<testa>>/<<testb>>",
// }) // })
// //
// console.log(wrapper.html()) // console.log(wrapper.html())
// const highlights = wrapper.findAll(".VAR").wrappers // const highlights = wrapper.findAll(".VAR").wrappers

View File

@@ -106,6 +106,7 @@ function parseVal() {
case "Number": case "Number":
case "Boolean": case "Boolean":
case "Null": case "Null":
// eslint-disable-next-line no-case-declarations
const token = curToken() const token = curToken()
lex() lex()
return token return token

View File

@@ -1,5 +1,5 @@
// Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method // 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) { switch (event.httpMethod) {
case "GET": case "GET":
try { try {