diff --git a/packages/eslint-plugin/lib/rules/prefer-web-component-library.js b/packages/eslint-plugin/lib/rules/prefer-web-component-library.js
index 5cd15dc0b4..6744dcec92 100644
--- a/packages/eslint-plugin/lib/rules/prefer-web-component-library.js
+++ b/packages/eslint-plugin/lib/rules/prefer-web-component-library.js
@@ -203,42 +203,6 @@ const paginationTransformer = (context, node) => {
});
};
-const ombInfoTransformer = (context, node) => {
- const openingTagNode = node.openingElement.name;
- const closingTagNode = node.closingElement?.name;
- const resBurdenNode = getPropNode(node, 'resBurden');
- const ombNumberNode = getPropNode(node, 'ombNumber');
- const expDateNode = getPropNode(node, 'expDate');
-
- context.report({
- node,
- message: MESSAGE,
- data: {
- reactComponent: openingTagNode.name,
- webComponent: 'va-omb-info',
- },
- suggest: [
- {
- desc: 'Migrate component',
- fix: fixer => {
- return [
- // Rename component tags
- fixer.replaceText(openingTagNode, 'va-omb-info'),
- closingTagNode && fixer.replaceText(closingTagNode, 'va-omb-info'),
-
- // Rename props if they exist
- resBurdenNode &&
- fixer.replaceText(resBurdenNode.name, 'res-burden'),
- ombNumberNode &&
- fixer.replaceText(ombNumberNode.name, 'omb-number'),
- expDateNode && fixer.replaceText(expDateNode.name, 'exp-date'),
- ].filter(i => !!i);
- },
- },
- ],
- });
-};
-
/**
* Stores the result of a check that determines if a component is part of
* the Design System component-library.
@@ -324,9 +288,6 @@ module.exports = {
case 'Modal':
modalTransformer(context, node);
break;
- case 'OMBInfo':
- ombInfoTransformer(context, node);
- break;
case 'Pagination':
paginationTransformer(context, node);
break;
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 2314594510..e53562e54c 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/eslint-plugin",
- "version": "1.11.0",
+ "version": "1.12.0",
"description": "ESLint plugin for va.gov projects",
"homepage": "https://github.com/department-of-veterans-affairs/veteran-facing-services-tools/tree/master/packages/eslint-plugin#readme",
"bugs": {
diff --git a/packages/eslint-plugin/tests/lib/rules/prefer-web-component-library.js b/packages/eslint-plugin/tests/lib/rules/prefer-web-component-library.js
index 7031b5c019..16eef838f3 100644
--- a/packages/eslint-plugin/tests/lib/rules/prefer-web-component-library.js
+++ b/packages/eslint-plugin/tests/lib/rules/prefer-web-component-library.js
@@ -197,43 +197,5 @@ ruleTester.run('prefer-web-component-library', rule, {
},
],
},
- {
- code: mockFile(
- 'OMBInfo',
- 'const component = () => ()',
- ),
- errors: [
- {
- suggestions: [
- {
- desc: 'Migrate component',
- output: mockFile(
- 'OMBInfo',
- 'const component = () => ()',
- ),
- },
- ],
- },
- ],
- },
- {
- code: mockFile(
- 'OMBInfo',
- 'const component = () => (Some content here)',
- ),
- errors: [
- {
- suggestions: [
- {
- desc: 'Migrate component',
- output: mockFile(
- 'OMBInfo',
- 'const component = () => (Some content here)',
- ),
- },
- ],
- },
- ],
- },
],
});