Skip to content

Commit

Permalink
Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
tentone committed Aug 11, 2024
1 parent 22240ed commit 2b630ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
ecmaVersion: 2020,
sourceType: "module"
},
ignores: ['LASLAZWorker.js'],
ignores: ['source/loading2/**'],
rules: {
'arrow-body-style': ['error', 'always'],
'arrow-parens': 'error',
Expand All @@ -15,7 +15,7 @@ export default {
semi: ['error', 'always'],
'constructor-super': 'error',
curly: 'error',
eqeqeq: 'error',
eqeqeq: ['error', 'smart'],
'guard-for-in': 'off',
'id-blacklist': 'off',
'id-match': 'off',
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"copy-webpack-plugin": "11.0.0",
"css-loader": "6.7.3",
"eslint": "9.9.0",
"eslint-plugin-tsdoc": "0.3.0",
"eslint-plugin-typescript": "0.14.0",
"html-loader": "4.2.0",
"html-webpack-plugin": "5.5.0",
Expand Down
4 changes: 2 additions & 2 deletions source/utils/binary-heap.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ BinaryHeap.prototype = {
// it.
for (var i = 0; i < length; i++)
{
if (this.content[i] != node) {continue;}
if (this.content[i] !== node) {continue;}
// When it is found, the process seen in 'pop' is repeated
// to fill up the hole.
var end = this.content.pop();
// If the element we popped was the one we needed to remove,
// we're done.
if (i == length - 1) {break;}
if (i === length - 1) {break;}
// Otherwise, we replace the removed element with the popped
// one, and allow it to float up or sink down as appropriate.
this.content[i] = end;
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"experimentalDecorators": true,
"typeRoots": ["node_modules/@types"],
"lib": ["es2017", "dom"],
"plugins": [],
"esModuleInterop": true
"plugins": []
},
"include": ["source/**/*.ts"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 2b630ee

Please sign in to comment.