function defineFix(line, actualIndentText, expectedIndentText) {
      return (fixer) => {
        const start = sourceCode.getIndexFromLoc({
          line,
          column: 0
        })
        return fixer.replaceTextRange(
          [start, start + actualIndentText.length],
          expectedIndentText
        )
      }
    }
Define the function which fixes the problem.
@param {number} line The number of line.
@param {string} actualIndentText The actual indentation text.
@param {string} expectedIndentText The expected indentation text.
@returns { (fixer: RuleFixer) => Fix } The defined function.