@pob/eslint-config-typescript-react 49.0.1 → 49.3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,39 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [49.3.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.2.1...v49.3.0) (2022-04-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **eeslint-config-typescript-react:** add react-native-web config ([6f48e95](https://github.com/christophehurpeau/eslint-config-pob/commit/6f48e95f0d7cfd98ec34f167bfc824c256d6756a))
12
+
13
+
14
+
15
+
16
+
17
+ # [49.2.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.1.0...v49.2.0) (2022-03-13)
18
+
19
+
20
+ ### Features
21
+
22
+ * app override ([07e5710](https://github.com/christophehurpeau/eslint-config-pob/commit/07e5710723fa19cd3eb31cb462d8a0201c5782d0))
23
+
24
+
25
+
26
+
27
+
28
+ # [49.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.0.1...v49.1.0) (2022-03-13)
29
+
30
+
31
+ ### Features
32
+
33
+ * **deps:** update dependency eslint-plugin-unicorn to v41 ([#323](https://github.com/christophehurpeau/eslint-config-pob/issues/323)) ([999c202](https://github.com/christophehurpeau/eslint-config-pob/commit/999c20267998adbeba86a87137d7f70012909174))
34
+
35
+
36
+
37
+
38
+
6
39
  ## [49.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.0.0...v49.0.1) (2022-02-12)
7
40
 
8
41
 
package/lib/app.js ADDED
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ extends: ['@pob/eslint-config-typescript/app'].map(require.resolve),
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config-typescript-react",
3
- "version": "49.0.1",
3
+ "version": "49.3.0",
4
4
  "description": "eslint config files",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
@@ -21,6 +21,7 @@
21
21
  "main": "./lib/index.js",
22
22
  "exports": {
23
23
  ".": "./lib/index.js",
24
+ "./app": "./lib/app.js",
24
25
  "./package.json": "./package.json"
25
26
  },
26
27
  "sideEffects": false,
@@ -35,7 +36,7 @@
35
36
  },
36
37
  "pob": {},
37
38
  "peerDependencies": {
38
- "eslint": "^8.4.1",
39
+ "eslint": "^8.11.0",
39
40
  "eslint-plugin-import": "^2.25.3",
40
41
  "eslint-plugin-jsx-a11y": "^6.5.1",
41
42
  "eslint-plugin-react": "^7.28.0",
@@ -56,12 +57,12 @@
56
57
  }
57
58
  },
58
59
  "dependencies": {
59
- "@pob/eslint-config": "49.0.0",
60
+ "@pob/eslint-config": "49.1.0",
60
61
  "eslint-config-airbnb": "^19.0.4",
61
62
  "eslint-plugin-import": "^2.25.3",
62
63
  "eslint-plugin-jsx-a11y": "^6.5.1",
63
64
  "eslint-plugin-react": "^7.28.0",
64
65
  "eslint-plugin-react-hooks": "^4.3.0"
65
66
  },
66
- "gitHead": "3348970fc59bab9885760fdec1e8c14f591a6d43"
67
+ "gitHead": "d2c42952c4b58ebdf96315b05f401b954b626fb8"
67
68
  }
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ extends: ['./react-native'].map(require.resolve),
5
+
6
+ settings: {
7
+ 'import/resolver': {
8
+ node: {
9
+ extensions: ['.js', '.web.js'],
10
+ },
11
+ },
12
+ },
13
+
14
+ rules: {
15
+ 'import/no-unresolved': [
16
+ 'error',
17
+ {
18
+ ignore: [
19
+ // allow react-native as it is replaced by react-native-web and typed by @types/react-native. react-native lib does not need to be installed in that case
20
+ 'react-native',
21
+ ],
22
+ },
23
+ ],
24
+ },
25
+ };