ESLint Plugin:
Like:
rules: {
'surimi/no-important': 'error',
'surimi/selector-naming-convention': ['error', { pattern: 'kebab-case' }],
'surimi/no-nested-select-depth': ['warn', { max: 3 }],
'surimi/prefer-mixin': 'warn', // For repeated styles
}
First idea from my side, maybe there are more rules useful or is it overkill?
ESLint Plugin:
Like:
rules: {
'surimi/no-important': 'error',
'surimi/selector-naming-convention': ['error', { pattern: 'kebab-case' }],
'surimi/no-nested-select-depth': ['warn', { max: 3 }],
'surimi/prefer-mixin': 'warn', // For repeated styles
}
First idea from my side, maybe there are more rules useful or is it overkill?