@brickflow/lint 0.0.9 → 0.0.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/package.json +2 -2
- 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.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared ESLint configs for brickflow workspaces.",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@eslint/js": "10.0.1",
|
|
38
38
|
"eslint-config-prettier": "10.1.8",
|
|
39
39
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
40
|
-
"eslint-plugin-prettier": "5.5.
|
|
40
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
41
41
|
"eslint-plugin-promise": "7.3.0",
|
|
42
42
|
"eslint-plugin-regexp": "3.1.0",
|
|
43
43
|
"eslint-plugin-vue": "10.9.1",
|
package/shared.js
CHANGED
|
@@ -133,6 +133,10 @@ const baseRules = {
|
|
|
133
133
|
message: 'defineEmits is forbidden. Use props or alternative pattern.',
|
|
134
134
|
selector: "CallExpression[callee.name='defineEmits']",
|
|
135
135
|
},
|
|
136
|
+
{
|
|
137
|
+
message: 'defineSlots is forbidden. Use props or alternative pattern.',
|
|
138
|
+
selector: "CallExpression[callee.name='defineSlots']",
|
|
139
|
+
},
|
|
136
140
|
],
|
|
137
141
|
'no-return-assign': 'error',
|
|
138
142
|
'no-script-url': 'error',
|