@touchspot/eslint-config 1.5.6 → 1.6.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/dist/src/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM,GAAI,eAEpB;IACF,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAChC,wEAgDJ,CAAC"}
|
package/dist/src/env.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/env.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/env.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,GAAI,aAErB;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B,wEASH,CAAC;AAEJ,eAAO,MAAM,IAAI,GAAI,aAElB;IACF,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B,wEASH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../../src/presets/next.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../../src/presets/next.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,GAAI,oBAA0B;IAAE,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAO,wEAqCtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/presets/react.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/presets/react.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,KAAK,GAAI,eAAqB;IAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAO,wEA6D7E,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Functional from "eslint-plugin-functional";
|
|
2
2
|
import React from "eslint-plugin-react";
|
|
3
|
-
import
|
|
4
|
-
import ReactHooks from "eslint-plugin-react-hooks";
|
|
3
|
+
import * as ReactHooks from "eslint-plugin-react-hooks";
|
|
5
4
|
import { config } from "typescript-eslint";
|
|
6
5
|
export const react = ({ compiler = true } = {}) => config({
|
|
7
6
|
name: "@touchspot/eslint-config/presets/react/parser",
|
|
@@ -56,17 +55,7 @@ export const react = ({ compiler = true } = {}) => config({
|
|
|
56
55
|
rules: {
|
|
57
56
|
"react-hooks/rules-of-hooks": "error",
|
|
58
57
|
"react-hooks/exhaustive-deps": "error",
|
|
58
|
+
"react-hooks/react-compiler": compiler ? "error" : "off",
|
|
59
59
|
},
|
|
60
|
-
}
|
|
61
|
-
? {
|
|
62
|
-
name: "@touchspot/eslint-config/presets/react/react-compiler",
|
|
63
|
-
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}"],
|
|
64
|
-
plugins: {
|
|
65
|
-
"react-compiler": ReactCompiler,
|
|
66
|
-
},
|
|
67
|
-
rules: {
|
|
68
|
-
"react-compiler/react-compiler": "error",
|
|
69
|
-
},
|
|
70
|
-
}
|
|
71
|
-
: {});
|
|
60
|
+
});
|
|
72
61
|
//# sourceMappingURL=react.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/presets/react.ts"],"names":[],"mappings":"AAAA,OAAO,UA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AAO;QAChC,8BAA8B,EAAE,OAAO;QACvC,yBAAyB,EAAE,OAAO;QAClC,+BAA+B,EAAE,CAAC,OAAO,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC;QACtE,sBAAsB,EAAE;YACvB,OAAO;YACP,EAAE,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;SAClF;QACD,yBAAyB,EAAE,OAAO;KAClC;CACD,EACD;IACC,IAAI,EAAE,oDAAoD;IAC1D,KAAK,EAAE,CAAC,sCAAsC,CAAC;IAC/C,OAAO,EAAE;QACR,aAAa,EAAE,UAAU;KACzB;IACD,KAAK,EAAE;QACN,4BAA4B,EAAE,OAAO;QACrC,6BAA6B,EAAE,OAAO;QACtC,4BAA4B,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;KACxD;CACD,CACD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@touchspot/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "TOUCHSPOT ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -29,55 +29,51 @@
|
|
|
29
29
|
],
|
|
30
30
|
"prettier": "@touchspot/prettier-config",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eslint/js": "^9.
|
|
33
|
-
"@next/eslint-plugin-next": "^15.
|
|
34
|
-
"@typescript-eslint/utils": "^8.
|
|
35
|
-
"eslint-config-prettier": "^10.
|
|
36
|
-
"eslint-import-resolver-typescript": "^3.
|
|
37
|
-
"eslint-plugin-check-file": "^3.
|
|
38
|
-
"eslint-plugin-functional": "^
|
|
39
|
-
"eslint-plugin-import-x": "^4.
|
|
32
|
+
"@eslint/js": "^9.24.0",
|
|
33
|
+
"@next/eslint-plugin-next": "^15.3.0",
|
|
34
|
+
"@typescript-eslint/utils": "^8.30.1",
|
|
35
|
+
"eslint-config-prettier": "^10.1.2",
|
|
36
|
+
"eslint-import-resolver-typescript": "^4.3.2",
|
|
37
|
+
"eslint-plugin-check-file": "^3.2.0",
|
|
38
|
+
"eslint-plugin-functional": "^9.0.1",
|
|
39
|
+
"eslint-plugin-import-x": "^4.10.3",
|
|
40
40
|
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
41
|
-
"eslint-plugin-perfectionist": "^4.
|
|
42
|
-
"eslint-plugin-react": "^7.37.
|
|
43
|
-
"eslint-plugin-react-
|
|
44
|
-
"eslint-plugin-react-hooks": "0.0.0-experimental-9ff42a87-20250130",
|
|
41
|
+
"eslint-plugin-perfectionist": "^4.11.0",
|
|
42
|
+
"eslint-plugin-react": "^7.37.5",
|
|
43
|
+
"eslint-plugin-react-hooks": "0.0.0-experimental-39cad7af-20250411",
|
|
45
44
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
46
45
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
47
46
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
48
|
-
"globals": "^
|
|
49
|
-
"typescript-eslint": "^8.
|
|
47
|
+
"globals": "^16.0.0",
|
|
48
|
+
"typescript-eslint": "^8.30.1"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
52
|
-
"@commitlint/cli": "^19.
|
|
53
|
-
"@commitlint/config-conventional": "^19.
|
|
54
|
-
"@commitlint/config-pnpm-scopes": "^19.
|
|
55
|
-
"@commitlint/cz-commitlint": "^19.
|
|
56
|
-
"@eslint/config-inspector": "^1.0.
|
|
57
|
-
"@touchspot/prettier-config": "^1.0
|
|
51
|
+
"@commitlint/cli": "^19.8.0",
|
|
52
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
53
|
+
"@commitlint/config-pnpm-scopes": "^19.8.0",
|
|
54
|
+
"@commitlint/cz-commitlint": "^19.8.0",
|
|
55
|
+
"@eslint/config-inspector": "^1.0.2",
|
|
56
|
+
"@touchspot/prettier-config": "^1.1.0",
|
|
58
57
|
"@tsconfig/next": "^2.0.3",
|
|
59
|
-
"@tsconfig/node22": "^22.0.
|
|
58
|
+
"@tsconfig/node22": "^22.0.1",
|
|
60
59
|
"@tsconfig/strictest": "^2.0.5",
|
|
61
|
-
"@types/
|
|
62
|
-
"@types/
|
|
63
|
-
"
|
|
64
|
-
"@types/react": "^19.0.8",
|
|
65
|
-
"better-typescript-lib": "^2.10.1",
|
|
60
|
+
"@types/node": "^22.14.1",
|
|
61
|
+
"@types/react": "^19.1.2",
|
|
62
|
+
"better-typescript-lib": "^2.11.0",
|
|
66
63
|
"commitizen": "^4.3.1",
|
|
67
|
-
"eslint": "^9.
|
|
64
|
+
"eslint": "^9.24.0",
|
|
68
65
|
"husky": "^9.1.7",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"react": "^19.
|
|
75
|
-
"react-dom": "^19.0.0",
|
|
66
|
+
"knip": "^5.50.3",
|
|
67
|
+
"lint-staged": "^15.5.1",
|
|
68
|
+
"next": "^15.3.0",
|
|
69
|
+
"prettier": "^3.5.3",
|
|
70
|
+
"react": "^19.1.0",
|
|
71
|
+
"react-dom": "^19.1.0",
|
|
76
72
|
"tailwindcss": "^3.4.17",
|
|
77
73
|
"ts-patch": "^3.3.0",
|
|
78
|
-
"turbo": "^2.
|
|
79
|
-
"typescript": "^5.
|
|
80
|
-
"typescript-transform-paths": "^3.5.
|
|
74
|
+
"turbo": "^2.5.0",
|
|
75
|
+
"typescript": "^5.8.3",
|
|
76
|
+
"typescript-transform-paths": "^3.5.5"
|
|
81
77
|
},
|
|
82
78
|
"peerDependencies": {
|
|
83
79
|
"eslint": "^9",
|