mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* ACS-5290 Corrected version of adding custom eslint rule * ACS-5290 Corrected version of adding custom eslint rule
674 B
674 B
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Use none component view encapsulation | v6.1.0 | Active | 2023-05-23 |
Use none component view encapsulation
Custom ESLint rule which check if component uses ViewEncapsulation.None. It has been implemented because None encapsulation makes themes styling easier. It also allows to autofix.
Basic Usage
Put this rule in eslintrc.json in rules.
{
"rules": {
"@alfresco/eslint-angular/use-none-component-view-encapsulation": "error"
}
}