From 56da90d2c577599764aff651fa5ea442915fd482 Mon Sep 17 00:00:00 2001 From: Ben Scott Date: Sat, 27 Feb 2021 16:16:04 -0800 Subject: [PATCH] Fix typos --- stylelint-prettier.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stylelint-prettier.js b/stylelint-prettier.js index 9a78dcb..741a733 100644 --- a/stylelint-prettier.js +++ b/stylelint-prettier.js @@ -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. @@ -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) { @@ -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