Closed Vempaati closed 6 days ago
The changes primarily focus on code consistency, adding new rules, and improving code style and formatting. Updates include adjustments in ESLint configurations, Husky pre-commit hooks, VSCode settings, and minor formatting changes in various source files, ensuring a more consistent and maintainable codebase. Key updates include standardizing quotes, adding and modifying linting rules, adjusting import/export statement formats, and organizing color values and function components.
File/Directory | Change Summary |
---|---|
.eslintrc.cjs | Updated quoting style, added new rules, modified existing rule configurations, and adjusted ignorePatterns . |
.husky/pre-commit | Changed shebang line, added pretty-quick for staged linting, and included a message before running linting. |
.vscode/settings.json | Set editor.formatOnSave to true, updated codeActionsOnSave settings to fix all issues using ESLint. |
src/colors/* | Restructured color objects, adjusted indentation, removed trailing commas, and standardized export statements. |
src/core/customClassSwitcher.ts | Made minor formatting adjustments and code reorganization while keeping the logic unchanged. |
src/core/index.ts | Reformatted import/export statements for better readability by adding spaces around curly braces. |
src/examples/.../UseInteractionsExample.js | Refactored component to use arrow functions, improved code readability, and reformatted import statements. |
src/setupTests.js | Removed trailing semicolon in import statement for @testing-library/jest-dom . |
Across the lines of code we tread,
Simplifying, changing quotes we've set,
ESLint rules evolved, new and old,
Now in harmony, our files unfold.
Colors clearer, formats neat,
In our code, a symphony sweet.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I like the quality of life improvements, but it's too big to manually review, let's break this down into smaller prs please 😄
This would add the following changes
husky
Summary by CodeRabbit
Style
Chores
Refactor