diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index bc57d11..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1 +0,0 @@ -extends: cheminfo-typescript diff --git a/eslint.config.mjs b/eslint.config.mjs index 44de0bd..9ced323 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,16 +1,9 @@ import cheminfo from 'eslint-config-cheminfo-typescript'; -import globals from 'globals'; export default [ ...cheminfo, { - languageOptions: { - globals: { - // ...globals.node, - }, - }, - rules: { - // "unicorn/no-object-as-default-parameter": "off", - } - } -] \ No newline at end of file + languageOptions: {}, + rules: {}, + }, +]; diff --git a/package.json b/package.json index 3c4f41d..5fc53b4 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ }, "homepage": "https://github.com/mljs/signal-processing#readme", "devDependencies": { - "@vitest/coverage-v8": "^2.1.2", - "eslint": "^9.12.0", + "@vitest/coverage-v8": "^2.1.4", + "eslint": "^9.14.0", "eslint-config-cheminfo-typescript": "^16.0.0", "jest-matcher-deep-close-to": "^3.0.2", "prettier": "^3.3.3", @@ -50,13 +50,13 @@ "ts-jest": "^29.2.5", "typescript": "^5.6.3", "typescript-json-schema": "^0.65.1", - "vitest": "^2.1.2" + "vitest": "^2.1.4" }, "dependencies": { "baselines": "^1.1.9", - "cheminfo-types": "^1.8.0", + "cheminfo-types": "^1.8.1", "ml-gsd": "^12.1.8", "ml-savitzky-golay-generalized": "^4.2.0", - "ml-spectra-processing": "^14.5.3" + "ml-spectra-processing": "^14.6.2" } } diff --git a/src/filterMatrix.ts b/src/filterMatrix.ts index ffec678..0a604d7 100644 --- a/src/filterMatrix.ts +++ b/src/filterMatrix.ts @@ -24,11 +24,11 @@ export function filterMatrix( * throw new Error(`Unknown filter: ${filter.name}`); * } * result = filterFct(result.data, filter.options); - * logs.push({ - name: filter.name, - time: Date.now() - start, - }); - } + * logs.push({ + * name: filter.name, + * time: Date.now() - start, + * }); + * } */ return { logs, data: result.data };