Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit with ESlint --fix having been ran #326

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,12 @@
"error",
2
],
"quotes": [
"error",
"single"
],
"quotes": "off",
"semi": [
"error",
"always"
]
],
"no-trailing-spaces": ["error"]
}
},
"jest": {
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<MsieBanner v-if="isIE"/>
<Header/>
<SnackBar></SnackBar>
<NavBar v-if="pageTitle && isAuthenticated && showNavBar" :title="pageTitle"/>
<NavBar v-if="pageTitle && isAuthenticated && showNavBar" :title="pageTitle"/>
<v-main fluid class="align-start">
<v-app-bar v-if="bannerColor !== ''"
style="color:white;"
Expand All @@ -18,7 +18,7 @@
</v-main>
<Footer/>


</v-app>
</template>

Expand Down Expand Up @@ -48,7 +48,7 @@ export default {
},
computed: {
...mapGetters('auth', ['isAuthenticated', 'loginError', 'isLoading']),

...mapState('app', ['pageTitle', 'showNavBar']),
isIE() {
return /Trident\/|MSIE/.test(window.navigator.userAgent);
Expand Down Expand Up @@ -76,7 +76,7 @@ export default {
}
}).finally(() => {
this.setLoading(false);
});
});
this.setLoading(false);
}
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/common/apiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
console.log(`Failed to get from Nodejs getLookups API - ${e}`);
throw e;
}
},
},

async getConfig(configName) {
try {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/CCFRIApplicationForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<v-toolbar color="red" absolute right class="hidden-md-and-up" @click.stop="drawer = !drawer">

<v-toolbar-side-icon

@click.stop="drawer = !drawer"
></v-toolbar-side-icon>
</v-toolbar>
Expand Down
34 changes: 17 additions & 17 deletions frontend/src/components/CcfriEstimator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
Total number of children</span>
</v-col>
<v-col cols="4" class="pb-0">
<v-text-field
<v-text-field
id="totNumberOfChildren"
@change="updateNumberOfChildSubForms"
@keypress="numberFilter"
Expand Down Expand Up @@ -223,7 +223,7 @@
</v-row>
<!-- ******************************************************************************************************************************************************** -->
<!-- **** CHILD X: PART TIME CARE SCHEDULE ****************************************************************************************************************** -->
<!-- ******************************************************************************************************************************************************** -->
<!-- ******************************************************************************************************************************************************** -->
<v-row v-if="child.careSchedule == 'Part Time'">
<v-col class="d-flex wrap justify-center" style="padding-top:0px;padding-bottom:16px">
<div class="d-flex wrap" style="align-content:center;flex-wrap:wrap;">
Expand All @@ -244,10 +244,10 @@
<v-list-item-content>
<v-list-item-title v-text="item.type"></v-list-item-title>
</v-list-item-content>

</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand All @@ -258,16 +258,16 @@
</v-card>

<v-spacer></v-spacer>

<v-card>
<v-toolbar
<v-toolbar
color="#431782"
>
<v-spacer></v-spacer>
<v-toolbar-title>Tuesday</v-toolbar-title>
<v-spacer></v-spacer>
</v-toolbar>

<v-list>
<v-list-item-group
v-model="child.selectedCareType[1]"
Expand All @@ -281,7 +281,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand All @@ -291,7 +291,7 @@
</v-list>
</v-card>
<v-spacer></v-spacer>

<v-card max-width="">
<v-toolbar
color="#431782"
Expand All @@ -300,7 +300,7 @@
<v-toolbar-title>Wednesday</v-toolbar-title>
<v-spacer></v-spacer>
</v-toolbar>

<v-list>
<v-list-item-group
v-model="child.selectedCareType[2]"
Expand All @@ -314,7 +314,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand Down Expand Up @@ -347,7 +347,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand Down Expand Up @@ -379,7 +379,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand Down Expand Up @@ -410,7 +410,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand Down Expand Up @@ -442,7 +442,7 @@
</v-list-item-content>
</template>
</v-list-item>

<v-divider
v-if="index < careTypes.length - 1"
:key="index"
Expand Down Expand Up @@ -662,7 +662,7 @@
</v-col>
<v-col cols="4" class="pb-0">
<v-text-field
id="partTimeFee"
id="partTimeFee"
@keypress="currencyFilter"
@change="truncateLeadingZerosDecimals(child.number)"
v-model="child.partTimeFee"
Expand Down Expand Up @@ -1323,7 +1323,7 @@ export default {
},
decimalExists: function(n) {
if (n != null && n != undefined) {
return (n - Math.floor(n)) !== 0;
return (n - Math.floor(n)) !== 0;
}
}
},
Expand Down
Loading