Skip to content

Commit

Permalink
fix(parser): remove default options passed to prettier-eslint (#71) (
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 authored and Kent C. Dodds committed Jun 7, 2017
1 parent 8ff62ab commit dbcf8ed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const parser = yargs
},
'use-tabs': {
type: 'boolean',
default: undefined,
describe: 'Indent lines with tabs instead of spaces.',
},
'print-width': {
Expand All @@ -104,6 +105,7 @@ const parser = yargs
},
'bracket-spacing': {
type: 'boolean',
default: undefined,
describe: stripIndent`
Print spaces between brackets in object literals.
Can use --no-bracket-spacing for "false" to disable it.
Expand All @@ -112,10 +114,10 @@ const parser = yargs
- true - Example: { foo: bar }
- false - Example: {foo: bar}
`,
choices: [true, false],
},
'jsx-bracket-same-line': {
type: 'boolean',
default: undefined,
describe: oneLine`
Put the > of a multi-line JSX element at
the end of the last line instead of
Expand All @@ -128,6 +130,7 @@ const parser = yargs
},
semi: {
type: 'boolean',
default: undefined,
describe: stripIndent`
Print semicolons at the ends of statements.
Can use --no-semi.
Expand All @@ -139,10 +142,10 @@ const parser = yargs
that may introduce ASI failures
`}
`,
choices: [true, false],
},
'single-quote': {
type: 'boolean',
default: undefined,
describe: 'Use single quotes instead of double quotes.',
},
// TODO: support range-start and range-end
Expand Down

0 comments on commit dbcf8ed

Please sign in to comment.