mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 11:00:50 +00:00
fixed lint erros
This commit is contained in:
parent
151605c63f
commit
f0187e3baf
6 changed files with 11 additions and 10 deletions
|
|
@ -7,7 +7,14 @@
|
||||||
"extends": ["plugin:vue/essential", "eslint:recommended"],
|
"extends": ["plugin:vue/essential", "eslint:recommended"],
|
||||||
"plugins": ["@vue"],
|
"plugins": ["@vue"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": "off"
|
"no-console": "off",
|
||||||
|
"no-unused-vars": [
|
||||||
|
"off",
|
||||||
|
{
|
||||||
|
"args": "after-used",
|
||||||
|
"ignoreRestSiblings": true
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"parser": "babel-eslint",
|
"parser": "babel-eslint",
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,7 @@ import Spinner from '@/components/Spinner.vue'
|
||||||
import ChangeLog from '@/components/ChangeLog.vue'
|
import ChangeLog from '@/components/ChangeLog.vue'
|
||||||
import changelog from '@/changelog.js'
|
import changelog from '@/changelog.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {},
|
||||||
Spinner,
|
|
||||||
ChangeLog
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
changelog: changelog[0]
|
changelog: changelog[0]
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ import Tab from './Tab.vue'
|
||||||
import FriendsTemplate from './FriendsTemplate.vue'
|
import FriendsTemplate from './FriendsTemplate.vue'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
Tab,
|
|
||||||
FriendsTemplate
|
FriendsTemplate
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.input {
|
.input {
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ export default (message) => {
|
||||||
|
|
||||||
futoji.addTransformer({
|
futoji.addTransformer({
|
||||||
name: 'code-block',
|
name: 'code-block',
|
||||||
symbol: '``\`',
|
symbol: '```',
|
||||||
recursive: false,
|
recursive: false,
|
||||||
transformer: text => `<div class="codeblock"><code>${formatCode(text.trim())}</code></div>`,
|
transformer: text => `<div class="codeblock"><code>${formatCode(text.trim())}</code></div>`,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<script>
|
<script>
|
||||||
import {bus} from '../main'
|
import {bus} from '../main'
|
||||||
import Settings from '@/components/app/Settings.vue'
|
import Settings from '@/components/app/Settings.vue'
|
||||||
import GDriveLinkMenu from '@/components/app/GDriveLinkMenu.vue'
|
// import GDriveLinkMenu from '@/components/app/GDriveLinkMenu.vue'
|
||||||
import LeftPanel from './../components/app/LeftPanel.vue'
|
import LeftPanel from './../components/app/LeftPanel.vue'
|
||||||
import RightPanel from './../components/app/RightPanel.vue'
|
import RightPanel from './../components/app/RightPanel.vue'
|
||||||
import ConnectingScreen from './../components/app/ConnectingScreen.vue'
|
import ConnectingScreen from './../components/app/ConnectingScreen.vue'
|
||||||
|
|
@ -35,7 +35,6 @@ export default {
|
||||||
RightPanel,
|
RightPanel,
|
||||||
ConnectingScreen,
|
ConnectingScreen,
|
||||||
Settings,
|
Settings,
|
||||||
GDriveLinkMenu
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue