function getDeclaredLocation(variable) {
			const identifier = variable.identifiers[0];
			let obj;

			if (identifier) {
				obj = {
					global: false,
					line: identifier.loc.start.line,
					column: identifier.loc.start.column + 1,
				};
			} else {
				obj = {
					global: true,
				};
			}
			return obj;
		}
Get declared line and column of a variable.
@param {eslint-scope.Variable} variable The variable to get.
@returns {Object} The declared line and column of the variable.