Skip to content

Commit

Permalink
Merge pull request #652 from CesiumGS/update-prettier
Browse files Browse the repository at this point in the history
Update prettier
  • Loading branch information
mramato authored Jan 3, 2024
2 parents 79024c6 + b907f8e commit adcfeff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bin/gltf-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ const run = inputIsBinary
? processGlb
: glbToGltf
: outputIsBinary
? gltfToGlb
: processGltf;
? gltfToGlb
: processGltf;

function saveSeparateResources(separateResources) {
const resourcePromises = [];
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*eslint-disable global-require*/
/*eslint-disable n/global-require*/
"use strict";
module.exports = {
getStatistics: require("./lib/getStatistics"),
Expand Down
5 changes: 2 additions & 3 deletions lib/removeUnusedElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,8 @@ getListOfElementsIdsInUse.buffer = function (gltf) {
defined(bufferView.extensions) &&
defined(bufferView.extensions.EXT_meshopt_compression)
) {
usedBufferIds[
bufferView.extensions.EXT_meshopt_compression.buffer
] = true;
usedBufferIds[bufferView.extensions.EXT_meshopt_compression.buffer] =
true;
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"jasmine-spec-reporter": "^7.0.0",
"jsdoc": "^4.0.0",
"nyc": "^15.1.0",
"prettier": "3.0.3",
"prettier": "3.1.1",
"lint-staged": "^15.0.2"
},
"lint-staged": {
Expand Down

0 comments on commit adcfeff

Please sign in to comment.