eslint-config-reverentgeek 5.1.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -79,14 +79,18 @@ export default [
|
|
|
79
79
|
];
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
The _react_ config adds specific support for
|
|
82
|
+
The _react_ config adds specific support for React, browser, and ES modules (`import`/`export`).
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
npm install --save-dev eslint-plugin-react
|
|
86
|
+
```
|
|
83
87
|
|
|
84
88
|
```js
|
|
85
89
|
import rg from "eslint-config-reverentgeek";
|
|
86
90
|
import react from "eslint-plugin-react";
|
|
87
91
|
|
|
88
92
|
export default [
|
|
89
|
-
...rg.configs
|
|
93
|
+
...rg.configs.browser,
|
|
90
94
|
...rg.configs.react,
|
|
91
95
|
{
|
|
92
96
|
plugins: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-reverentgeek",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "ESLint rules that ReverentGeek likes :)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -25,4 +25,4 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"eslint": "^9.1.1"
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|