mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ACS-5520 add eslint-angular README, rephrase rule documentation (#8850)
This commit is contained in:
committed by
GitHub
parent
d839531d08
commit
885c5a52fe
@@ -7,11 +7,12 @@ Last reviewed: 2023-05-23
|
||||
|
||||
# [Use none component view encapsulation](../../../lib/eslint-angular/src/rules/use-none-component-view-encapsulation/use-none-component-view-encapsulation.ts "Defined in use-none-component-view-encapsulation.ts")
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
Put this rule in `.eslintrc.json` in `rules` section.
|
||||
|
||||
```json
|
||||
{
|
||||
|
Reference in New Issue
Block a user