code: function checkVariable(variable) {
              astUtils.getModifyingReferences(variable.references).forEach(reference => {
                  context.report({ node: reference.identifier, messageId: "unexpected" });
              });
          }
docs: Finds and reports references that are non initializer and writable.
  @param {Variable} variable - A variable to check.
  @returns {void}