'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var nodejs_os = require('../nodejs/os.js');

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

exports.getStylelintLinebreaksRules = getStylelintLinebreaksRules;
