def METHOD_NAME(
    self,
    match: MatchError,
    lintable: Lintable,
    data: CommentedMap | CommentedSeq | str,
) -> None:
    if "no-free-form" in match.tag:
        task = self.seek(match.yaml_path, data)
        def filter_values(
            val: str,
            filter_key: str,
            filter_dict: dict[str, Any],
        ) -> bool:
            """Return True if module option is not present in the string."""
            if filter_key not in val:
                return True
            [k, v] = val.split("=")
            filter_dict[k] = v
            return False
        if match.tag == "no-free-form":
            module_opts: dict[str, Any] = {}
            for _ in range(len(task)):
                k, v = task.popitem(False)
                # identify module as key and process its value
                if len(k.split(".")) == 3 and isinstance(v, str):
                    # Filter the module options and command
                    module_opts["cmd"] = " ".join(
                        [
                            item
                            for item in v.split(" ")
                            if filter_values(item, "=", module_opts)
                        ],
                    )
                    sorted_module_opts = {}
                    for key in sorted(
                        module_opts.keys(),
                        key=functools.cmp_to_key(task_property_sorter),
                    ):
                        sorted_module_opts[key] = module_opts[key]
                    task[k] = sorted_module_opts
                else:
                    task[k] = v
            match.fixed = True
        elif match.tag == "no-free-form[raw]":
            exec_key_val: dict[str, Any] = {}
            for _ in range(len(task)):
                k, v = task.popitem(False)
                if isinstance(v, str) and "executable" in v:
                    # Filter the executable and other parts from the string
                    task[k] = " ".join(
                        [
                            item
                            for item in v.split(" ")
                            if filter_values(item, "executable=", exec_key_val)
                        ],
                    )
                    task["args"] = exec_key_val
                else:
                    task[k] = v
            match.fixed = True