BluMintInc / eslint-custom-rules

Custom rules for use in BluMint repositories.
1 stars 0 forks source link

Sweep: Indentify and fix violations of clean code naming rules #24

Open oconnorjoseph opened 1 year ago

oconnorjoseph commented 1 year ago

Where you reference Martin Fowler's clean code book.

sweep-ai[bot] commented 1 year ago

Hey @oconnorjoseph,

I've started working on your request to identify and fix violations of clean code naming rules in our ESLint plugin. The plan is to create a new ESLint rule that checks for these violations. This rule will analyze the names of variables, functions, classes, etc. in the codebase and flag any names that violate the clean code naming rules.

Once the rule is created, I'll write some test cases to ensure it's working correctly. After that, I'll use the rule to identify and fix any violations in the codebase.

Give me a minute!

Cheers, Sweep bot

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/BluMintInc/eslint-custom-rules/blob/b6266f11c8639be7dff6e8de81edf918de4ab0de/plugin/README.md#L1-L77 https://github.com/BluMintInc/eslint-custom-rules/blob/b6266f11c8639be7dff6e8de81edf918de4ab0de/README.md#L229-L299 https://github.com/BluMintInc/eslint-custom-rules/blob/b6266f11c8639be7dff6e8de81edf918de4ab0de/package.json#L1-L96 https://github.com/BluMintInc/eslint-custom-rules/blob/b6266f11c8639be7dff6e8de81edf918de4ab0de/plugin/docs/rules/extract-global-constants.md#L1-L33 https://github.com/BluMintInc/eslint-custom-rules/blob/b6266f11c8639be7dff6e8de81edf918de4ab0de/plugin/src/index.ts#L1-L58

I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind!

sweep-ai[bot] commented 1 year ago

I'm sorry, but it looks like an error has occured. Try removing and re-adding the sweep label. If this error persists contact team@sweep.dev.


I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind!