reactivated 0.27.0 → 0.27.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/dist/eslintrc.js +4 -2
- package/dist/eslintrc.js.map +1 -1
- package/package.json +9 -9
- package/src/eslintrc.tsx +4 -3
package/dist/eslintrc.js
CHANGED
|
@@ -5,7 +5,7 @@ module.exports = {
|
|
|
5
5
|
parserOptions: {
|
|
6
6
|
project: ["./tsconfig.json"],
|
|
7
7
|
},
|
|
8
|
-
plugins: ["@typescript-eslint"],
|
|
8
|
+
plugins: ["@typescript-eslint", "unused-imports"],
|
|
9
9
|
settings: {
|
|
10
10
|
react: {
|
|
11
11
|
version: "detect",
|
|
@@ -74,7 +74,9 @@ module.exports = {
|
|
|
74
74
|
// We use empty arrays to run once, etc.
|
|
75
75
|
"react-hooks/exhaustive-deps": "off",
|
|
76
76
|
// Typescript overrides from recommended
|
|
77
|
-
"@typescript-eslint/no-unused-vars": "
|
|
77
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
78
|
+
"unused-imports/no-unused-imports": "error",
|
|
79
|
+
"unused-imports/no-unused-vars": "error",
|
|
78
80
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
79
81
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
80
82
|
// We use empty callbacks that are no-ops sometimes.
|
package/dist/eslintrc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslintrc.js","sourceRoot":"","sources":["../src/eslintrc.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACb,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,2BAA2B;IACnC,aAAa,EAAE;QACX,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC/B;IACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"eslintrc.js","sourceRoot":"","sources":["../src/eslintrc.tsx"],"names":[],"mappings":";AAAA,MA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AM,EAAE;oBACJ,SAAS;oBACT,UAAU;oBACV,UAAU;oBACV,QAAQ;oBACR,SAAS;oBACT,OAAO;iBACV;gBACD,6BAA6B,EAAE,CAAC,SAAS,CAAC;aAC7C;SACJ;QACD,kBAAkB;QAClB,kBAAkB,EAAE,KAAK;QACzB,iDAAiD;QACjD,oBAAoB,EAAE,KAAK;QAC3B,wCAAwC;QACxC,6BAA6B,EAAE,KAAK;QAEpC,wCAAwC;QACxC,mCAAmC,EAAE,KAAK;QAC1C,kCAAkC,EAAE,OAAO;QAC3C,+BAA+B,EAAE,OAAO;QACxC,mDAAmD,EAAE,KAAK;QAC1D,0CAA0C,EAAE,KAAK;QAEjD,oDAAoD;QACpD,sCAAsC,EAAE,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,CAAC,gBAAgB,CAAC,EAAC,CAAC;QAE9E,uBAAuB;QACvB,+CAA+C,EAAE,OAAO;QAExD,kGAAkG;QAClG,kDAAkD;QAClD,wCAAwC,EAAE;YACtC,OAAO;YACP;gBACI,gBAAgB,EAAE;oBACd,UAAU,EAAE,KAAK;iBACpB;aACJ;SACJ;QAED,yGAAyG;QACzG,yCAAyC,EAAE,CAAC,OAAO,CAAC;KACvD;IACD,OAAO,EAAE;QACL,oBAAoB;QACpB,0BAA0B;QAC1B,gCAAgC;QAChC,uCAAuC;QACvC,+DAA+D;QAC/D,UAAU;QACV,0BAA0B;QAC1B,sBAAsB;QACtB,wBAAwB;KAC3B;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactivated",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"build.renderer.js": "./dist/build.renderer.js"
|
|
18
18
|
},
|
|
19
19
|
"license": "ISC",
|
|
20
|
-
"dependencies": {
|
|
20
|
+
"dependencies": {},
|
|
21
|
+
"peerDependencies": {
|
|
21
22
|
"@babel/core": "^7.16.7",
|
|
22
23
|
"@babel/preset-react": "^7.17.12",
|
|
23
24
|
"@babel/preset-typescript": "^7.16.7",
|
|
@@ -26,6 +27,8 @@
|
|
|
26
27
|
"@linaria/esbuild": "3.0.0-beta.21",
|
|
27
28
|
"@linaria/react": "3.0.0-beta.21",
|
|
28
29
|
"@linaria/shaker": "3.0.0-beta.21",
|
|
30
|
+
"@types/react": "^18.0.12",
|
|
31
|
+
"@types/react-dom": "^18.0.5",
|
|
29
32
|
"@typescript-eslint/eslint-plugin": "^5.30.6",
|
|
30
33
|
"@typescript-eslint/parser": "^5.30.6",
|
|
31
34
|
"@vanilla-extract/css": "^1.6.8",
|
|
@@ -38,17 +41,14 @@
|
|
|
38
41
|
"eslint-plugin-import": "^2.26.0",
|
|
39
42
|
"eslint-plugin-react": "^7.30.1",
|
|
40
43
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
44
|
+
"eslint-plugin-unused-imports": "^2.0.0",
|
|
41
45
|
"immer": "^9.0.7",
|
|
42
46
|
"json-schema-to-typescript": "^10.1.5",
|
|
47
|
+
"react": "^18.1.0",
|
|
48
|
+
"react-dom": "^18.1.0",
|
|
49
|
+
"react-helmet-async": "^1.3.0",
|
|
43
50
|
"terser": "^5.10.0",
|
|
44
51
|
"ts-morph": "^13.0.2",
|
|
45
52
|
"typescript": "^4.7.4"
|
|
46
|
-
},
|
|
47
|
-
"peerDependencies": {
|
|
48
|
-
"@types/react": "^18.0.12",
|
|
49
|
-
"@types/react-dom": "^18.0.5",
|
|
50
|
-
"react": "^18.1.0",
|
|
51
|
-
"react-dom": "^18.1.0",
|
|
52
|
-
"react-helmet-async": "^1.3.0"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/src/eslintrc.tsx
CHANGED
|
@@ -4,7 +4,7 @@ module.exports = {
|
|
|
4
4
|
parserOptions: {
|
|
5
5
|
project: ["./tsconfig.json"],
|
|
6
6
|
},
|
|
7
|
-
plugins: ["@typescript-eslint"],
|
|
7
|
+
plugins: ["@typescript-eslint", "unused-imports"],
|
|
8
8
|
settings: {
|
|
9
9
|
react: {
|
|
10
10
|
version: "detect",
|
|
@@ -78,8 +78,9 @@ module.exports = {
|
|
|
78
78
|
"react-hooks/exhaustive-deps": "off",
|
|
79
79
|
|
|
80
80
|
// Typescript overrides from recommended
|
|
81
|
-
"@typescript-eslint/no-unused-vars": "
|
|
82
|
-
|
|
81
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
82
|
+
"unused-imports/no-unused-imports": "error",
|
|
83
|
+
"unused-imports/no-unused-vars": "error",
|
|
83
84
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
84
85
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
85
86
|
|