@perfective/eslint-config-react 0.8.0-beta.2 → 0.8.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.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
- that is used for the development of the `@perfective` https://reactjs.org[React] packages.
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` or `.eslintrc.json`.
57
+ . Require the configuration in your root `.eslintrc.js`.
58
58
  +
59
- [source,js]
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
- that is used for the development of the `@perfective` [React](https://reactjs.org) packages.
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` or `.eslintrc.json`.
55
+ 2. Require the configuration in your root `.eslintrc.js`.
56
56
 
57
- ```js
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-beta.2",
3
+ "version": "0.8.1",
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,15 +11,18 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@perfective/eslint-config": "~0.18.0-beta.2"
14
+ "@perfective/eslint-config": "~0.18.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "eslint-plugin-jsx-a11y": "^6.6.0",
18
- "eslint-plugin-react": "^7.30.1",
17
+ "eslint-plugin-jsx-a11y": "^6.6.1",
18
+ "eslint-plugin-react": "^7.30.2",
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
+ "overrides": {
24
+ "glob-parent": "^5.1.2"
25
+ },
23
26
  "main": "./index.js",
24
27
  "directories": {
25
28
  "lib": "./"
@@ -47,7 +47,7 @@ module.exports = {
47
47
  'react/jsx-key': ['error', {
48
48
  checkFragmentShorthand: true,
49
49
  checkKeyMustBeforeSpread: true,
50
- warnDuplicates: true,
50
+ warnOnDuplicates: true,
51
51
  }],
52
52
  'react/jsx-max-depth': ['error', {
53
53
  max: 4,