@perfective/eslint-config-react 0.8.0-beta → 0.8.0
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.adoc +4 -4
- package/README.md +4 -4
- package/package.json +3 -4
package/README.adoc
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
= Perfective ESLint Config for React
|
|
2
2
|
|
|
3
3
|
`@perfective/eslint-config-react` provides
|
|
4
|
-
a https://eslint.org/docs/developer-guide/shareable-configs[shareable ESLint configuration]
|
|
5
|
-
|
|
4
|
+
a https://eslint.org/docs/latest/developer-guide/shareable-configs[shareable ESLint configuration]
|
|
5
|
+
for developing the `@perfective` https://reactjs.org[React] packages.
|
|
6
6
|
This package extends the
|
|
7
7
|
`link:https://www.npmjs.com/package/@perfective/eslint-config[@perfective/eslint-config]` package.
|
|
8
8
|
|
|
@@ -54,9 +54,9 @@ npm install --save-dev \
|
|
|
54
54
|
tslint
|
|
55
55
|
----
|
|
56
56
|
+
|
|
57
|
-
. Require the configuration in your root `.eslintrc.js
|
|
57
|
+
. Require the configuration in your root `.eslintrc.js`.
|
|
58
58
|
+
|
|
59
|
-
[source,
|
|
59
|
+
[source,javascript]
|
|
60
60
|
----
|
|
61
61
|
module.exports = {
|
|
62
62
|
extends: ['@perfective/eslint-config-react'],
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Perfective ESLint Config for React
|
|
2
2
|
|
|
3
3
|
`@perfective/eslint-config-react` provides
|
|
4
|
-
a [shareable ESLint configuration](https://eslint.org/docs/developer-guide/shareable-configs)
|
|
5
|
-
|
|
4
|
+
a [shareable ESLint configuration](https://eslint.org/docs/latest/developer-guide/shareable-configs)
|
|
5
|
+
for developing the `@perfective` [React](https://reactjs.org) packages.
|
|
6
6
|
This package extends the
|
|
7
7
|
[`@perfective/eslint-config`](https://www.npmjs.com/package/@perfective/eslint-config) package.
|
|
8
8
|
|
|
@@ -52,9 +52,9 @@ npm install --save-dev \
|
|
|
52
52
|
tslint
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
2. Require the configuration in your root `.eslintrc.js
|
|
55
|
+
2. Require the configuration in your root `.eslintrc.js`.
|
|
56
56
|
|
|
57
|
-
```
|
|
57
|
+
```javascript
|
|
58
58
|
module.exports = {
|
|
59
59
|
extends: ['@perfective/eslint-config-react'],
|
|
60
60
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perfective/eslint-config-react",
|
|
3
|
-
"version": "0.8.0
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "ESLint shareable rules configuration for React",
|
|
5
5
|
"keywords": ["react", "code quality", "code standard", "code style", "eslint", "eslint-config", "lint", "perfective", "typescript"],
|
|
6
6
|
"author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
|
|
@@ -11,17 +11,16 @@
|
|
|
11
11
|
},
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@perfective/eslint-config": "~0.18.0
|
|
14
|
+
"@perfective/eslint-config": "~0.18.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"eslint-plugin-jsx-a11y": "^6.6.
|
|
17
|
+
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
18
18
|
"eslint-plugin-react": "^7.30.1",
|
|
19
19
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
20
20
|
"eslint-plugin-react-hooks-ssr": "^0.1.5",
|
|
21
21
|
"eslint-plugin-react-perf": "^3.3.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "./index.js",
|
|
24
|
-
"types": "./index.d.ts",
|
|
25
24
|
"directories": {
|
|
26
25
|
"lib": "./"
|
|
27
26
|
},
|