diff --git a/eslint.config.js b/eslint.config.js index b60fedf4..2aeebdfd 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -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', @@ -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', diff --git a/package.json b/package.json index 1eda9c43..088f8011 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/source/utils/binary-heap.js b/source/utils/binary-heap.js index 3e45af2c..dd633993 100644 --- a/source/utils/binary-heap.js +++ b/source/utils/binary-heap.js @@ -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; diff --git a/tsconfig.json b/tsconfig.json index 1cf9b8a6..2b3a6ed4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,8 +18,7 @@ "experimentalDecorators": true, "typeRoots": ["node_modules/@types"], "lib": ["es2017", "dom"], - "plugins": [], - "esModuleInterop": true + "plugins": [] }, "include": ["source/**/*.ts"], "exclude": ["node_modules"]