import { getOs } from '../nodejs/os.mjs';

function getStylelintLinebreaksRules() {
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'unix';
  var platform = getOs().platform();
  if (platform === 'linux') {
    return {};
  }
  return {
    linebreaks: value
  };
}

export { getStylelintLinebreaksRules };
