Browse Source

refactor(gui): update eslint rules

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/360/head
Pranav C 3 years ago
parent
commit
59f55e4595
  1. 8
      packages/nc-gui/.eslintrc.json
  2. 3
      packages/nc-gui/components/apiClient/headers.vue
  3. 2
      packages/nc-gui/components/apiClient/params.vue
  4. 2
      packages/nc-gui/components/project/dlgs/dlgAddRelation.vue

8
packages/nc-gui/.eslintrc.json

@ -13,9 +13,11 @@
],
"rules": {
"no-console": "off",
// "space-before-function-paren": "off",
"require-await": "off",
"vue/no-mutating-props": "off"
"space-before-function-paren": [
"error",
"never"
],
"require-await": "off"
},
"parserOptions": {
"parser": "babel-eslint",

3
packages/nc-gui/components/apiClient/headers.vue

@ -1,4 +1,5 @@
<template>
<!-- eslint-disable -->
<!-- todo: update prop mutation with emit --><template>
<v-container fluid>
<v-simple-table class="ignore-height-style" dense>
<template #default>

2
packages/nc-gui/components/apiClient/params.vue

@ -1,3 +1,5 @@
<!-- eslint-disable -->
<!-- todo: update prop mutation with emit -->
<template>
<v-container fluid>
<v-simple-table class="ignore-height-style params-table" style="" dense>

2
packages/nc-gui/components/project/dlgs/dlgAddRelation.vue

@ -1,7 +1,7 @@
<template>
<v-row justify="center">
<v-dialog
v-model="dialogShow"
:value="dialogShow"
persistent
max-width="600"
@keydown.esc="mtdDialogCancel()"

Loading…
Cancel
Save