diff --git a/packages/pigment-css-nextjs-plugin/src/index.ts b/packages/pigment-css-nextjs-plugin/src/index.ts index 2b343fe8..f708158c 100644 --- a/packages/pigment-css-nextjs-plugin/src/index.ts +++ b/packages/pigment-css-nextjs-plugin/src/index.ts @@ -57,7 +57,7 @@ export function withPigment(nextConfig: NextConfig, pigmentConfig?: PigmentOptio }, async asyncResolve(what: string, importer: string, stack: string[]) { // Using the same stub file as "next/font". Should be updated in future to - // use it's own stub depdending on the actual usage. + // use its own stub depending on the actual usage. if (what.startsWith('__barrel_optimize__')) { return require.resolve('../next-font'); } diff --git a/packages/pigment-css-react/src/generateAtomics.js b/packages/pigment-css-react/src/generateAtomics.js index 2db31e7c..a32dcc16 100644 --- a/packages/pigment-css-react/src/generateAtomics.js +++ b/packages/pigment-css-react/src/generateAtomics.js @@ -3,7 +3,7 @@ import cx from 'clsx'; /** * `__wyw_dynamic_import` is a special global var that is set during the evaluation phase by wyw. * So during eval phase, it can happen that some code is calling the runtime function. - * We do not want to throw error in that case as we want the evaluation to happen. + * We do not want to throw an error in that case as we want the evaluation to happen. */ export function generateAtomics() { if (typeof __wyw_dynamic_import !== 'undefined') { diff --git a/packages/pigment-css-react/src/processors/styled.ts b/packages/pigment-css-react/src/processors/styled.ts index 562763a6..f5a544a4 100644 --- a/packages/pigment-css-react/src/processors/styled.ts +++ b/packages/pigment-css-react/src/processors/styled.ts @@ -359,7 +359,7 @@ export class StyledProcessor extends BaseProcessor { 'theme', ); // all the variant definitions are collected here so that we can - // apply variant styles after base styles for more specific targetting. + // apply variant styles after base styles for more specific targeting. let variantsAccumulator: VariantData[] = []; (this.styleArgs as ExpressionValue[]).forEach((styleArg) => { this.processStyle(values, styleArg, variantsAccumulator, themeImportIdentifier.name); diff --git a/packages/pigment-css-unplugin/src/index.ts b/packages/pigment-css-unplugin/src/index.ts index e33d81ef..a0f46e61 100644 --- a/packages/pigment-css-unplugin/src/index.ts +++ b/packages/pigment-css-unplugin/src/index.ts @@ -289,7 +289,7 @@ export const plugin = createUnplugin((options) => { cssText = await handleUrlReplacement(cssText, id, asyncResolve, projectPath); } - // Valid names must start with a underscore or letter. + // Valid names must start with an underscore or letter. const layerName = `_${slug}`; // Fix for https://github.com/mui/pigment-css/issues/199 diff --git a/packages/pigment-css-utils/src/base-processor.ts b/packages/pigment-css-utils/src/base-processor.ts index efcbd626..216f5594 100644 --- a/packages/pigment-css-utils/src/base-processor.ts +++ b/packages/pigment-css-utils/src/base-processor.ts @@ -2,6 +2,6 @@ import { BaseProcessor as WywBaseProcessor } from '@wyw-in-js/processor-utils'; /** * This is going to be expanded when the react package comes into picture. - * Right now, it only has the bare mimimum. + * Right now, it only has the bare minimum. */ export default abstract class BaseProcessor extends WywBaseProcessor {}