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() {
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)

View File

@@ -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>

View File

@@ -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,
},

View File

@@ -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").wrappers

View File

@@ -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

View File

@@ -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 {