Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint: Fix a few jsdoc/check-line-alignment warnings #44984

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getComputedFluidTypographyValue } from '@wordpress/block-editor';

/**
* @typedef {Object} FluidPreset
* @property {string|undefined} max A maximum font size value.
* @property {string|undefined} max A maximum font size value.
* @property {?string|undefined} min A minimum font size value.
*/

Expand Down
4 changes: 2 additions & 2 deletions packages/style-engine/src/styles/border/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { generateRule, generateBoxRules, camelCaseJoin } from '../utils';
/**
* Creates a function for generating CSS rules when the style path is the same as the camelCase CSS property used in React.
*
* @param path An array of strings representing the path to the style value in the style object.
* @param path An array of strings representing the path to the style value in the style object.
*
* @return A function that generates CSS rules.
*/
Expand All @@ -19,7 +19,7 @@ function createBorderGenerateFunction( path: string[] ): GenerateFunction {
/**
* Creates a function for generating border-{top,bottom,left,right}-{color,style,width} CSS rules.
*
* @param edge The edge to create CSS rules for.
* @param edge The edge to create CSS rules for.
*
* @return A function that generates CSS rules.
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/style-engine/src/styles/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function getCSSVarFromStyleValue( styleValue: string ): string {
/**
* Capitalizes the first letter in a string.
*
* @param string The string whose first letter the function will capitalize.
* @param string The string whose first letter the function will capitalize.
*
* @return String with the first letter capitalized.
*/
Expand All @@ -141,7 +141,7 @@ export function upperFirst( string: string ): string {
/**
* Converts an array of strings into a camelCase string.
*
* @param strings The strings to join into a camelCase string.
* @param strings The strings to join into a camelCase string.
*
* @return camelCase string.
*/
Expand Down