Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 689 Bytes

use-none-component-view-encapsulation.md

File metadata and controls

23 lines (18 loc) · 689 Bytes
Title Added Status Last reviewed
Use none component view encapsulation
v6.1.0
Active
2023-05-23

Custom ESLint rule that requires components to use ViewEncapsulation.None. It has been implemented because None encapsulation makes themes styling easier. This rule allows autofix.

Basic Usage

Put this rule in .eslintrc.json in rules section.

{
  "rules": {
    "@alfresco/eslint-angular/use-none-component-view-encapsulation": "error"
  }
}