Skip to content

Commit

Permalink
Tweak linting
Browse files Browse the repository at this point in the history
  • Loading branch information
remcoder committed Oct 31, 2023
1 parent d02caf8 commit f8306fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
"trailingComma": "none",
"semi": true,
"endOfLine": "lf",
"printWidth": 120,
"spaceBeforeFunctionParen": false
"printWidth": 120
}
3 changes: 2 additions & 1 deletion demo/js/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let lastSegmentColor = new THREE.Color(`hsl(270, 100%, 100%)`).getHex();
topLayerColorInput.value = '#' + new THREE.Color(topLayerColor).getHexString();
lastSegmentColorInput.value = '#' + new THREE.Color(lastSegmentColor).getHexString();

// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
function initDemo() {
// eslint-disable-line no-unused-vars, @typescript-eslint/no-unused-vars
const settings = JSON.parse(localStorage.getItem('settings'));
Expand Down Expand Up @@ -249,8 +250,8 @@ function updateUI() {
}
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
async function loadGCodeFromServer(file) {
// eslint-disable-line no-unused-vars, @typescript-eslint/no-unused-vars
const response = await fetch(file);

if (response.status !== 200) {
Expand Down

0 comments on commit f8306fd

Please sign in to comment.