feat: add advanced analytics and territory management system
- Add comprehensive analytics components with export functionality - Implement territory management with manager performance tracking - Add seatmap components for venue layout management - Create customer management features with modal interface - Add advanced hooks for dashboard flags and territory data - Implement seat selection and venue management utilities - Add type definitions for ticketing and seatmap systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -319,6 +319,47 @@ export default tseslint.config(
|
||||
format: ['UPPER_CASE'],
|
||||
},
|
||||
],
|
||||
|
||||
// Design System Rules - Prevent hardcoded colors
|
||||
'no-restricted-syntax': [
|
||||
'error',
|
||||
{
|
||||
selector: "Literal[value=/^#[0-9a-fA-F]{3,8}$/]",
|
||||
message: "Hardcoded hex colors are not allowed. Use design tokens from the theme system instead."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value=/^rgb\\(/]",
|
||||
message: "Hardcoded RGB colors are not allowed. Use design tokens from the theme system instead."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value=/^rgba\\(/]",
|
||||
message: "Hardcoded RGBA colors are not allowed. Use design tokens from the theme system instead."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value=/^hsl\\(/]",
|
||||
message: "Hardcoded HSL colors are not allowed. Use design tokens from the theme system instead."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value=/^hsla\\(/]",
|
||||
message: "Hardcoded HSLA colors are not allowed. Use design tokens from the theme system instead."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value*='bg-white']",
|
||||
message: "Use semantic color tokens like bg-background-primary instead of hardcoded bg-white."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value*='bg-black']",
|
||||
message: "Use semantic color tokens like bg-background-primary instead of hardcoded bg-black."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value*='text-white']",
|
||||
message: "Use semantic color tokens like text-primary instead of hardcoded text-white."
|
||||
},
|
||||
{
|
||||
selector: "Literal[value*='text-black']",
|
||||
message: "Use semantic color tokens like text-primary instead of hardcoded text-black."
|
||||
}
|
||||
],
|
||||
},
|
||||
},
|
||||
// Configuration for JavaScript files
|
||||
|
||||
Reference in New Issue
Block a user