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