Skip to content

Commit 8a391d8

Browse files
authored
Add links to eslint-plugin-lwc rules (#25)
1 parent ddaac0f commit 8a391d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ This package exposes 3 configurations for your usage.
3232
Prevent common pitfalls with LWC, and enforce other Salesforce platform restrictions.
3333

3434
**Rules:**
35-
LWC specific rules only.
35+
[_LWC specific rules_](https://github.com/salesforce/eslint-plugin-lwc/blob/master/README.md#lwc) only.
3636

3737
### `@salesforce/eslint-config-lwc/recommended` configuration
3838

3939
**Goal:**
4040
Prevent common Javascript pitfalls and enforce all best practices.
4141

4242
**Rules:**
43-
`@salesforce/eslint-config-lwc/base` rules + Most of the base [_Potential errors_](https://eslint.org/docs/rules/#possible-errors) rules + Some of the [_Best Practices_](https://eslint.org/docs/rules/#best-practices) rules.
43+
`@salesforce/eslint-config-lwc/base` rules + Most of the base [_Potential errors_](https://eslint.org/docs/rules/#possible-errors) rules + Some of the [_Best Practices_](https://eslint.org/docs/rules/#best-practices) rules + [_LWC Best Practices_](https://github.com/salesforce/eslint-plugin-lwc/blob/master/README.md#best-practices).
4444

4545
### `@salesforce/eslint-config-lwc/extended` configuration
4646

4747
**Goal:**
4848
Restrict usage of some Javascript language features known to be slow after the _COMPAT_ transformation. LWC runs in _COMPAT_ mode on older browsers (eg. IE11). To support new Javascript syntax and language features on older browser the LWC compiler transforms LWC modules. This linting configuration targets patterns known to be slow in _COMPAT_ mode.
4949

5050
**Rules:**
51-
`@salesforce/eslint-config-lwc/recommended` rules + restrict usage of some slow patterns in _COMPAT_.
51+
`@salesforce/eslint-config-lwc/recommended` rules + restrict usage of some slow patterns in [_COMPAT_](https://github.com/salesforce/eslint-plugin-lwc/blob/master/README.md#compat-performance).

0 commit comments

Comments
 (0)