Repository: typescript-eslint/tslint-to-eslint-config
Pull request #1526 (2022-07-06 01:37:12)

fix: update converter to return PascalCase and snake_case format values for variable names
<!--
👋 Hi, thanks for sending a PR to tslint-to-eslint-config! 💖
Please fill out all fields below to ensure your PR is reviewed quickly.
-->

## PR Checklist

-   [x] Addresses an existing issue: fixes https://github.com/typescript-eslint/tslint-to-eslint-config/issues/1442
-   [x] That issue was marked as [`status: accepting prs`](https://github.com/typescript-eslint/tslint-to-eslint-config/labels/status%3A%20accepting%20prs)

## Overview

<!-- Brief description of what is changed and how the code change does that. -->

Updates the `variable-name` rule converter to return `PascalCase` and `snake_case` as formats if those are present in the rules to be converted. 



Patch:
diff --git a/package-lock.json b/package-lock.json
index 93971b1..21f8b66 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
             "license": "MIT",
             "dependencies": {
                 "chalk": "4.1.2",
-                "commander": "9.3.0",
+                "commander": "9.4.0",
                 "cson-parser": "4.0.9",
                 "eslint-config-prettier": "8.5.0",
                 "glob": "8.0.3",
@@ -24,8 +24,8 @@
                 "tslint-to-eslint-config": "bin/tslint-to-eslint-config"
             },
             "devDependencies": {
-                "@swc/core": "1.2.210",
-                "@swc/jest": "0.2.21",
+                "@swc/core": "1.2.218",
+                "@swc/jest": "0.2.22",
                 "@types/eslint-config-prettier": "6.11.0",
                 "@types/glob": "7.2.0",
                 "@types/json5": "0.0.30",
@@ -36,7 +36,7 @@
                 "@typescript-eslint/parser": "5.27.1",
                 "ansi-regex": "6.0.1",
                 "cross-env": "7.0.3",
-                "eslint": "8.19.0",
+                "eslint": "8.20.0",
                 "eslint-plugin-simple-import-sort": "7.0.0",
                 "husky": "8.0.1",
                 "jest": "27.5.1",
@@ -1205,10 +1205,11 @@
             }
         },
         "node_modules/@swc/core": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.2.210.tgz",
-            "integrity": "sha512-euiCxnx+dCnE6iDGM04hIvcLS2LADVgIDo0OGnxqRce4SwUNHZi/KcRxIT04YtJd3BdO5v+l4K8RHIx4jvn+TA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.2.218.tgz",
+            "integrity": "sha512-wzXTeBUi3YAHr305lCo1tlxRj5Zpk7hu6rmulngH06NgrH7fS6bj8IaR7K2QPZ4ZZ4U+TGS2tOKbXBmqeMRUtg==",
             "dev": true,
+            "hasInstallScript": true,
             "bin": {
                 "swcx": "run_swcx.js"
             },
@@ -1220,25 +1221,25 @@
                 "url": "https://opencollective.com/swc"
             },
             "optionalDependencies": {
-                "@swc/core-android-arm-eabi": "1.2.210",
-                "@swc/core-android-arm64": "1.2.210",
-                "@swc/core-darwin-arm64": "1.2.210",
-                "@swc/core-darwin-x64": "1.2.210",
-                "@swc/core-freebsd-x64": "1.2.210",
-                "@swc/core-linux-arm-gnueabihf": "1.2.210",
-                "@swc/core-linux-arm64-gnu": "1.2.210",
-                "@swc/core-linux-arm64-musl": "1.2.210",
-                "@swc/core-linux-x64-gnu": "1.2.210",
-                "@swc/core-linux-x64-musl": "1.2.210",
-                "@swc/core-win32-arm64-msvc": "1.2.210",
-                "@swc/core-win32-ia32-msvc": "1.2.210",
-                "@swc/core-win32-x64-msvc": "1.2.210"
+                "@swc/core-android-arm-eabi": "1.2.218",
+                "@swc/core-android-arm64": "1.2.218",
+                "@swc/core-darwin-arm64": "1.2.218",
+                "@swc/core-darwin-x64": "1.2.218",
+                "@swc/core-freebsd-x64": "1.2.218",
+                "@swc/core-linux-arm-gnueabihf": "1.2.218",
+                "@swc/core-linux-arm64-gnu": "1.2.218",
+                "@swc/core-linux-arm64-musl": "1.2.218",
+                "@swc/core-linux-x64-gnu": "1.2.218",
+                "@swc/core-linux-x64-musl": "1.2.218",
+                "@swc/core-win32-arm64-msvc": "1.2.218",
+                "@swc/core-win32-ia32-msvc": "1.2.218",
+                "@swc/core-win32-x64-msvc": "1.2.218"
             }
         },
         "node_modules/@swc/core-android-arm-eabi": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.210.tgz",
-            "integrity": "sha512-JGPcCM9XixJIbCHP/fbI79pXTuU9C3V6AxolTy0zEhgNe7r59CiSVcGWN5t5dgkEuwApAxN2iNjJRmz4z+ALAg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.218.tgz",
+            "integrity": "sha512-Q/uLCh262t3xxNzhCz+ZW9t+g2nWd0gZZO4jMYFWJs7ilKVNsBfRtfnNGGACHzkVuWLNDIWtAS2PSNodl7VUHQ==",
             "cpu": [
                 "arm"
             ],
@@ -1252,9 +1253,9 @@
             }
         },
         "node_modules/@swc/core-android-arm64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-android-arm64/-/core-android-arm64-1.2.210.tgz",
-            "integrity": "sha512-oP2b8LjZiMNrzOnoC/mVomksSiqQDrIsm4LxPAGTK1fWnbtITLF/Wj/St1wnUu98jZf5kvQP9AH3p2d3J6UaDA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-android-arm64/-/core-android-arm64-1.2.218.tgz",
+            "integrity": "sha512-dy+8lUHUcyrkfPcl7azEQ4M44duRo1Uibz1E5/tltXCGoR6tu2ZN2VkqEKgA2a9XR3UD8/x4lv2r5evwJWy+uQ==",
             "cpu": [
                 "arm64"
             ],
@@ -1268,9 +1269,9 @@
             }
         },
         "node_modules/@swc/core-darwin-arm64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.210.tgz",
-            "integrity": "sha512-7PEHF1AHRpVcMtttfOVtyjZq73VUVaLsBnTWUqdFv1toRu42n+CmnXm3brmnSwyi7TTtCU/nahunWNmBbJeG8A==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.218.tgz",
+            "integrity": "sha512-aTpFjWio8G0oukN76VtXCBPtFzH0PXIQ+1dFjGGkzrBcU5suztCCbhPBGhKRoWp3NJBwfPDwwWzmG+ddXrVAKg==",
             "cpu": [
                 "arm64"
             ],
@@ -1284,9 +1285,9 @@
             }
         },
         "node_modules/@swc/core-darwin-x64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.2.210.tgz",
-            "integrity": "sha512-FEPSgnzRy7X9SaDWtAQKfoodttG90GOyTKqBC/915SPhvuprSf3/PpX2NP63E44/GVgEoNzmNGGiUzbL5k70Dg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.2.218.tgz",
+            "integrity": "sha512-H3w/gNzROE6gVPZCAg5qvvPihzlg88Yi7HWb/mowfpNqH9/iJ8XMdwqJyovnfUeUXsuJQBFv6uXv/ri7qhGMHA==",
             "cpu": [
                 "x64"
             ],
@@ -1300,9 +1301,9 @@
             }
         },
         "node_modules/@swc/core-freebsd-x64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.210.tgz",
-            "integrity": "sha512-nehrNTikTfY4H08VUjp20/U5/bt4PC/hi8Zthjz1A0evcIdA0WHajByFj0um/0lYmdF1K6T7A9UuaoOwPEAZ0A==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.218.tgz",
+            "integrity": "sha512-kkch07yCSlpUrSMp0FZPWtMHJjh3lfHiwp7JYNf6CUl5xXlgT19NeomPYq31dbTzPV2VnE7TVVlAawIjuuOH4g==",
             "cpu": [
                 "x64"
             ],
@@ -1316,9 +1317,9 @@
             }
         },
         "node_modules/@swc/core-linux-arm-gnueabihf": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.210.tgz",
-            "integrity": "sha512-vbSQxZcPBJC2WqVWHZhZIPpv+8xoNug/Qv6FLFPcl735MeNRzgciKC1LlXuy6DNA0RqoCPPyzaK2jnwJyq4bSw==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.218.tgz",
+            "integrity": "sha512-vwEgvtD9f/+0HFxYD5q4sd8SG6zd0cxm17cwRGZ6jWh/d4Ninjht3CpDGE1ffh9nJ+X3Mb/7rjU/kTgWFz5qfg==",
             "cpu": [
                 "arm"
             ],
@@ -1332,9 +1333,9 @@
             }
         },
         "node_modules/@swc/core-linux-arm64-gnu": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.210.tgz",
-            "integrity": "sha512-gfItagFmC06q5Uu7WHf/O3n1yKhA7uAo9VPUcNDKKrOh/WSkMI2dxtoeo4u5xOuJWKWedGCcdyJw46uhpYST0w==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.218.tgz",
+            "integrity": "sha512-g5PQI6COUHV7x7tyaZQn6jXWtOLXXNIEQK1HS5/e+6kqqsM2NsndE9bjLhoH1EQuXiN2eUjAR/ZDOFAg102aRw==",
             "cpu": [
                 "arm64"
             ],
@@ -1348,9 +1349,9 @@
             }
         },
         "node_modules/@swc/core-linux-arm64-musl": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.210.tgz",
-            "integrity": "sha512-3nlNHIYiuppJBB+bbaxLfGN/mnofaVvKVEwUQ9HPtghY87zFIsKl1RfNQtxcOlcarcWya1XAMSk9NXv2dFHWDg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.218.tgz",
+            "integrity": "sha512-IETYHB6H01NmVmlw+Ng8nkjdFBv1exGQRR74GAnHis1bVx1Uq14hREIF6XT3I1Aj26nRwlGkIYQuEKnFO5/j3Q==",
             "cpu": [
                 "arm64"
             ],
@@ -1364,9 +1365,9 @@
             }
         },
         "node_modules/@swc/core-linux-x64-gnu": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.210.tgz",
-            "integrity": "sha512-BmhfneSvUzIufUhPaql3YvoWlSrNZiAhpL3c5fPrfQxADywkZLljgh0kckxpeCi5R8iWIUlNSPFmo589QS2Jsg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.218.tgz",
+            "integrity": "sha512-PK39Zg4/YZbfchQRw77iVfB7Qat7QaK58sQt8enH39CUMXlJ+GSfC0Fqw2mtZ12sFGwmsGrK9yBy3ZVoOws5Ng==",
             "cpu": [
                 "x64"
             ],
@@ -1380,9 +1381,9 @@
             }
         },
         "node_modules/@swc/core-linux-x64-musl": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.210.tgz",
-            "integrity": "sha512-0VT7FeF4Vc/u0oxVLplF/0hcApE+fwC4Njf49SFyvszgAMc9a+fyUNBX2NSqIrTQFwmifRcpQOeXDT8Edy0g6w==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.218.tgz",
+            "integrity": "sha512-SNjrzORJYiKTSmFbaBkKZAf5B/PszwoZoFZOcd86AG192zsvQBSvKjQzMjT5rDZxB+sOnhRE7wH/bvqxZishQQ==",
             "cpu": [
                 "x64"
             ],
@@ -1396,9 +1397,9 @@
             }
         },
         "node_modules/@swc/core-win32-arm64-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.210.tgz",
-            "integrity": "sha512-MwM35TtzMX7GS424y/Bk0CrwWsYRfZ/WX15QAi/Yz+fnPCDLtFNknRC7gAaTpDeqywu6dsXUFyErzK1FC8l8YA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.218.tgz",
+            "integrity": "sha512-lVXFWkYl+w8+deq9mgGsfvSY5Gr1RRjFgqZ+0wMZgyaonfx7jNn3TILUwc7egumEwxK0anNriVZCyKfcO3ZIjA==",
             "cpu": [
                 "arm64"
             ],
@@ -1412,9 +1413,9 @@
             }
         },
         "node_modules/@swc/core-win32-ia32-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.210.tgz",
-            "integrity": "sha512-KpofYa0wqd8urFLrdsz0yQU2YkF7NEDU3+IzqUNnxwamlaEFg/C3l6rTgmiihHXIZuYQS9di4YwykyMVVXutOA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.218.tgz",
+            "integrity": "sha512-jgP+NZsHUh9Cp8PcXznnkpJTW3hPDLUgsXI0NKfE+8+Xvc6hALHxl6K46IyPYU67FfFlegYcBSNkOgpc85gk0A==",
             "cpu": [
                 "ia32"
             ],
@@ -1428,9 +1429,9 @@
             }
         },
         "node_modules/@swc/core-win32-x64-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.210.tgz",
-            "integrity": "sha512-bUhY0bK8s+B6LSdbNu9L0RKrO/rWrXICtIZyHZolUZKo326hfQ0Iwx+N/xuh6jYpON0RaY9pR0HAyaCDHugoRA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.218.tgz",
+            "integrity": "sha512-XYLjX00KV4ft324Q3QDkw61xHkoN7EKkVvIpb0wXaf6wVshwU+BCDyPw2CSg4PQecNP8QGgMRQf9QM7xNtEM7A==",
             "cpu": [
                 "x64"
             ],
@@ -1444,9 +1445,9 @@
             }
         },
         "node_modules/@swc/jest": {
-            "version": "0.2.21",
-            "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.21.tgz",
-            "integrity": "sha512-/+NcExiZbxXANNhNPnIdFuGq62CeumulLS1bngwqIXd8H7d96LFUfrYzdt8tlTwLMel8tFtQ5aRjzVkyOTyPDw==",
+            "version": "0.2.22",
+            "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.22.tgz",
+            "integrity": "sha512-PIUIk9IdB1oAVfF9zNIfYoMBoEhahrrSvyryFANas7swC1cF0L5HR0f9X4qfet46oyCHCBtNcSpN0XJEOFIKlw==",
             "dev": true,
             "dependencies": {
                 "@jest/create-cache-key-function": "^27.4.2"
@@ -2386,9 +2387,9 @@
             }
         },
         "node_modules/commander": {
-            "version": "9.3.0",
-            "resolved": "https://registry.npmjs.org/commander/-/commander-9.3.0.tgz",
-            "integrity": "sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==",
+            "version": "9.4.0",
+            "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.0.tgz",
+            "integrity": "sha512-sRPT+umqkz90UA8M1yqYfnHlZA7fF6nSphDtxeywPZ49ysjxDQybzk13CL+mXekDRG92skbcqCLVovuCusNmFw==",
             "engines": {
                 "node": "^12.20.0 || >=14"
             }
@@ -2750,9 +2751,9 @@
             }
         },
         "node_modules/eslint": {
-            "version": "8.19.0",
-            "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.19.0.tgz",
-            "integrity": "sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==",
+            "version": "8.20.0",
+            "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.20.0.tgz",
+            "integrity": "sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==",
             "dependencies": {
                 "@eslint/eslintrc": "^1.3.0",
                 "@humanwhocodes/config-array": "^0.9.2",
@@ -7507,121 +7508,121 @@
             }
         },
         "@swc/core": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.2.210.tgz",
-            "integrity": "sha512-euiCxnx+dCnE6iDGM04hIvcLS2LADVgIDo0OGnxqRce4SwUNHZi/KcRxIT04YtJd3BdO5v+l4K8RHIx4jvn+TA==",
-            "dev": true,
-            "requires": {
-                "@swc/core-android-arm-eabi": "1.2.210",
-                "@swc/core-android-arm64": "1.2.210",
-                "@swc/core-darwin-arm64": "1.2.210",
-                "@swc/core-darwin-x64": "1.2.210",
-                "@swc/core-freebsd-x64": "1.2.210",
-                "@swc/core-linux-arm-gnueabihf": "1.2.210",
-                "@swc/core-linux-arm64-gnu": "1.2.210",
-                "@swc/core-linux-arm64-musl": "1.2.210",
-                "@swc/core-linux-x64-gnu": "1.2.210",
-                "@swc/core-linux-x64-musl": "1.2.210",
-                "@swc/core-win32-arm64-msvc": "1.2.210",
-                "@swc/core-win32-ia32-msvc": "1.2.210",
-                "@swc/core-win32-x64-msvc": "1.2.210"
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.2.218.tgz",
+            "integrity": "sha512-wzXTeBUi3YAHr305lCo1tlxRj5Zpk7hu6rmulngH06NgrH7fS6bj8IaR7K2QPZ4ZZ4U+TGS2tOKbXBmqeMRUtg==",
+            "dev": true,
+            "requires": {
+                "@swc/core-android-arm-eabi": "1.2.218",
+                "@swc/core-android-arm64": "1.2.218",
+                "@swc/core-darwin-arm64": "1.2.218",
+                "@swc/core-darwin-x64": "1.2.218",
+                "@swc/core-freebsd-x64": "1.2.218",
+                "@swc/core-linux-arm-gnueabihf": "1.2.218",
+                "@swc/core-linux-arm64-gnu": "1.2.218",
+                "@swc/core-linux-arm64-musl": "1.2.218",
+                "@swc/core-linux-x64-gnu": "1.2.218",
+                "@swc/core-linux-x64-musl": "1.2.218",
+                "@swc/core-win32-arm64-msvc": "1.2.218",
+                "@swc/core-win32-ia32-msvc": "1.2.218",
+                "@swc/core-win32-x64-msvc": "1.2.218"
             }
         },
         "@swc/core-android-arm-eabi": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.210.tgz",
-            "integrity": "sha512-JGPcCM9XixJIbCHP/fbI79pXTuU9C3V6AxolTy0zEhgNe7r59CiSVcGWN5t5dgkEuwApAxN2iNjJRmz4z+ALAg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.218.tgz",
+            "integrity": "sha512-Q/uLCh262t3xxNzhCz+ZW9t+g2nWd0gZZO4jMYFWJs7ilKVNsBfRtfnNGGACHzkVuWLNDIWtAS2PSNodl7VUHQ==",
             "dev": true,
             "optional": true
         },
         "@swc/core-android-arm64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-android-arm64/-/core-android-arm64-1.2.210.tgz",
-            "integrity": "sha512-oP2b8LjZiMNrzOnoC/mVomksSiqQDrIsm4LxPAGTK1fWnbtITLF/Wj/St1wnUu98jZf5kvQP9AH3p2d3J6UaDA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-android-arm64/-/core-android-arm64-1.2.218.tgz",
+            "integrity": "sha512-dy+8lUHUcyrkfPcl7azEQ4M44duRo1Uibz1E5/tltXCGoR6tu2ZN2VkqEKgA2a9XR3UD8/x4lv2r5evwJWy+uQ==",
             "dev": true,
             "optional": true
         },
         "@swc/core-darwin-arm64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.210.tgz",
-            "integrity": "sha512-7PEHF1AHRpVcMtttfOVtyjZq73VUVaLsBnTWUqdFv1toRu42n+CmnXm3brmnSwyi7TTtCU/nahunWNmBbJeG8A==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.218.tgz",
+            "integrity": "sha512-aTpFjWio8G0oukN76VtXCBPtFzH0PXIQ+1dFjGGkzrBcU5suztCCbhPBGhKRoWp3NJBwfPDwwWzmG+ddXrVAKg==",
             "dev": true,
             "optional": true
         },
         "@swc/core-darwin-x64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.2.210.tgz",
-            "integrity": "sha512-FEPSgnzRy7X9SaDWtAQKfoodttG90GOyTKqBC/915SPhvuprSf3/PpX2NP63E44/GVgEoNzmNGGiUzbL5k70Dg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.2.218.tgz",
+            "integrity": "sha512-H3w/gNzROE6gVPZCAg5qvvPihzlg88Yi7HWb/mowfpNqH9/iJ8XMdwqJyovnfUeUXsuJQBFv6uXv/ri7qhGMHA==",
             "dev": true,
             "optional": true
         },
         "@swc/core-freebsd-x64": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.210.tgz",
-            "integrity": "sha512-nehrNTikTfY4H08VUjp20/U5/bt4PC/hi8Zthjz1A0evcIdA0WHajByFj0um/0lYmdF1K6T7A9UuaoOwPEAZ0A==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.218.tgz",
+            "integrity": "sha512-kkch07yCSlpUrSMp0FZPWtMHJjh3lfHiwp7JYNf6CUl5xXlgT19NeomPYq31dbTzPV2VnE7TVVlAawIjuuOH4g==",
             "dev": true,
             "optional": true
         },
         "@swc/core-linux-arm-gnueabihf": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.210.tgz",
-            "integrity": "sha512-vbSQxZcPBJC2WqVWHZhZIPpv+8xoNug/Qv6FLFPcl735MeNRzgciKC1LlXuy6DNA0RqoCPPyzaK2jnwJyq4bSw==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.218.tgz",
+            "integrity": "sha512-vwEgvtD9f/+0HFxYD5q4sd8SG6zd0cxm17cwRGZ6jWh/d4Ninjht3CpDGE1ffh9nJ+X3Mb/7rjU/kTgWFz5qfg==",
             "dev": true,
             "optional": true
         },
         "@swc/core-linux-arm64-gnu": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.210.tgz",
-            "integrity": "sha512-gfItagFmC06q5Uu7WHf/O3n1yKhA7uAo9VPUcNDKKrOh/WSkMI2dxtoeo4u5xOuJWKWedGCcdyJw46uhpYST0w==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.218.tgz",
+            "integrity": "sha512-g5PQI6COUHV7x7tyaZQn6jXWtOLXXNIEQK1HS5/e+6kqqsM2NsndE9bjLhoH1EQuXiN2eUjAR/ZDOFAg102aRw==",
             "dev": true,
             "optional": true
         },
         "@swc/core-linux-arm64-musl": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.210.tgz",
-            "integrity": "sha512-3nlNHIYiuppJBB+bbaxLfGN/mnofaVvKVEwUQ9HPtghY87zFIsKl1RfNQtxcOlcarcWya1XAMSk9NXv2dFHWDg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.218.tgz",
+            "integrity": "sha512-IETYHB6H01NmVmlw+Ng8nkjdFBv1exGQRR74GAnHis1bVx1Uq14hREIF6XT3I1Aj26nRwlGkIYQuEKnFO5/j3Q==",
             "dev": true,
             "optional": true
         },
         "@swc/core-linux-x64-gnu": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.210.tgz",
-            "integrity": "sha512-BmhfneSvUzIufUhPaql3YvoWlSrNZiAhpL3c5fPrfQxADywkZLljgh0kckxpeCi5R8iWIUlNSPFmo589QS2Jsg==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.218.tgz",
+            "integrity": "sha512-PK39Zg4/YZbfchQRw77iVfB7Qat7QaK58sQt8enH39CUMXlJ+GSfC0Fqw2mtZ12sFGwmsGrK9yBy3ZVoOws5Ng==",
             "dev": true,
             "optional": true
         },
         "@swc/core-linux-x64-musl": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.210.tgz",
-            "integrity": "sha512-0VT7FeF4Vc/u0oxVLplF/0hcApE+fwC4Njf49SFyvszgAMc9a+fyUNBX2NSqIrTQFwmifRcpQOeXDT8Edy0g6w==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.218.tgz",
+            "integrity": "sha512-SNjrzORJYiKTSmFbaBkKZAf5B/PszwoZoFZOcd86AG192zsvQBSvKjQzMjT5rDZxB+sOnhRE7wH/bvqxZishQQ==",
             "dev": true,
             "optional": true
         },
         "@swc/core-win32-arm64-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.210.tgz",
-            "integrity": "sha512-MwM35TtzMX7GS424y/Bk0CrwWsYRfZ/WX15QAi/Yz+fnPCDLtFNknRC7gAaTpDeqywu6dsXUFyErzK1FC8l8YA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.218.tgz",
+            "integrity": "sha512-lVXFWkYl+w8+deq9mgGsfvSY5Gr1RRjFgqZ+0wMZgyaonfx7jNn3TILUwc7egumEwxK0anNriVZCyKfcO3ZIjA==",
             "dev": true,
             "optional": true
         },
         "@swc/core-win32-ia32-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.210.tgz",
-            "integrity": "sha512-KpofYa0wqd8urFLrdsz0yQU2YkF7NEDU3+IzqUNnxwamlaEFg/C3l6rTgmiihHXIZuYQS9di4YwykyMVVXutOA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.218.tgz",
+            "integrity": "sha512-jgP+NZsHUh9Cp8PcXznnkpJTW3hPDLUgsXI0NKfE+8+Xvc6hALHxl6K46IyPYU67FfFlegYcBSNkOgpc85gk0A==",
             "dev": true,
             "optional": true
         },
         "@swc/core-win32-x64-msvc": {
-            "version": "1.2.210",
-            "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.210.tgz",
-            "integrity": "sha512-bUhY0bK8s+B6LSdbNu9L0RKrO/rWrXICtIZyHZolUZKo326hfQ0Iwx+N/xuh6jYpON0RaY9pR0HAyaCDHugoRA==",
+            "version": "1.2.218",
+            "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.218.tgz",
+            "integrity": "sha512-XYLjX00KV4ft324Q3QDkw61xHkoN7EKkVvIpb0wXaf6wVshwU+BCDyPw2CSg4PQecNP8QGgMRQf9QM7xNtEM7A==",
             "dev": true,
             "optional": true
         },
         "@swc/jest": {
-            "version": "0.2.21",
-            "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.21.tgz",
-            "integrity": "sha512-/+NcExiZbxXANNhNPnIdFuGq62CeumulLS1bngwqIXd8H7d96LFUfrYzdt8tlTwLMel8tFtQ5aRjzVkyOTyPDw==",
+            "version": "0.2.22",
+            "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.22.tgz",
+            "integrity": "sha512-PIUIk9IdB1oAVfF9zNIfYoMBoEhahrrSvyryFANas7swC1cF0L5HR0f9X4qfet46oyCHCBtNcSpN0XJEOFIKlw==",
             "dev": true,
             "requires": {
                 "@jest/create-cache-key-function": "^27.4.2"
@@ -8314,9 +8315,9 @@
             }
         },
         "commander": {
-            "version": "9.3.0",
-            "resolved": "https://registry.npmjs.org/commander/-/commander-9.3.0.tgz",
-            "integrity": "sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw=="
+            "version": "9.4.0",
+            "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.0.tgz",
+            "integrity": "sha512-sRPT+umqkz90UA8M1yqYfnHlZA7fF6nSphDtxeywPZ49ysjxDQybzk13CL+mXekDRG92skbcqCLVovuCusNmFw=="
         },
         "concat-map": {
             "version": "0.0.1",
@@ -8586,9 +8587,9 @@
             }
         },
         "eslint": {
-            "version": "8.19.0",
-            "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.19.0.tgz",
-            "integrity": "sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==",
+            "version": "8.20.0",
+            "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.20.0.tgz",
+            "integrity": "sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==",
             "requires": {
                 "@eslint/eslintrc": "^1.3.0",
                 "@humanwhocodes/config-array": "^0.9.2",
diff --git a/package.json b/package.json
index 5a61520..88055b5 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
     },
     "dependencies": {
         "chalk": "4.1.2",
-        "commander": "9.3.0",
+        "commander": "9.4.0",
         "cson-parser": "4.0.9",
         "eslint-config-prettier": "8.5.0",
         "glob": "8.0.3",
@@ -22,8 +22,8 @@
         "typescript": "4.7.4"
     },
     "devDependencies": {
-        "@swc/core": "1.2.210",
-        "@swc/jest": "0.2.21",
+        "@swc/core": "1.2.218",
+        "@swc/jest": "0.2.22",
         "@types/eslint-config-prettier": "6.11.0",
         "@types/glob": "7.2.0",
         "@types/json5": "0.0.30",
@@ -34,7 +34,7 @@
         "@typescript-eslint/parser": "5.27.1",
         "ansi-regex": "6.0.1",
         "cross-env": "7.0.3",
-        "eslint": "8.19.0",
+        "eslint": "8.20.0",
         "eslint-plugin-simple-import-sort": "7.0.0",
         "husky": "8.0.1",
         "jest": "27.5.1",
diff --git a/src/converters/lintConfigs/rules/ruleConverters/variable-name.ts b/src/converters/lintConfigs/rules/ruleConverters/variable-name.ts
index b0fddb7..ef9f1ea 100644
--- a/src/converters/lintConfigs/rules/ruleConverters/variable-name.ts
+++ b/src/converters/lintConfigs/rules/ruleConverters/variable-name.ts
@@ -49,14 +49,14 @@ export const convertVariableName: RuleConverter = (tslintRule) => {
         if (!hasCheckFormat) {
             camelCaseRules.push({
                 selector: "variable",
-                format: ["camelCase", "UPPER_CASE"],
+                format: formats,
                 leadingUnderscore: "forbid",
                 trailingUnderscore: "forbid",
             });
         } else {
             camelCaseRules.push({
                 selector: "variable",
-                format: ["camelCase", "UPPER_CASE"],
+                format: formats,
                 leadingUnderscore: allowedLeadingUnderscore ? "allow" : "forbid",
                 trailingUnderscore: allowedTrailingUnderscore ? "allow" : "forbid",
             });


Test patch:
diff --git a/src/converters/lintConfigs/rules/ruleConverters/tests/variable-name.test.ts b/src/converters/lintConfigs/rules/ruleConverters/tests/variable-name.test.ts
index c4aa3dd..85b7e5b 100644
--- a/src/converters/lintConfigs/rules/ruleConverters/tests/variable-name.test.ts
+++ b/src/converters/lintConfigs/rules/ruleConverters/tests/variable-name.test.ts
@@ -104,6 +104,38 @@ describe("convertVariableName", () => {
         });
     });
 
+    test("conversion with allow-pascal-case argument with check-format", () => {
+        const result = convertVariableName({
+            ruleArguments: ["allow-pascal-case", "check-format"],
+        });
+
+        expect(result).toEqual({
+            rules: [
+                {
+                    ruleName: "@typescript-eslint/naming-convention",
+                    rules: [
+                        {
+                            selector: "variable",
+                            format: ["camelCase", "UPPER_CASE", "PascalCase"],
+                            leadingUnderscore: "forbid",
+                            trailingUnderscore: "forbid",
+                        },
+                    ],
+                },
+                {
+                    notices: [ForbiddenLeadingTrailingIdentifierMsg],
+                    ruleName: "no-underscore-dangle",
+                },
+                {
+                    ruleName: "id-denylist",
+                },
+                {
+                    ruleName: "id-match",
+                },
+            ],
+        });
+    });
+
     test("conversion with allow-snake-case argument without check-format argument", () => {
         const result = convertVariableName({
             ruleArguments: ["allow-snake-case"],
@@ -136,6 +168,38 @@ describe("convertVariableName", () => {
         });
     });
 
+    test("conversion with allow-snake-case argument with check-format", () => {
+        const result = convertVariableName({
+            ruleArguments: ["allow-snake-case", "check-format"],
+        });
+
+        expect(result).toEqual({
+            rules: [
+                {
+                    ruleName: "@typescript-eslint/naming-convention",
+                    rules: [
+                        {
+                            selector: "variable",
+                            format: ["camelCase", "UPPER_CASE", "snake_case"],
+                            leadingUnderscore: "forbid",
+                            trailingUnderscore: "forbid",
+                        },
+                    ],
+                },
+                {
+                    notices: [ForbiddenLeadingTrailingIdentifierMsg],
+                    ruleName: "no-underscore-dangle",
+                },
+                {
+                    ruleName: "id-denylist",
+                },
+                {
+                    ruleName: "id-match",
+                },
+            ],
+        });
+    });
+
     test("conversion with allow-leading-underscore without check-format argument", () => {
         const result = convertVariableName({
             ruleArguments: ["allow-leading-underscore"],
@@ -388,7 +452,7 @@ describe("convertVariableName", () => {
                     rules: [
                         {
                             selector: "variable",
-                            format: ["camelCase", "UPPER_CASE"],
+                            format: ["camelCase", "UPPER_CASE", "PascalCase", "snake_case"],
                             leadingUnderscore: "allow",
                             trailingUnderscore: "allow",
                         },