Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Remcoman committed Oct 23, 2023
1 parent f75e2e8 commit a667ddc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@ module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended'
'eslint:recommended',
'plugin:cypress/recommended'
],
env: {
"browser": true,
"node": true,
},
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
"cypress/no-unnecessary-waiting": 0,
"cypress/unsafe-to-chain-command": 0,
"no-unused-vars": 1,
"vue/no-mutating-props": 0
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
"vite": "^4.4.6",
"vitest": "^0.34.6"
}
}
}
2 changes: 1 addition & 1 deletion src/components/MapFillWindowControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
this.windowHeight = window.innerHeight
})
},
beforeDestroy () {
beforeUnmount () {
window.removeEventListener(this.listener)
},
methods: {
Expand Down

0 comments on commit a667ddc

Please sign in to comment.