From e2a344848c17722b16b41961a80f92734324636a Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 6 Mar 2023 21:40:02 +0100 Subject: [PATCH] Add rome dependency --- package.json | 4 +++- rome.json | 8 ++++++++ yarn.lock | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 rome.json diff --git a/package.json b/package.json index 7056bbb..425aa93 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,8 @@ "irc-upd": "^0.11.0", "merge-options": "^3.0.3", "openpgp": "^5.5.0", + "query-string": "^6.14.1", + "rome": "^11.0.0", "valid-url": "^1.0.9", "validator": "^13.5.2" }, @@ -49,7 +51,7 @@ "standard:check": "./node_modules/.bin/standard ./src", "standard:fix": "./node_modules/.bin/standard --fix ./src", "mocha": "./node_modules/.bin/mocha", - "test": "yarn run standard:check && yarn run license:check && yarn run mocha", + "test": "yarn run standard:check && yarn rome check ./src/* && yarn run license:check && yarn run mocha", "prepare": "husky install" }, "repository": { diff --git a/rome.json b/rome.json new file mode 100644 index 0000000..c68e585 --- /dev/null +++ b/rome.json @@ -0,0 +1,8 @@ +{ + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + } +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index b3eec34..ae06a3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -392,6 +392,36 @@ tslib "^2.4.1" webcrypto-core "^1.7.4" +"@rometools/cli-darwin-arm64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-darwin-arm64/-/cli-darwin-arm64-11.0.0.tgz#8f916df0580fede2325434a50ed5b1f2cf972696" + integrity sha512-F3vkdY+s3FLIEnAjSbyHTuIPB88cLpccimW4ecid5I7S6GzGG3iUJI4xT00JhH73K4P/qW20/9r+kH1T9Du8Xg== + +"@rometools/cli-darwin-x64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-darwin-x64/-/cli-darwin-x64-11.0.0.tgz#1393a5bba26e8c5352737270a1a98f2759f40d14" + integrity sha512-X6jhtS6Iml4GOzgNtnLwIp/KXXhSdqeVyfv69m/AHnIzx3gQAjPZ7BPnJLvTCbhe4SKHL+uTZYFSCJpkUUKE6w== + +"@rometools/cli-linux-arm64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-linux-arm64/-/cli-linux-arm64-11.0.0.tgz#efbfd36013455fc5d940b24b1b195a43aba87bcb" + integrity sha512-dktTJJlTpmycBZ2TwhJBcAO8ztK8DdevdyZnFFxdYRvtmJgTjIsC2UFayf/SbKew8B8q1IhI0it+D6ihAeIpeg== + +"@rometools/cli-linux-x64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-linux-x64/-/cli-linux-x64-11.0.0.tgz#675532d9f603b88ab0686da800ec711b45d22085" + integrity sha512-WVcnXPNdWGUWo0p4NU8YzuthjYR7q+b4vRcjdxtP1DlpphZmSsoC/RSE85nEqRAz8hChcKUansVzOPM8BSsuGA== + +"@rometools/cli-win32-arm64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-win32-arm64/-/cli-win32-arm64-11.0.0.tgz#4d50f446acf2bc126cb58b5cff5a4d53b7c6a378" + integrity sha512-tPj6RThQzS7Q45jqQll7NlTYvNcsg/BEP3LYiiazqSh9FAFnMkrV6ewUcMPKWyAfiyLs7jlz4rRvdNRUSygzfQ== + +"@rometools/cli-win32-x64@11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rometools/cli-win32-x64/-/cli-win32-x64-11.0.0.tgz#c6d48db5ea52b393dae7fe04bfe803ad8cee71a5" + integrity sha512-bmBai8WHxYjsGk1+je7ZTfCUCWq30WJI3pQM8pzTA674lfGTZ9ymJoZwTaIMSO4rL5V9mlO6uLunsBKso9VqOg== + "@types/glob@^7.1.1": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" @@ -4578,6 +4608,18 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" +rome@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/rome/-/rome-11.0.0.tgz#cd2f00fadfd3611399eba9a2f87612e1f3299a23" + integrity sha512-rRo6JOwpMLc3OkeTDRXkrmrDqnxDvZ75GS4f0jLDBNmRgDXWbu0F8eVnJoRn+VbK2AE7vWvhVOMBjnWowcopkQ== + optionalDependencies: + "@rometools/cli-darwin-arm64" "11.0.0" + "@rometools/cli-darwin-x64" "11.0.0" + "@rometools/cli-linux-arm64" "11.0.0" + "@rometools/cli-linux-x64" "11.0.0" + "@rometools/cli-win32-arm64" "11.0.0" + "@rometools/cli-win32-x64" "11.0.0" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"