Loading .eslintrc.js +4 −4 Original line number Original line Diff line number Diff line module.exports = { module.exports = { root: true, root: true, env: { env: { node: true node: true, }, }, extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'], extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'], parserOptions: { parserOptions: { parser: 'babel-eslint' parser: 'babel-eslint', }, }, rules: { rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-unused-vars': 'warn' 'no-unused-vars': 'warn', } }, } } .prettierrc.js +2 −1 Original line number Original line Diff line number Diff line module.exports = { module.exports = { singleQuote: true, singleQuote: true, semi: false, semi: false, }; endOfLine: 'auto', } src/components/Stick.vue +9 −9 Original line number Original line Diff line number Diff line Loading @@ -63,15 +63,15 @@ export default { props: { props: { stickID: { stickID: { type: String, type: String, required: true required: true, } }, }, }, components: { components: { StickView, StickView, ChevronDownIcon, ChevronDownIcon, ChevronRightIcon, ChevronRightIcon, ChevronDoubleDownIcon, ChevronDoubleDownIcon, ChevronDoubleUpIcon ChevronDoubleUpIcon, }, }, computed: { computed: { active() { active() { Loading @@ -98,12 +98,12 @@ export default { set(value) { set(value) { this.$store.dispatch('setStickStatusGUI', { this.$store.dispatch('setStickStatusGUI', { statusGUI: value, statusGUI: value, stickID: this.stickID stickID: this.stickID, }) }) } } }, }, methods: {} }, }, methods: {}, } } </script> </script> Loading Loading
.eslintrc.js +4 −4 Original line number Original line Diff line number Diff line module.exports = { module.exports = { root: true, root: true, env: { env: { node: true node: true, }, }, extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'], extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'], parserOptions: { parserOptions: { parser: 'babel-eslint' parser: 'babel-eslint', }, }, rules: { rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-unused-vars': 'warn' 'no-unused-vars': 'warn', } }, } }
.prettierrc.js +2 −1 Original line number Original line Diff line number Diff line module.exports = { module.exports = { singleQuote: true, singleQuote: true, semi: false, semi: false, }; endOfLine: 'auto', }
src/components/Stick.vue +9 −9 Original line number Original line Diff line number Diff line Loading @@ -63,15 +63,15 @@ export default { props: { props: { stickID: { stickID: { type: String, type: String, required: true required: true, } }, }, }, components: { components: { StickView, StickView, ChevronDownIcon, ChevronDownIcon, ChevronRightIcon, ChevronRightIcon, ChevronDoubleDownIcon, ChevronDoubleDownIcon, ChevronDoubleUpIcon ChevronDoubleUpIcon, }, }, computed: { computed: { active() { active() { Loading @@ -98,12 +98,12 @@ export default { set(value) { set(value) { this.$store.dispatch('setStickStatusGUI', { this.$store.dispatch('setStickStatusGUI', { statusGUI: value, statusGUI: value, stickID: this.stickID stickID: this.stickID, }) }) } } }, }, methods: {} }, }, methods: {}, } } </script> </script> Loading