@brickflow/lint 0.0.56 → 0.0.58
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/package.json +8 -8
- package/shared.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brickflow/lint",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared ESLint configs for brickflow workspaces.",
|
|
6
6
|
"files": [
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@eslint/js": "10.0.1",
|
|
31
31
|
"eslint-config-prettier": "10.1.8",
|
|
32
|
-
"eslint-plugin-perfectionist": "5.
|
|
33
|
-
"eslint-plugin-prettier": "5.5.
|
|
32
|
+
"eslint-plugin-perfectionist": "5.13.0",
|
|
33
|
+
"eslint-plugin-prettier": "5.5.7",
|
|
34
34
|
"eslint-plugin-promise": "7.3.0",
|
|
35
|
-
"eslint-plugin-regexp": "3.3.
|
|
35
|
+
"eslint-plugin-regexp": "3.3.3",
|
|
36
36
|
"eslint-plugin-tailwindcss": "4.4.0",
|
|
37
|
-
"eslint-plugin-unicorn": "
|
|
38
|
-
"eslint-plugin-vue": "10.
|
|
39
|
-
"globals": "17.
|
|
40
|
-
"typescript-eslint": "8.
|
|
37
|
+
"eslint-plugin-unicorn": "79.0.0",
|
|
38
|
+
"eslint-plugin-vue": "10.12.0",
|
|
39
|
+
"globals": "17.14.0",
|
|
40
|
+
"typescript-eslint": "8.72.1",
|
|
41
41
|
"vue-eslint-parser": "10.4.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/shared.js
CHANGED
|
@@ -143,6 +143,10 @@ const baseRules = {
|
|
|
143
143
|
message: 'Assign useScreen() only to a variable named screen.',
|
|
144
144
|
selector: "VariableDeclarator[init.type='CallExpression'][init.callee.name='useScreen'][id.name!='screen']",
|
|
145
145
|
},
|
|
146
|
+
{
|
|
147
|
+
message: 'Assign useDialog() only to a variable named dialog.',
|
|
148
|
+
selector: "VariableDeclarator[init.type='CallExpression'][init.callee.name='useDialog'][id.name!='dialog']",
|
|
149
|
+
},
|
|
146
150
|
],
|
|
147
151
|
'no-return-assign': 'error',
|
|
148
152
|
'no-script-url': 'error',
|