diff --git a/src/options.ts b/src/options.ts index 6bcfd7377..bb14eb765 100644 --- a/src/options.ts +++ b/src/options.ts @@ -10,7 +10,7 @@ const options: SupportOptions = { category: CATEGORY_GLOBAL, type: 'int', default: 80, - description: 'The line length where Prettier will try wrap.', + description: 'The line length where Prettier will try to wrap.', range: { start: 0, end: Number.POSITIVE_INFINITY, step: 1 } }, tabWidth: { diff --git a/src/parser.js b/src/parser.js index 850506adf..f77cea1cf 100644 --- a/src/parser.js +++ b/src/parser.js @@ -59,7 +59,7 @@ function parse(text, _parsers, options = _parsers) { ctx.value = options.singleQuote ? `hex'${value}'` : `hex"${value}"`; }, Conditional(ctx) { - // TODO: while the behaviour is not stable, it should be behind the + // TODO: while the behavior is not stable, it should be behind the // experimentalTernaries flag. if (options.experimentalTernaries) { // We can remove parentheses only because we are sure that the @@ -91,7 +91,7 @@ function parse(text, _parsers, options = _parsers) { ctx.left = tryHug(ctx.left, ['*', '/', '%']); break; case '**': - // If the compiler has not been given as an option using we leave + // If the compiler has not been given as an option we leave // a**b**c. if (!compiler) break; diff --git a/src/slangSolidityParser.ts b/src/slangSolidityParser.ts index ce597527d..408e7bdfd 100644 --- a/src/slangSolidityParser.ts +++ b/src/slangSolidityParser.ts @@ -20,7 +20,7 @@ export default function parse( options ); - // Because of comments being extracted like a russian doll, the order needs + // Because of comments being extracted like a Russian doll, the order needs // to be fixed at the end. parsed.comments = clearComments().sort((a, b) => a.loc.start - b.loc.start); clearOffsets();