You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dictionary/dictionary.ts
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,31 +6,36 @@ const rules: Rule[] = [
6
6
name: 'imports-keyword',
7
7
type: 'keyword',
8
8
default: 'import',
9
-
conflicts: []
9
+
conflicts: [],
10
+
description:'Determines which keyword should be used to import modules using defined in an imports statement.'
10
11
},
11
12
{
12
13
name: 'function-value-return-enabled',
13
14
type: 'boolean',
14
15
default: false,
15
-
conflicts: []
16
+
conflicts: [],
17
+
description: 'Determines whether is it possible to return a value from a function using a keyword.'
16
18
},
17
19
{
18
20
name: 'function-value-return-keyword',
19
21
type: 'keyword',
20
22
default: 'return',
21
-
conflicts: []
23
+
conflicts: [],
24
+
description: 'Determines the keyword used to return a function from a keyword. Must be used with `function-value-return-enabled` set to true to make a difference.'
22
25
},
23
26
{
24
27
name: 'enforce-single-string-quotes',
25
28
type: 'boolean',
26
29
default: false,
27
-
conflicts: ['enforge-double-string-quotes']
30
+
conflicts: ['enforge-double-string-quotes'],
31
+
description: 'Enforces string values to have single quotes in output. Useful for languages like Java where quote type matters.'
28
32
},
29
33
{
30
34
name: 'enforce-double-string-quotes',
31
35
type: 'boolean',
32
36
default: false,
33
-
conflicts: ['enforce-single-string-quotes']
37
+
conflicts: ['enforce-single-string-quotes'],
38
+
description: 'Enforces string values to have double quotes in output. Useful for languages like Java where quote type matters.'
0 commit comments