## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/12396717822> > Commit: c556bda0ecbae89388821185ab86d340c553bc1e > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12396717822&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Wed, 18 Dec 2024 16:46:31 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated titles for various components in Storybook for improved readability (e.g., "NumberInput" to "Number Input"). - Introduced a new ESLint rule to enforce Title Case formatting for Storybook titles. - **Bug Fixes** - Enhanced error handling and validation for Storybook titles through the new ESLint rule. - **Documentation** - Added test cases for the new ESLint rule to validate title formats in Storybook configurations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
23 lines
607 B
TypeScript
23 lines
607 B
TypeScript
import { objectKeysRule } from "./object-keys/rule";
|
|
import { namedUseEffectRule } from "./named-use-effect/rule";
|
|
import { consistentStorybookTitle } from "./consistent-storybook-title/rule";
|
|
|
|
const plugin = {
|
|
rules: {
|
|
"object-keys": objectKeysRule,
|
|
"named-use-effect": namedUseEffectRule,
|
|
"consistent-storybook-title": consistentStorybookTitle,
|
|
},
|
|
configs: {
|
|
recommended: {
|
|
rules: {
|
|
"@appsmith/object-keys": "warn",
|
|
"@appsmith/named-use-effect": "warn",
|
|
"@appsmith/consistent-storybook-title": "error",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = plugin;
|