Skip to content

Commit ff71a5a

Browse files
committed
add a few rules
1 parent 7138d1a commit ff71a5a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/dictionary/dictionary.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ const rules: Rule[] = [
99
conflicts: [],
1010
description:'Determines which keyword should be used to import modules using defined in an imports statement.'
1111
},
12+
{
13+
name:'imports-with-quotes',
14+
type: 'boolean',
15+
default: true,
16+
conflicts: [],
17+
description: 'Determines whether to import modules defined with import statements with quotes or not.'
18+
},
1219
{
1320
name: 'function-value-return-enabled',
1421
type: 'boolean',
@@ -36,6 +43,27 @@ const rules: Rule[] = [
3643
default: false,
3744
conflicts: ['enforce-single-string-quotes'],
3845
description: 'Enforces string values to have double quotes in output. Useful for languages like Java where quote type matters.'
46+
},
47+
{
48+
name: 'export-required',
49+
type: 'boolean',
50+
default : false,
51+
conflicts: [],
52+
description: 'Determines whether is it required to export a definable in order to reach it from another file.'
53+
},
54+
{
55+
name: 'export-keyword',
56+
type: 'keyword',
57+
default: 'export',
58+
conflicts: [],
59+
description: 'Determines the keyword used to export a definable.'
60+
},
61+
{
62+
name: 'export-enabled',
63+
type: 'boolean',
64+
default: true,
65+
conflicts: [],
66+
description : 'Determines whether is it possible to export a definable with a keyword.'
3967
}
4068
];
4169

0 commit comments

Comments
 (0)