Skip to content

Commit

Permalink
fix(prettier-plugin-jsdoc): correct typos on the options
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Oct 31, 2020
1 parent 791e5e4 commit e662134
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/fns/getOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ const getOptions = () => ({
category: 'jsdoc',
default: false,
description:
'Whether or not to use the @description tag when a description is found in the "body" ' +
'Whether or not to use the @description tag when a description is found on the "body" ' +
'or following a type/callback definition.',
},
jsdocFormatExamples: {
type: 'boolean',
category: 'jsdoc',
default: true,
description: 'Whether or not to attemp to format the @example tags using Prettier.',
description: 'Whether or not to attempt to format the @example tags using Prettier.',
},
jsdocLinesBetweenExampleTagAndCode: {
type: 'int',
Expand All @@ -51,7 +51,8 @@ const getOptions = () => ({
default: false,
description:
'Whether or not to add an indentation level to the code snippets of @example tags that ' +
'couldn\'t be formatted with Prettier. This is only valid if `jsdocFormatExamples` is `true`',
'couldn\'t be formatted with Prettier. This is only valid if `jsdocFormatExamples` is ' +
'`true`.',
},
jsdocAllowAccessTag: {
type: 'boolean',
Expand Down Expand Up @@ -85,7 +86,7 @@ const getOptions = () => ({
type: 'int',
category: 'jsdoc',
default: 1,
description: 'ow many spaces should there be between string literals on a type.',
description: 'How many spaces should there be between string literals on a type.',
},
jsdocUseTypeScriptTypesCasing: {
type: 'boolean',
Expand Down Expand Up @@ -116,8 +117,8 @@ const getOptions = () => ({
category: 'jsdoc',
default: true,
description:
'Whether or not to apply transformations regarding the dot `Array` and `Object` can have ' +
'before the their generics (`Array.<...`)',
'Whether or not to apply transformations regarding the dot `Array` and `Object` types can ' +
'have before their generics (`Array.<...`)',
},
jsdocUseDotForArraysAndObjects: {
type: 'boolean',
Expand All @@ -139,7 +140,7 @@ const getOptions = () => ({
type: 'boolean',
category: 'jsdoc',
default: true,
description: 'Whether or not to sort the tags of a JSDoc block',
description: 'Whether or not to sort the tags of a JSDoc block.',
},
jsdocTagsOrder: {
type: 'path',
Expand Down

0 comments on commit e662134

Please sign in to comment.