@pob/eslint-config-typescript-react 49.1.0 → 49.3.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/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.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.0...v49.3.1) (2022-04-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **eslint-config-typescript-react:** move react-native and react-native-web main files ([7cf5551](https://github.com/christophehurpeau/eslint-config-pob/commit/7cf555171b95300da01291f52e3cb835c8f16e62))
12
+
13
+
14
+
15
+
16
+
17
+ # [49.3.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.2.1...v49.3.0) (2022-04-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **eeslint-config-typescript-react:** add react-native-web config ([6f48e95](https://github.com/christophehurpeau/eslint-config-pob/commit/6f48e95f0d7cfd98ec34f167bfc824c256d6756a))
23
+
24
+
25
+
26
+
27
+
28
+ # [49.2.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.1.0...v49.2.0) (2022-03-13)
29
+
30
+
31
+ ### Features
32
+
33
+ * app override ([07e5710](https://github.com/christophehurpeau/eslint-config-pob/commit/07e5710723fa19cd3eb31cb462d8a0201c5782d0))
34
+
35
+
36
+
37
+
38
+
6
39
  # [49.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.0.1...v49.1.0) (2022-03-13)
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
+ };
@@ -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
+ };
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config-typescript-react",
3
- "version": "49.1.0",
3
+ "version": "49.3.1",
4
4
  "description": "eslint config files",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
@@ -21,6 +21,9 @@
21
21
  "main": "./lib/index.js",
22
22
  "exports": {
23
23
  ".": "./lib/index.js",
24
+ "./app": "./lib/app.js",
25
+ "./react-native": "./lib/react-native.js",
26
+ "./react-native-web": "./lib/react-native-web.js",
24
27
  "./package.json": "./package.json"
25
28
  },
26
29
  "sideEffects": false,
@@ -63,5 +66,5 @@
63
66
  "eslint-plugin-react": "^7.28.0",
64
67
  "eslint-plugin-react-hooks": "^4.3.0"
65
68
  },
66
- "gitHead": "bdf25e1815e73a70ce7ce14f9a6077c6d57d7903"
69
+ "gitHead": "44cdc452e71974d7b811d7260213bc33c054d927"
67
70
  }