From 336ef2b4177268cc42773dfff699b43defae672e Mon Sep 17 00:00:00 2001 From: CDeltakai Date: Thu, 29 May 2025 15:33:54 +1000 Subject: [PATCH] chore: update js-lint to 0.2.11 and delete .prettierrc since its no longer needed --- .prettierrc | 7 ------- README.md | 4 +++- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index fa9699b..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "semi": true, - "trailingComma": "all", - "singleQuote": true, - "printWidth": 80, - "tabWidth": 2 -} diff --git a/README.md b/README.md index 58ca474..1f5042f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # js-timer -This library provides a reified `Timer` replacing the imperative `setTimeout` in JS. This is useful for keeping track of elapsed time and calculating how time is left. Think of this as a "Stopwatch". +This library provides a reified `Timer` replacing the imperative `setTimeout` in +JS. This is useful for keeping track of elapsed time and calculating how time is +left. Think of this as a "Stopwatch". This does not use `Date.now()`, it uses `Performance` API. diff --git a/package-lock.json b/package-lock.json index 8e95a15..fb3a412 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@matrixai/errors": "^2.0.1" }, "devDependencies": { - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "^1.3.76", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.2", @@ -2091,9 +2091,9 @@ } }, "node_modules/@matrixai/lint": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.6.tgz", - "integrity": "sha512-Cbx6SCTAqSt7lTKkaXL7wB+KbkiXYpQ0LdV5fPcnzEfG0sCuG8dbJcwzgHT5Qn7ubG71BBLUVFjHY1EGADzT8g==", + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.11.tgz", + "integrity": "sha512-Q/atLaVExgQbd7b/sXCvTAIus0M+egxr6fjHFNzpUZGY3Gu+UkYQrel/440JnvZ+fK8fq9GTHewpa14H08AcRw==", "dev": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index 6245c4c..01b6d4f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@matrixai/errors": "^2.0.1" }, "devDependencies": { - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "^1.3.76", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.2",