Skip to content

Commit

Permalink
Improve option descriptions of style config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe committed Jun 11, 2018
1 parent bfc0cfc commit 0ce0803
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Dependencies
import { CompositeDisposable } from 'atom'
import deprecateConfig from './utils/deprecate-config'
import styleSettings from './utils/style-settings'

const scope = ['source.js', 'source.js.jsx', 'source.js.jquery', 'source.gfm', 'source.vue']

Expand All @@ -12,8 +11,12 @@ export const config = {
type: 'string',
title: 'Default style',
description: 'Default global style when none is installed locally.',
default: styleSettings.defaultStyle,
enum: styleSettings.styleOptions,
default: 'standard',
enum: [
{ value: 'standard', description: 'JavaScript Standard Style (standard)' },
{ value: 'semistandard', description: 'JavaScript Semi-Standard Style (semistandard)' },
{ value: 'happiness', description: 'JavaScript Happiness Style (happiness)' }
],
order: 1
},
checkStyleDevDependencies: {
Expand Down

0 comments on commit 0ce0803

Please sign in to comment.