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

Use block linting exceptions when used over and over #235

Open
frankhereford opened this issue Nov 26, 2022 · 0 comments
Open

Use block linting exceptions when used over and over #235

frankhereford opened this issue Nov 26, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@frankhereford
Copy link
Owner

/* eslint-disable no-multi-spaces, @typescript-eslint/brace-style */
if (props.size === 8) { classes.push('w-[8px] h-[8px] ') }
else if (props.size === 10) { classes.push('w-[10px] h-[10px]') }
else if (props.size === 12) { classes.push('w-[12px] h-[12px]') }
else if (props.size === 15) { classes.push('w-[15px] h-[15px]') }
else if (props.size === 20) { classes.push('w-[20px] h-[20px]') }
else if (props.size === 40) { classes.push('w-[40px] h-[40px]') }
else { classes.push('w-[60px] h-[60px]') }
/* eslint-enable no-multi-spaces, @typescript-eslint/brace-style */

@frankhereford frankhereford added the enhancement New feature or request label Nov 26, 2022
@frankhereford frankhereford self-assigned this Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant