@haltcase/style 7.0.0-canary.10 → 7.0.0-canary.11
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/eslint/configs/react.js +0 -1
- package/package.json +35 -34
- package/prettier/index.js +5 -0
package/eslint/configs/react.js
CHANGED
|
@@ -36,7 +36,6 @@ export const getEslintReactConfigInternal = (_options = {}) =>
|
|
|
36
36
|
{
|
|
37
37
|
name: "@haltcase/react/jsx-eslint/react",
|
|
38
38
|
plugins: {
|
|
39
|
-
// @ts-expect-error see https://github.com/jsx-eslint/eslint-plugin-react/pull/3840
|
|
40
39
|
react: eslintPluginReactOriginal
|
|
41
40
|
},
|
|
42
41
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haltcase/style",
|
|
3
|
-
"version": "7.0.0-canary.
|
|
3
|
+
"version": "7.0.0-canary.11",
|
|
4
4
|
"description": "haltcase's web ecosystem style guide & configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -58,57 +58,57 @@
|
|
|
58
58
|
"extends": "./stylelint/index.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@babel/core": "^7.26.
|
|
62
|
-
"@babel/eslint-parser": "^7.
|
|
61
|
+
"@babel/core": "^7.26.9",
|
|
62
|
+
"@babel/eslint-parser": "^7.26.8",
|
|
63
63
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
64
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
65
|
-
"@next/eslint-plugin-next": "^15.
|
|
66
|
-
"@stylistic/eslint-plugin-jsx": "^
|
|
67
|
-
"eslint-config-prettier": "^
|
|
64
|
+
"@eslint-react/eslint-plugin": "^1.26.2",
|
|
65
|
+
"@next/eslint-plugin-next": "^15.1.7",
|
|
66
|
+
"@stylistic/eslint-plugin-jsx": "^3.1.0",
|
|
67
|
+
"eslint-config-prettier": "^10.0.1",
|
|
68
68
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
69
|
-
"eslint-import-resolver-typescript": "^3.
|
|
70
|
-
"eslint-plugin-import-x": "^4.
|
|
69
|
+
"eslint-import-resolver-typescript": "^3.8.0",
|
|
70
|
+
"eslint-plugin-import-x": "^4.6.1",
|
|
71
71
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
72
|
-
"eslint-plugin-playwright": "^2.
|
|
73
|
-
"eslint-plugin-react": "^7.37.
|
|
74
|
-
"eslint-plugin-react-hooks": "^5.
|
|
72
|
+
"eslint-plugin-playwright": "^2.2.0",
|
|
73
|
+
"eslint-plugin-react": "^7.37.4",
|
|
74
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
75
75
|
"eslint-plugin-regexp": "^2.7.0",
|
|
76
76
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
77
|
-
"eslint-plugin-testing-library": "^
|
|
77
|
+
"eslint-plugin-testing-library": "^7.1.1",
|
|
78
78
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
79
79
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
80
|
-
"postcss-html": "^1.
|
|
81
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
82
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
83
|
-
"stylelint-config-clean-order": "^
|
|
80
|
+
"postcss-html": "^1.8.0",
|
|
81
|
+
"prettier-plugin-packagejson": "^2.5.8",
|
|
82
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
83
|
+
"stylelint-config-clean-order": "^7.0.0",
|
|
84
84
|
"stylelint-config-html": "^1.1.0",
|
|
85
|
-
"stylelint-config-standard": "^
|
|
86
|
-
"stylelint-define-config": "^
|
|
87
|
-
"typescript-eslint": "^8.
|
|
85
|
+
"stylelint-config-standard": "^37.0.0",
|
|
86
|
+
"stylelint-define-config": "^16.14.1",
|
|
87
|
+
"typescript-eslint": "^8.24.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@actions/core": "^1.11.1",
|
|
91
91
|
"@actions/exec": "^1.1.1",
|
|
92
92
|
"@actions/github": "^6.0.0",
|
|
93
|
-
"@commitlint/cli": "^19.
|
|
94
|
-
"@commitlint/config-conventional": "^19.
|
|
93
|
+
"@commitlint/cli": "^19.7.1",
|
|
94
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
95
95
|
"@eslint/eslintrc": "^3.2.0",
|
|
96
|
-
"@eslint/js": "^9.
|
|
97
|
-
"@octokit/types": "^13.
|
|
96
|
+
"@eslint/js": "^9.20.0",
|
|
97
|
+
"@octokit/types": "^13.8.0",
|
|
98
98
|
"@semantic-release/git": "^10.0.1",
|
|
99
99
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
100
100
|
"@types/eslint__js": "^8.42.3",
|
|
101
101
|
"@types/node": "22",
|
|
102
|
-
"@typescript-eslint/types": "^8.
|
|
103
|
-
"eslint": "^9.
|
|
102
|
+
"@typescript-eslint/types": "^8.24.0",
|
|
103
|
+
"eslint": "^9.20.1",
|
|
104
104
|
"eslint-define-config": "^2.1.0",
|
|
105
|
-
"globals": "^15.
|
|
105
|
+
"globals": "^15.15.0",
|
|
106
106
|
"husky": "^9.1.7",
|
|
107
|
-
"lint-staged": "^15.
|
|
108
|
-
"prettier": "^3.
|
|
109
|
-
"semantic-release": "^24.2.
|
|
110
|
-
"stylelint": "^16.
|
|
111
|
-
"typescript": "^5.7.
|
|
107
|
+
"lint-staged": "^15.4.3",
|
|
108
|
+
"prettier": "^3.5.1",
|
|
109
|
+
"semantic-release": "^24.2.3",
|
|
110
|
+
"stylelint": "^16.14.1",
|
|
111
|
+
"typescript": "^5.7.3"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
114
|
"eslint": ">=9",
|
|
@@ -130,9 +130,10 @@
|
|
|
130
130
|
"optional": true
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
|
-
"packageManager": "pnpm@
|
|
133
|
+
"packageManager": "pnpm@10.4.1",
|
|
134
134
|
"engines": {
|
|
135
|
-
"node": ">=20"
|
|
135
|
+
"node": ">=20",
|
|
136
|
+
"pnpm": ">=10"
|
|
136
137
|
},
|
|
137
138
|
"publishConfig": {
|
|
138
139
|
"access": "public"
|
package/prettier/index.js
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* define those here to ensure that doesn't happen.
|
|
6
6
|
*
|
|
7
7
|
* See: https://prettier.io/docs/en/configuration#editorconfig
|
|
8
|
+
*
|
|
9
|
+
* @type {import("prettier").Options}
|
|
8
10
|
*/
|
|
9
11
|
const overridableDefaults = {
|
|
10
12
|
endOfLine: "lf",
|
|
@@ -13,6 +15,9 @@ const overridableDefaults = {
|
|
|
13
15
|
useTabs: true
|
|
14
16
|
};
|
|
15
17
|
|
|
18
|
+
/**
|
|
19
|
+
* @type {import("prettier").Options}
|
|
20
|
+
*/
|
|
16
21
|
export default {
|
|
17
22
|
...overridableDefaults,
|
|
18
23
|
singleQuote: false,
|