@touchspot/eslint-config 1.3.0 → 1.4.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.
|
@@ -30,8 +30,8 @@ export const react = () => config({
|
|
|
30
30
|
name: "@touchspot/eslint-config/frameworks/react/react",
|
|
31
31
|
files: ["**/*.{js,jsx,tsx}"],
|
|
32
32
|
extends: [
|
|
33
|
-
React.configs.flat
|
|
34
|
-
React.configs.flat["jsx-runtime"],
|
|
33
|
+
(React.configs.flat?.["recommended"] ?? {}),
|
|
34
|
+
(React.configs.flat?.["jsx-runtime"] ?? {}),
|
|
35
35
|
],
|
|
36
36
|
settings: {
|
|
37
37
|
react: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/presets/react.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,CACzB,MAAM,CACL;IACC,IAAI,EAAE,kDAAkD;IACxD,KAAK,EAAE,CAAC,mBAAmB,CAAC;IAC5B,eAAe,EAAE;QAChB,aAAa,EAAE;YACd,SAAS,EAAE,IAAI;SACf;KACD;CACD,EACD;IACC,IAAI,EAAE,sDAAsD;IAC5D,KAAK,EAAE,CAAC,uBAAuB,CAAC;IAChC,OAAO,EAAE;QACR,UAAU,EAAE,UAAU;KACtB;IACD,KAAK,EAAE;QACN,2BAA2B,EAAE;YAC5B,OAAO;YACP;gBACC,uBAAuB,EAAE,IAAI;gBAC7B,0BAA0B,EAAE,EAAE,sBAAsB,EAAE,IAAI,EAAE;gBAC5D,qBAAqB,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC;aACtD;SACD;KACD;CACD,EACD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D,KAAK,EAAE;QACN,uBAAuB,EAAE,OAAO;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,uDAAuD;IAC7D,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;KACtC;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.4.1",
|
|
4
4
|
"description": "TOUCHSPOT ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -29,59 +29,61 @@
|
|
|
29
29
|
],
|
|
30
30
|
"prettier": "@touchspot/prettier-config",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eslint/js": "^9.
|
|
33
|
-
"@next/eslint-plugin-next": "
|
|
34
|
-
"@typescript-eslint/utils": "^8.
|
|
32
|
+
"@eslint/js": "^9.13.0",
|
|
33
|
+
"@next/eslint-plugin-next": "^15.0.1",
|
|
34
|
+
"@typescript-eslint/utils": "^8.11.0",
|
|
35
35
|
"eslint-config-prettier": "^9.1.0",
|
|
36
36
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
37
37
|
"eslint-plugin-check-file": "^2.8.0",
|
|
38
|
-
"eslint-plugin-functional": "^7.0
|
|
38
|
+
"eslint-plugin-functional": "^7.1.0",
|
|
39
39
|
"eslint-plugin-import-x": "^4.3.1",
|
|
40
40
|
"eslint-plugin-no-relative-import-paths": "^1.5.5",
|
|
41
|
-
"eslint-plugin-perfectionist": "^3.
|
|
42
|
-
"eslint-plugin-react": "^7.37.
|
|
41
|
+
"eslint-plugin-perfectionist": "^3.9.1",
|
|
42
|
+
"eslint-plugin-react": "^7.37.2",
|
|
43
43
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
44
44
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
45
45
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
46
46
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
47
47
|
"globals": "^15.11.0",
|
|
48
|
-
"typescript-eslint": "^8.
|
|
48
|
+
"typescript-eslint": "^8.11.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@commitlint/cli": "^19.5.0",
|
|
52
52
|
"@commitlint/config-conventional": "^19.5.0",
|
|
53
53
|
"@commitlint/config-pnpm-scopes": "^19.5.0",
|
|
54
54
|
"@commitlint/cz-commitlint": "^19.5.0",
|
|
55
|
-
"@eslint/config-inspector": "^0.5.
|
|
55
|
+
"@eslint/config-inspector": "^0.5.5",
|
|
56
56
|
"@touchspot/prettier-config": "^1.0.1",
|
|
57
57
|
"@tsconfig/next": "^2.0.3",
|
|
58
58
|
"@tsconfig/node20": "^20.1.4",
|
|
59
59
|
"@tsconfig/strictest": "^2.0.5",
|
|
60
60
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
61
61
|
"@types/eslint__js": "^8.42.3",
|
|
62
|
-
"@types/node": "^22.7.
|
|
63
|
-
"@types/react": "
|
|
62
|
+
"@types/node": "^22.7.8",
|
|
63
|
+
"@types/react": "npm:types-react@rc",
|
|
64
64
|
"better-typescript-lib": "^2.9.0",
|
|
65
65
|
"commitizen": "^4.3.1",
|
|
66
|
-
"eslint": "^9.
|
|
66
|
+
"eslint": "^9.13.0",
|
|
67
67
|
"husky": "^9.1.6",
|
|
68
68
|
"inquirer": "^9.3.7",
|
|
69
69
|
"knip": "^5.33.3",
|
|
70
70
|
"lint-staged": "^15.2.10",
|
|
71
|
-
"next": "^
|
|
71
|
+
"next": "^15.0.1",
|
|
72
72
|
"prettier": "^3.3.3",
|
|
73
|
-
"react": "
|
|
74
|
-
"
|
|
73
|
+
"react": "19.0.0-rc-69d4b800-20241021",
|
|
74
|
+
"react-dom": "19.0.0-rc-69d4b800-20241021",
|
|
75
|
+
"tailwindcss": "^3.4.14",
|
|
75
76
|
"ts-patch": "^3.2.1",
|
|
76
|
-
"turbo": "^2.
|
|
77
|
+
"turbo": "^2.2.3",
|
|
77
78
|
"typescript": "5.5.4",
|
|
78
79
|
"typescript-transform-paths": "^3.5.1"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
82
|
"eslint": "^9",
|
|
82
|
-
"next": "^
|
|
83
|
-
"react": "^
|
|
84
|
-
"
|
|
83
|
+
"next": "^15",
|
|
84
|
+
"react": "^19.0.0-rc",
|
|
85
|
+
"react-dom": "^19.0.0-rc",
|
|
86
|
+
"tailwindcss": "^3"
|
|
85
87
|
},
|
|
86
88
|
"peerDependenciesMeta": {
|
|
87
89
|
"next": {
|
|
@@ -90,6 +92,9 @@
|
|
|
90
92
|
"react": {
|
|
91
93
|
"optional": true
|
|
92
94
|
},
|
|
95
|
+
"react-dom": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
93
98
|
"tailwindcss": {
|
|
94
99
|
"optional": true
|
|
95
100
|
}
|