Happifies eslint and adds an editorconfig
This commit is contained in:
9
.editorconfig
Normal file
9
.editorconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,vue}]
|
||||
indent_style = tab
|
||||
@@ -27,11 +27,11 @@
|
||||
v-bind:class="{ 'nav-hidden': navHidden, 'sidebar-hidden': sidebarHidden }">
|
||||
<AppNavigation :menu="menu" />
|
||||
<div id="app-content">
|
||||
<Controls></Controls>
|
||||
<Controls />
|
||||
<router-view />
|
||||
</div>
|
||||
<div id="app-sidebar">
|
||||
<component v-bind:is="sidebarComponent"></component>
|
||||
<component v-bind:is="sidebarComponent" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
<template>
|
||||
|
||||
<div>
|
||||
<div id="app-navigation-toggle-custom" class="icon-menu" v-on:click="toggleNav"></div>
|
||||
<div id="app-navigation-toggle-custom" class="icon-menu" v-on:click="toggleNav" />
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Controls",
|
||||
name: 'Controls',
|
||||
methods: {
|
||||
toggleNav() {
|
||||
this.$store.dispatch('nav/toggle')
|
||||
|
||||
@@ -57,22 +57,26 @@ let defaultCategories = [
|
||||
|
||||
const boardActions = [
|
||||
{
|
||||
action: () => {},
|
||||
action: () => {
|
||||
},
|
||||
icon: 'icon-edit',
|
||||
text: t('deck', 'Edit board')
|
||||
},
|
||||
{
|
||||
action: () => {},
|
||||
action: () => {
|
||||
},
|
||||
icon: 'icon-archive',
|
||||
text: t('deck', 'Archive board')
|
||||
},
|
||||
{
|
||||
action: () => {},
|
||||
action: () => {
|
||||
},
|
||||
icon: 'icon-delete',
|
||||
text: t('deck', 'Delete board')
|
||||
},
|
||||
{
|
||||
action: () => {},
|
||||
action: () => {
|
||||
},
|
||||
icon: 'icon-settings',
|
||||
text: t('deck', 'Board details')
|
||||
}
|
||||
@@ -97,7 +101,8 @@ const boards = [
|
||||
const addButton = {
|
||||
icon: 'icon-add',
|
||||
text: t('deck', 'Create new board'),
|
||||
action: () => {}
|
||||
action: () => {
|
||||
}
|
||||
}
|
||||
|
||||
// initial state
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// initial state
|
||||
const state = {
|
||||
hidden: true,
|
||||
|
||||
Reference in New Issue
Block a user