Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott committed Feb 28, 2021
1 parent 9b1b478 commit 56da90d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stylelint-prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = stylelint.createPlugin(
initialOptions.parser = 'css';
}

// Stylelint suppports languages that may contain multiple types of style
// Stylelint supports languages that may contain multiple types of style
// languages, thus we can't rely on guessing the parser based off the
// filename.

Expand Down Expand Up @@ -116,7 +116,7 @@ module.exports = stylelint.createPlugin(
let message = 'Parsing error: ' + err.message;

// Prettier's message contains a codeframe style preview of the
// invalid code and the line/column at which the error occured.
// invalid code and the line/column at which the error occurred.
// ESLint shows those pieces of information elsewhere already so
// remove them from the message
if (err.codeFrame) {
Expand Down Expand Up @@ -190,7 +190,7 @@ module.exports = stylelint.createPlugin(
const syntax = root.source.syntax || result.opts.syntax;
const newRoot = syntax.parse(rawData);

// For reasons I don't really undersand, when the original input does
// For reasons I don't really understand, when the original input does
// not have a trailing newline, newRoot generates a trailing newline but
// it does not get included in the output.
// Cleaning the root raws (to remove any existing whitespace), then
Expand Down

0 comments on commit 56da90d

Please sign in to comment.