@atlaskit/eslint-plugin-ui-styling-standard 0.10.0 → 0.11.1

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -0
  3. package/constellation/index/overview.mdx +2 -0
  4. package/constellation/no-exported-styles/usage.mdx +87 -0
  5. package/constellation/no-unsafe-values/usage.mdx +222 -0
  6. package/dist/cjs/presets/all.codegen.js +3 -1
  7. package/dist/cjs/presets/recommended.codegen.js +3 -1
  8. package/dist/cjs/rules/index.codegen.js +6 -2
  9. package/dist/cjs/rules/no-exported-styles/index.js +39 -0
  10. package/dist/cjs/rules/no-unsafe-values/index.js +85 -0
  11. package/dist/cjs/rules/no-unsafe-values/messages.js +24 -0
  12. package/dist/cjs/rules/no-unsafe-values/utils.js +437 -0
  13. package/dist/es2019/presets/all.codegen.js +3 -1
  14. package/dist/es2019/presets/recommended.codegen.js +3 -1
  15. package/dist/es2019/rules/index.codegen.js +6 -2
  16. package/dist/es2019/rules/no-exported-styles/index.js +33 -0
  17. package/dist/es2019/rules/no-unsafe-values/index.js +80 -0
  18. package/dist/es2019/rules/no-unsafe-values/messages.js +72 -0
  19. package/dist/es2019/rules/no-unsafe-values/utils.js +350 -0
  20. package/dist/esm/presets/all.codegen.js +3 -1
  21. package/dist/esm/presets/recommended.codegen.js +3 -1
  22. package/dist/esm/rules/index.codegen.js +6 -2
  23. package/dist/esm/rules/no-exported-styles/index.js +33 -0
  24. package/dist/esm/rules/no-unsafe-values/index.js +79 -0
  25. package/dist/esm/rules/no-unsafe-values/messages.js +17 -0
  26. package/dist/esm/rules/no-unsafe-values/utils.js +430 -0
  27. package/dist/types/index.codegen.d.ts +4 -0
  28. package/dist/types/presets/all.codegen.d.ts +3 -1
  29. package/dist/types/presets/recommended.codegen.d.ts +3 -1
  30. package/dist/types/rules/index.codegen.d.ts +2 -0
  31. package/dist/types/rules/no-exported-styles/index.d.ts +2 -0
  32. package/dist/types/rules/no-unsafe-values/index.d.ts +2 -0
  33. package/dist/types/rules/no-unsafe-values/messages.d.ts +13 -0
  34. package/dist/types/rules/no-unsafe-values/utils.d.ts +28 -0
  35. package/dist/types-ts4.5/index.codegen.d.ts +4 -0
  36. package/dist/types-ts4.5/presets/all.codegen.d.ts +3 -1
  37. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +3 -1
  38. package/dist/types-ts4.5/rules/index.codegen.d.ts +2 -0
  39. package/dist/types-ts4.5/rules/no-exported-styles/index.d.ts +2 -0
  40. package/dist/types-ts4.5/rules/no-unsafe-values/index.d.ts +2 -0
  41. package/dist/types-ts4.5/rules/no-unsafe-values/messages.d.ts +13 -0
  42. package/dist/types-ts4.5/rules/no-unsafe-values/utils.d.ts +28 -0
  43. package/package.json +4 -4
  44. package/src/presets/all.codegen.tsx +3 -1
  45. package/src/presets/recommended.codegen.tsx +3 -1
  46. package/src/rules/index.codegen.tsx +5 -1
  47. package/src/rules/no-exported-styles/README.md +85 -0
  48. package/src/rules/no-exported-styles/__tests__/rule.test.tsx +225 -0
  49. package/src/rules/no-exported-styles/index.tsx +52 -0
  50. package/src/rules/no-unsafe-values/README.md +220 -0
  51. package/src/rules/no-unsafe-values/__tests__/no-array-values.test.tsx +27 -0
  52. package/src/rules/no-unsafe-values/__tests__/no-conditional-values.test.tsx +37 -0
  53. package/src/rules/no-unsafe-values/__tests__/no-dynamic-keys.test.tsx +229 -0
  54. package/src/rules/no-unsafe-values/__tests__/no-function-calls.test.tsx +267 -0
  55. package/src/rules/no-unsafe-values/__tests__/no-identifier-arguments.test.tsx +52 -0
  56. package/src/rules/no-unsafe-values/__tests__/no-object-access.test.tsx +106 -0
  57. package/src/rules/no-unsafe-values/__tests__/no-object-references.test.tsx +44 -0
  58. package/src/rules/no-unsafe-values/__tests__/no-spread-elements.test.tsx +48 -0
  59. package/src/rules/no-unsafe-values/__tests__/no-unsafe-values.test.tsx +75 -0
  60. package/src/rules/no-unsafe-values/__tests__/no-variables.test.tsx +121 -0
  61. package/src/rules/no-unsafe-values/index.tsx +96 -0
  62. package/src/rules/no-unsafe-values/messages.tsx +86 -0
  63. package/src/rules/no-unsafe-values/utils.tsx +399 -0
@@ -0,0 +1,37 @@
1
+ import { typescriptEslintTester } from '../../__tests__/utils/_tester';
2
+ import rule from '../index';
3
+
4
+ typescriptEslintTester.run(
5
+ 'no-unsafe-values',
6
+ // @ts-expect-error
7
+ rule,
8
+ {
9
+ valid: [],
10
+ invalid: [
11
+ {
12
+ name: 'ternary value',
13
+ code: `
14
+ import { css } from '@compiled/react';
15
+
16
+ const isVisible = false;
17
+ const styles = css({
18
+ opacity: isVisible ? 1 : 0
19
+ });
20
+ `,
21
+ errors: [{ messageId: 'no-conditional-values' }],
22
+ },
23
+ {
24
+ name: 'boolean expression values',
25
+ code: `
26
+ import { css } from '@compiled/react';
27
+
28
+ const isVisible = false;
29
+ const styles = css({
30
+ opacity: isVisible && 1
31
+ });
32
+ `,
33
+ errors: [{ messageId: 'no-conditional-values' }],
34
+ },
35
+ ],
36
+ },
37
+ );
@@ -0,0 +1,229 @@
1
+ import { typescriptEslintTester } from '../../__tests__/utils/_tester';
2
+ import rule from '../index';
3
+
4
+ typescriptEslintTester.run(
5
+ 'no-unsafe-values',
6
+ // @ts-expect-error
7
+ rule,
8
+ {
9
+ valid: [
10
+ {
11
+ name: 'key is an identifier',
12
+ code: `
13
+ import { css } from '@compiled/react';
14
+
15
+ const styles = css({
16
+ color: 'blue',
17
+ });
18
+ `,
19
+ },
20
+ {
21
+ name: 'key is a literal',
22
+ code: `
23
+ import { css } from '@compiled/react';
24
+
25
+ const styles = css({
26
+ 'color': 'blue',
27
+ });
28
+ `,
29
+ },
30
+ {
31
+ name: 'key is an allow listed value',
32
+ code: `
33
+ import { css } from '@compiled/react';
34
+ import { media } from 'my-package';
35
+
36
+ const styles = css({
37
+ [media.above.xxs]: { height: '2px' }
38
+ });
39
+ `,
40
+ options: [
41
+ {
42
+ allowedDynamicKeys: [['my-package', 'media']],
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ name: 'key is a simple, statically resolvable CSS var',
48
+ code: `
49
+ import { css } from '@compiled/react';
50
+
51
+ const myVar = '--my-var';
52
+ const styles = css({
53
+ [myVar]: 'red'
54
+ });
55
+ `,
56
+ },
57
+ {
58
+ name: 'key is on the default allow list',
59
+ code: `
60
+ import { css } from '@compiled/react';
61
+ import { media } from '@atlaskit/primitives/responsive';
62
+
63
+ const styles = css({
64
+ [media.above.xxs]: { height: '2px' }
65
+ });
66
+ `,
67
+ options: [
68
+ {
69
+ allowedDynamicKeys: [],
70
+ },
71
+ ],
72
+ },
73
+ ],
74
+ invalid: [
75
+ {
76
+ name: 'key is a template literal',
77
+ code: `
78
+ import { css } from '@compiled/react';
79
+
80
+ const something = 'selector';
81
+ const styles = css({
82
+ [\`\${something} > p\`]: {
83
+ color: 'blue',
84
+ },
85
+ });
86
+ `,
87
+ errors: [{ messageId: 'no-dynamic-keys' }],
88
+ },
89
+ {
90
+ name: 'nested key is a template literal',
91
+ code: `
92
+ import { css } from '@compiled/react';
93
+
94
+ const something = 'selector';
95
+ const styles = css({
96
+ button: {
97
+ p: {
98
+ [\`\${something} > p\`]: {
99
+ color: 'blue',
100
+ },
101
+ },
102
+ },
103
+ });
104
+ `,
105
+ errors: [{ messageId: 'no-dynamic-keys' }],
106
+ },
107
+ {
108
+ name: 'key is an identifier for a string literal',
109
+ code: `
110
+ import { css } from '@compiled/react';
111
+
112
+ const something = 'selector';
113
+ const styles = css({
114
+ [something]: {
115
+ color: 'blue',
116
+ },
117
+ });
118
+ `,
119
+ errors: [{ messageId: 'no-dynamic-keys' }],
120
+ },
121
+ {
122
+ name: 'nested key is an identifier for a string literal',
123
+ code: `
124
+ import { css } from '@compiled/react';
125
+
126
+ const something = 'selector';
127
+ const styles = css({
128
+ button: {
129
+ p: {
130
+ [something]: {
131
+ color: 'blue',
132
+ },
133
+ },
134
+ },
135
+ });
136
+ `,
137
+ errors: [{ messageId: 'no-dynamic-keys' }],
138
+ },
139
+ {
140
+ name: 'key is a string literal inside square brackets',
141
+ code: `
142
+ import { css } from '@compiled/react';
143
+
144
+ const styles = css({
145
+ ['color']: 'blue',
146
+ });
147
+ `,
148
+ errors: [{ messageId: 'no-dynamic-keys' }],
149
+ },
150
+ {
151
+ name: 'key is a concatenation of string literals',
152
+ code: `
153
+ import { css } from '@compiled/react';
154
+
155
+ const styles = css({
156
+ ['col' + 'or']: 'blue',
157
+ });
158
+ `,
159
+ errors: [{ messageId: 'no-dynamic-keys' }],
160
+ },
161
+ {
162
+ name: 'nested key is a string literal inside square brackets',
163
+ code: `
164
+ import { css } from '@compiled/react';
165
+
166
+ const styles = css({
167
+ button: {
168
+ p: {
169
+ ['color']: 'blue',
170
+ },
171
+ },
172
+ });
173
+ `,
174
+ errors: [{ messageId: 'no-dynamic-keys' }],
175
+ },
176
+ {
177
+ name: 'key is an import from a non-allow-listed library',
178
+ code: `
179
+ import { css } from '@compiled/react';
180
+ import { media } from 'my-package';
181
+
182
+ const styles = css({
183
+ [media.above.xxs]: { height: '2px' }
184
+ });
185
+ `,
186
+ errors: [{ messageId: 'no-dynamic-keys' }],
187
+ options: [
188
+ {
189
+ allowedDynamicKeys: [],
190
+ },
191
+ ],
192
+ },
193
+ {
194
+ name: 'key is a non-allow-listed import from an allow-listed library',
195
+ code: `
196
+ import { css } from '@compiled/react';
197
+ import { mediaNext as media } from 'my-package';
198
+
199
+ const styles = css({
200
+ [media.above.xxs]: { height: '2px' }
201
+ });
202
+ `,
203
+ errors: [{ messageId: 'no-dynamic-keys' }],
204
+ options: [
205
+ {
206
+ allowedDynamicKeys: [['my-package', 'media']],
207
+ },
208
+ ],
209
+ },
210
+ {
211
+ name: 'key is from a nested entrypoint of an allow-listed library',
212
+ code: `
213
+ import { css } from '@compiled/react';
214
+ import { media } from 'my-package/primitives/responsive';
215
+
216
+ const styles = css({
217
+ [media.above.xxs]: { height: '2px' }
218
+ });
219
+ `,
220
+ errors: [{ messageId: 'no-dynamic-keys' }],
221
+ options: [
222
+ {
223
+ allowedDynamicKeys: [['my-package/primitives', 'media']],
224
+ },
225
+ ],
226
+ },
227
+ ],
228
+ },
229
+ );
@@ -0,0 +1,267 @@
1
+ import { typescriptEslintTester } from '../../__tests__/utils/_tester';
2
+ import rule from '../index';
3
+
4
+ typescriptEslintTester.run(
5
+ 'no-unsafe-values',
6
+ // @ts-expect-error
7
+ rule,
8
+ {
9
+ valid: [
10
+ {
11
+ name: 'whitelisted function call as value',
12
+ code: `
13
+ import { css } from '@compiled/react';
14
+ import { token } from '@atlaskit/tokens';
15
+ const styles = css({
16
+ height: token('test'),
17
+ });
18
+ `,
19
+ options: [
20
+ {
21
+ allowedFunctionCalls: [['@atlaskit/tokens', 'token']],
22
+ },
23
+ ],
24
+ },
25
+ {
26
+ name: 'whitelisted function call as value (variant)',
27
+ code: `
28
+ import { css } from '@compiled/react';
29
+ import { token } from '@atlaskit/tokens';
30
+ const styles = css(() => ({
31
+ height: token('test'),
32
+ }));
33
+ `,
34
+ options: [
35
+ {
36
+ allowedFunctionCalls: [['@atlaskit/tokens', 'token']],
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ name: 'whitelisted function call in template literal in value',
42
+ code: `
43
+ import { css } from '@compiled/react';
44
+ import { token } from '@atlaskit/tokens';
45
+ const styles = css({
46
+ height: \`\${token('test')}px\`,
47
+ });
48
+ `,
49
+ options: [
50
+ {
51
+ allowedFunctionCalls: [['@atlaskit/tokens', 'token']],
52
+ },
53
+ ],
54
+ },
55
+ {
56
+ name: 'multiple whitelisted functions',
57
+ code: `
58
+ import { css } from '@compiled/react';
59
+ import { token } from '@atlaskit/tokens';
60
+ // We are unlikely to ever do this but I couldn't think of a better example
61
+ import { tokenNext } from '@atlaskit/tokens-next';
62
+
63
+ const styles = css({
64
+ height: token('test'),
65
+ width: tokenNext('test')
66
+ });
67
+ `,
68
+ options: [
69
+ {
70
+ allowedFunctionCalls: [
71
+ ['@atlaskit/tokens', 'token'],
72
+ ['@atlaskit/tokens-next', 'tokenNext'],
73
+ ],
74
+ },
75
+ ],
76
+ },
77
+ {
78
+ name: 'whitelisted functions with aliasing',
79
+ code: `
80
+ import { css } from '@compiled/react';
81
+ import { token } from '@atlaskit/tokens';
82
+ // We are unlikely to ever do this but I couldn't think of a better example
83
+ import { token as tokenNext } from '@atlaskit/tokens-next';
84
+
85
+ const styles = css({
86
+ height: token('test'),
87
+ width: tokenNext('test')
88
+ });
89
+ `,
90
+ options: [
91
+ {
92
+ allowedFunctionCalls: [
93
+ ['@atlaskit/tokens', 'token'],
94
+ ['@atlaskit/tokens-next', 'token'],
95
+ ],
96
+ },
97
+ ],
98
+ },
99
+ {
100
+ name: 'identifier resolving to whitelisted function call',
101
+ code: `
102
+ import { css } from '@compiled/react';
103
+ import { token } from '@atlaskit/tokens';
104
+
105
+ const height = token('test');
106
+
107
+ const styles = css({
108
+ height
109
+ });
110
+ `,
111
+ options: [
112
+ {
113
+ allowedFunctionCalls: [['@atlaskit/tokens', 'token']],
114
+ },
115
+ ],
116
+ },
117
+ {
118
+ name: 'interpolation with identifier resolving to whitelisted function call',
119
+ code: `
120
+ import { css, keyframes } from '@compiled/react';
121
+
122
+ const fadeIn = keyframes({
123
+ '0%': {
124
+ opacity: 0
125
+ },
126
+ '100%': {
127
+ opacity: 1
128
+ }
129
+ });
130
+
131
+ const styles = css({
132
+ animation: \`\${fadeIn} 1s\`
133
+ });
134
+ `,
135
+ options: [
136
+ {
137
+ allowedFunctionCalls: [['@compiled/react', 'keyframes']],
138
+ },
139
+ ],
140
+ },
141
+ {
142
+ name: 'layers from @atlaskit/theme/constants',
143
+ code: `
144
+ import { css } from '@compiled/react';
145
+ import { layers } from '@atlaskit/theme/constants';
146
+
147
+ const layerStyles = css({
148
+ zIndex: layers.modal(),
149
+ });
150
+ `,
151
+ },
152
+ ],
153
+ invalid: [
154
+ {
155
+ name: 'function call as value',
156
+ code: `
157
+ import { css } from '@compiled/react';
158
+
159
+ function myFunction() {
160
+ return '5px';
161
+ }
162
+
163
+ const styles = css({
164
+ height: myFunction(),
165
+ });
166
+ `,
167
+ errors: [{ messageId: 'no-function-calls' }],
168
+ },
169
+ {
170
+ name: 'function call in template literal in value',
171
+ code: `
172
+ import { css } from '@compiled/react';
173
+
174
+ function myFunction() {
175
+ return 5;
176
+ }
177
+
178
+ const styles = css({
179
+ height: \`\${myFunction()}px\`,
180
+ });
181
+ `,
182
+ errors: [{ messageId: 'no-function-calls' }],
183
+ },
184
+ {
185
+ name: 'function call in variable as value',
186
+ code: `
187
+ import { css } from '@compiled/react';
188
+
189
+ function runFunction() { return '5px'; }
190
+ const myFunction = runFunction();
191
+
192
+ const styles = css({
193
+ height: myFunction,
194
+ });
195
+ `,
196
+ errors: [{ messageId: 'no-function-calls' }],
197
+ },
198
+ {
199
+ name: 'immediately-invoked function expression (IIFE) as value',
200
+ code: `
201
+ import { css } from '@compiled/react';
202
+
203
+ const styles = css({
204
+ height: (() => 'red')(),
205
+ });
206
+ `,
207
+ errors: [{ messageId: 'no-function-calls' }],
208
+ },
209
+ {
210
+ name: 'function call as value with same name as whitelisted function, but from wrong library',
211
+ code: `
212
+ import { css } from '@compiled/react';
213
+ import { token } from 'wrong-library';
214
+
215
+ const styles = css({
216
+ height: token('test'),
217
+ });
218
+ `,
219
+ options: [
220
+ {
221
+ allowedFunctionCalls: [['@atlaskit/tokens', 'token']],
222
+ },
223
+ ],
224
+ errors: [{ messageId: 'no-function-calls' }],
225
+ },
226
+ {
227
+ name: 'tagged template expression in value',
228
+ code: `
229
+ import { css } from '@compiled/react';
230
+
231
+ const styles = css({
232
+ height: someFunction\`color: blue\`,
233
+ });
234
+ `,
235
+ errors: [{ messageId: 'no-function-calls' }],
236
+ },
237
+ {
238
+ name: 'tagged template expression in variable',
239
+ code: `
240
+ import { css } from '@compiled/react';
241
+
242
+ const height = someFunction\`color: blue\`
243
+
244
+ const styles = css({
245
+ height,
246
+ });
247
+ `,
248
+ errors: [{ messageId: 'no-function-calls' }],
249
+ },
250
+ {
251
+ name: 'tagged template expression even if it is an allowed function',
252
+ code: `
253
+ import { css } from '@compiled/react';
254
+ import { someFunction } from 'my-package';
255
+
256
+ const height = someFunction\`color: blue\`
257
+
258
+ const styles = css({
259
+ height,
260
+ });
261
+ `,
262
+ errors: [{ messageId: 'no-function-calls' }],
263
+ options: [{ allowedFunctionCalls: [['my-package', 'someFunction']] }],
264
+ },
265
+ ],
266
+ },
267
+ );
@@ -0,0 +1,52 @@
1
+ import { typescriptEslintTester } from '../../__tests__/utils/_tester';
2
+ import rule from '../index';
3
+
4
+ typescriptEslintTester.run(
5
+ 'no-unsafe-values',
6
+ // @ts-expect-error
7
+ rule,
8
+ {
9
+ valid: [],
10
+ invalid: [
11
+ {
12
+ name: 'passing an object through a variable',
13
+ code: `
14
+ import { css } from '@compiled/react';
15
+
16
+ const myStyles = {
17
+ height: '8px'
18
+ };
19
+
20
+ const styles = css(myStyles);
21
+ `,
22
+ errors: [{ messageId: 'no-identifier-arguments' }],
23
+ },
24
+ {
25
+ name: 'passing the result of `css` through a variable',
26
+ code: `
27
+ import { css } from '@compiled/react';
28
+
29
+ const myStyles = css({
30
+ height: '8px'
31
+ });
32
+
33
+ const styles = css(myStyles);
34
+ `,
35
+ errors: [{ messageId: 'no-identifier-arguments' }],
36
+ },
37
+ {
38
+ name: 'passing the result of `css` through a variable to `styled`',
39
+ code: `
40
+ import { styled } from '@compiled/react';
41
+
42
+ const myStyles = css({
43
+ height: '8px'
44
+ });
45
+
46
+ const Component = styled.div(myStyles)
47
+ `,
48
+ errors: [{ messageId: 'no-identifier-arguments' }],
49
+ },
50
+ ],
51
+ },
52
+ );
@@ -0,0 +1,106 @@
1
+ import { typescriptEslintTester } from '../../__tests__/utils/_tester';
2
+ import rule from '../index';
3
+
4
+ typescriptEslintTester.run(
5
+ 'no-unsafe-values',
6
+ // @ts-expect-error
7
+ rule,
8
+ {
9
+ valid: [],
10
+ invalid: [
11
+ {
12
+ name: 'object indexing as value',
13
+ code: `
14
+ import { css } from '@compiled/react';
15
+
16
+ const myVariable = {
17
+ customHeight: '5px',
18
+ };
19
+
20
+ const styles = css({
21
+ height: myVariable.customHeight,
22
+ });
23
+ `,
24
+ errors: [{ messageId: 'no-object-access' }],
25
+ },
26
+ {
27
+ name: 'object indexing as value (variant)',
28
+ code: `
29
+ import { css } from '@compiled/react';
30
+
31
+ const myVariable = {
32
+ customHeight: '5px',
33
+ };
34
+
35
+ const styles = css({
36
+ height: myVariable['customHeight'],
37
+ });
38
+ `,
39
+ errors: [{ messageId: 'no-object-access' }],
40
+ },
41
+ {
42
+ name: 'object indexing as value (indexing through a variable)',
43
+ code: `
44
+ import { css } from '@compiled/react';
45
+
46
+ const myVariable = {
47
+ customHeight: '5px',
48
+ };
49
+
50
+ const otherVariable = 'customHeight';
51
+
52
+ const styles = css({
53
+ height: myVariable[otherVariable],
54
+ });
55
+ `,
56
+ errors: [{ messageId: 'no-object-access' }],
57
+ },
58
+ {
59
+ name: 'object indexing as value (indexing through a variable defined as a function)',
60
+ code: `
61
+ import { css } from '@compiled/react';
62
+
63
+ const myVariable = {
64
+ customHeight: '5px',
65
+ };
66
+
67
+ const otherVariable = () => 'customHeight';
68
+
69
+ const styles = css({
70
+ height: myVariable[otherVariable],
71
+ });
72
+ `,
73
+ errors: [{ messageId: 'no-object-access' }],
74
+ },
75
+ {
76
+ name: 'object indexing as value (indexing through a function directly)',
77
+ code: `
78
+ import { css } from '@compiled/react';
79
+
80
+ const myVariable = {
81
+ customHeight: '5px',
82
+ };
83
+
84
+ function myFunction() {
85
+ return 'customHeight';
86
+ }
87
+
88
+ const styles = css({
89
+ height: myVariable[myFunction()],
90
+ });
91
+ `,
92
+ errors: [{ messageId: 'no-object-access' }],
93
+ },
94
+ {
95
+ name: 'accessing prop value',
96
+ code: `
97
+ import { styled } from '@compiled/react';
98
+ const styles = styled.div(
99
+ (props) => ({ color: props.height }),
100
+ );
101
+ `,
102
+ errors: [{ messageId: 'no-object-access' }],
103
+ },
104
+ ],
105
+ },
106
+ );