'use babel';

export default {
  binary: {
    title: 'Binary path',
    description: 'Path for elm-format',
    type: 'string',
    default: '/usr/local/bin/elm-format',
    order: 1,
  },
  formatOnSave: {
    title: 'Format on save',
    description: 'Do we format when you save files?',
    type: 'boolean',
    default: true,
    order: 2,
  },
  showNotifications: {
    title: 'Show notifications on save',
    description: 'Do you want to see the bar when we save?',
    type: 'boolean',
    default: false,
    order: 3,
  },
  showErrorNotifications: {
    title: 'Show error notifications on save',
    description: 'Do you want to see the bar when we save?',
    type: 'boolean',
    default: true,
    order: 4,
  },
};

'use babel';

export default {
  binary: {
    title: 'Binary path',
    description: 'Path for elm-format',
    type: 'string',
    default: 'elm-format',
    order: 1,
  },
  formatOnSave: {
    title: 'Format on save',
    description: 'Do we format when you save files?',
    type: 'boolean',
    default: true,
    order: 2,
  },
  showNotifications: {
    title: 'Show notifications on save',
    description: 'Do you want to see the bar when we save?',
    type: 'boolean',
    default: false,
    order: 3,
  },
  showErrorNotifications: {
    title: 'Show error notifications on save',
    description: 'Do you want to see the bar when we save?',
    type: 'boolean',
    default: true,
    order: 4,
  },
};

Use "elm-format" as the default binary path
Use "elm-format" as the default binary path

Not all people have elm-format installed into /usr/local/bin/elm-format (I installed it via package manager so it's in /usr/bin/elm-format), but I assume most of the people have it int their PATH. This should fix #18 for most users.