Skip to content

Commit 9ef0bec

Browse files
committed
Fix no-cross-imports schema
1 parent 6ca8a22 commit 9ef0bec

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

lib/rules/no-cross-imports.js

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,27 @@ module.exports.meta = {
99
url:
1010
'https://github.com/joshuajaco/eslint-plugin-workspaces/docs/rules/no-cross-imports.md',
1111
},
12-
schema: [],
13-
};
14-
15-
module.exports.schema = [
16-
{
17-
type: 'object',
18-
additionalProperties: false,
19-
properties: {
20-
allow: {
21-
anyOf: [
22-
{ type: 'string' },
23-
{
24-
type: 'array',
25-
uniqueItems: true,
26-
items: {
27-
type: 'string',
12+
schema: [
13+
{
14+
type: 'object',
15+
additionalProperties: false,
16+
properties: {
17+
allow: {
18+
anyOf: [
19+
{ type: 'string' },
20+
{
21+
type: 'array',
22+
uniqueItems: true,
23+
items: {
24+
type: 'string',
25+
},
2826
},
29-
},
30-
],
27+
],
28+
},
3129
},
3230
},
33-
},
34-
];
31+
],
32+
};
3533

3634
module.exports.create = context => {
3735
const {

0 commit comments

Comments
 (0)