Repository: typescript-eslint/tslint-to-eslint-config (ts)

Issue:
Missing tslint-react rule: jsx-equals-spacing
### Missing Converter

-   `tslint-to-eslint-config` version: 1.0.0-beta

-   `typescript-eslint` version: 2.31.0

#### TSLint Rule Name

jsx-equals-spacing

#### Package Source

**tslint-react**: https://github.com/palantir/tslint-react (see [#rules](https://github.com/palantir/tslint-react#rules))

Equivalents for tslint-react rules generally live in [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react). If an ESLint rule equivalent doesn't yet exist, this tslint-to-eslint-config issue can be closed until that equivalent is created.

Pull request:
Added jsx-equals-spacing converter
<!--
👋 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 #520
-   [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. -->

Based on [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-equals-spacing.md), provide the correct converter for this rule.

Patch:
diff --git a/src/rules/converters/eslint-plugin-react/jsx-equals-spacing.ts b/src/rules/converters/eslint-plugin-react/jsx-equals-spacing.ts
new file mode 100644
index 0000000..b23eaad
--- /dev/null
+++ b/src/rules/converters/eslint-plugin-react/jsx-equals-spacing.ts
@@ -0,0 +1,15 @@
+import { RuleConverter } from "../../converter";
+
+export const convertJsxEqualsSpacing: RuleConverter = (tslintRule) => {
+    return {
+        rules: [
+            {
+                ...(tslintRule.ruleArguments.length !== 0 && {
+                    ruleArguments: [tslintRule.ruleArguments[0]],
+                }),
+                ruleName: "react/jsx-equals-spacing",
+            },
+        ],
+        plugins: ["eslint-plugin-react"],
+    };
+};
diff --git a/src/rules/rulesConverters.ts b/src/rules/rulesConverters.ts
index dea85ee..8580eda 100644
--- a/src/rules/rulesConverters.ts
+++ b/src/rules/rulesConverters.ts
@@ -174,6 +174,7 @@ import { convertUsePipeTransformInterface } from "./converters/codelyzer/use-pip
 
 // ESLint-React converters
 import { convertJsxBooleanValue } from "./converters/eslint-plugin-react/jsx-boolean-value";
+import { convertJsxEqualsSpacing } from "./converters/eslint-plugin-react/jsx-equals-spacing";
 import { convertJsxKey } from "./converters/eslint-plugin-react/jsx-key";
 
 /**
@@ -213,6 +214,7 @@ export const rulesConverters = new Map([
     ["interface-over-type-literal", convertInterfaceOverTypeLiteral],
     ["jsdoc-format", convertJSDocFormat],
     ["jsx-boolean-value", convertJsxBooleanValue],
+    ["jsx-equals-spacing", convertJsxEqualsSpacing],
     ["jsx-key", convertJsxKey],
     ["label-position", convertLabelPosition],
     ["linebreak-style", convertLinebreakStyle],


Test patch:
diff --git a/src/rules/converters/eslint-plugin-react/tests/jsx-equals-spacing.test.ts b/src/rules/converters/eslint-plugin-react/tests/jsx-equals-spacing.test.ts
new file mode 100644
index 0000000..4f6a0a0
--- /dev/null
+++ b/src/rules/converters/eslint-plugin-react/tests/jsx-equals-spacing.test.ts
@@ -0,0 +1,50 @@
+import { convertJsxEqualsSpacing } from "../jsx-equals-spacing";
+
+describe(convertJsxEqualsSpacing, () => {
+    test("conversion without arguments", () => {
+        const result = convertJsxEqualsSpacing({
+            ruleArguments: [],
+        });
+
+        expect(result).toEqual({
+            rules: [
+                {
+                    ruleName: "react/jsx-equals-spacing",
+                },
+            ],
+            plugins: ["eslint-plugin-react"],
+        });
+    });
+
+    test("conversion with 'always' argument", () => {
+        const alwaysResult = convertJsxEqualsSpacing({
+            ruleArguments: ["always"],
+        });
+
+        expect(alwaysResult).toEqual({
+            rules: [
+                {
+                    ruleArguments: ["always"],
+                    ruleName: "react/jsx-equals-spacing",
+                },
+            ],
+            plugins: ["eslint-plugin-react"],
+        });
+    });
+
+    test("conversion with 'never' argument", () => {
+        const neverResult = convertJsxEqualsSpacing({
+            ruleArguments: ["never"],
+        });
+
+        expect(neverResult).toEqual({
+            rules: [
+                {
+                    ruleArguments: ["never"],
+                    ruleName: "react/jsx-equals-spacing",
+                },
+            ],
+            plugins: ["eslint-plugin-react"],
+        });
+    });
+});