Skip to content

Commit 05db8db

Browse files
committed
Rewrite README
1 parent 3b6a77d commit 05db8db

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77

88
Coding standard used by Shlink JavaScript projects.
99

10-
This library includes two ESLint configurations, the base one (which includes eslint and typescript recommended rules), and the react-specific one (which includes JSX accessibility, react and react hooks recommended rules).
10+
This library includes two ESLint configurations on their own entry points:
1111

12-
Then there's a third one on the default entry point which includes both:
12+
* `/base`: includes recommended eslint, typescript and imports rules
13+
* `/react` includes recommended JSX accessibility, react, react hooks and react compiler rules.
14+
15+
The default entry point includes both of them:
1316

1417
```js
1518
// eslint.config.js
@@ -37,7 +40,7 @@ export default [
3740
];
3841
```
3942

40-
If you need to access the react rules individually, use the `/react` entry point:
43+
If you need to access react rules independently, use the `/react` entry point:
4144

4245
```js
4346
// eslint.config.js

0 commit comments

Comments
 (0)