Function: createFixToRemoveObjectProperty()
createFixToRemoveObjectProperty(
options:Readonly<{fixer:TSESLint.RuleFixer;objectExpression:Readonly<TSESTree.ObjectExpression>;property:Readonly<TSESTree.Property>; }>):RuleFix
Defined in: _internal/stylelint-config-object.ts:131
Build a safe fixer for removing one top-level object property.
Parametersโ
optionsโ
Readonly<{ fixer: TSESLint.RuleFixer; objectExpression: Readonly<TSESTree.ObjectExpression>; property: Readonly<TSESTree.Property>; }>
Removal options containing the fixer, parent object expression, and property to remove.
Returnsโ
RuleFix
Fix removing the property while preserving object syntax.