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