src/vs/editor/standalone/browser/simpleServices.ts/SimpleResourcePropertiesService/getEOL
class SimpleResourcePropertiesService:	getEOL(resource: URI, language?: string): string {
		const eol = this.configurationService.getValue<string>('files.eol', { overrideIdentifier: language, resource });
		if (eol && eol !== 'auto') {
			return eol;
		}
		return (isLinux || isMacintosh) ? '\n' : '\r\n';
	}