@atlaskit/eslint-plugin-ui-styling-standard 0.21.0 → 1.0.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 (31) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -5
  3. package/dist/cjs/presets/all-flat.codegen.js +2 -11
  4. package/dist/cjs/presets/all.codegen.js +2 -9
  5. package/dist/cjs/presets/recommended-flat.codegen.js +2 -11
  6. package/dist/cjs/presets/recommended.codegen.js +2 -9
  7. package/dist/cjs/rules/enforce-style-prop/index.js +45 -17
  8. package/dist/cjs/rules/external-rules.js +0 -38
  9. package/dist/es2019/presets/all-flat.codegen.js +2 -11
  10. package/dist/es2019/presets/all.codegen.js +2 -9
  11. package/dist/es2019/presets/recommended-flat.codegen.js +2 -11
  12. package/dist/es2019/presets/recommended.codegen.js +2 -9
  13. package/dist/es2019/rules/enforce-style-prop/index.js +45 -17
  14. package/dist/es2019/rules/external-rules.js +0 -38
  15. package/dist/esm/presets/all-flat.codegen.js +2 -11
  16. package/dist/esm/presets/all.codegen.js +2 -9
  17. package/dist/esm/presets/recommended-flat.codegen.js +2 -11
  18. package/dist/esm/presets/recommended.codegen.js +2 -9
  19. package/dist/esm/rules/enforce-style-prop/index.js +45 -17
  20. package/dist/esm/rules/external-rules.js +0 -38
  21. package/dist/types/index.codegen.d.ts +4 -64
  22. package/dist/types/presets/all-flat.codegen.d.ts +1 -10
  23. package/dist/types/presets/all.codegen.d.ts +2 -9
  24. package/dist/types/presets/recommended-flat.codegen.d.ts +1 -10
  25. package/dist/types/presets/recommended.codegen.d.ts +2 -9
  26. package/dist/types-ts4.5/index.codegen.d.ts +4 -108
  27. package/dist/types-ts4.5/presets/all-flat.codegen.d.ts +1 -15
  28. package/dist/types-ts4.5/presets/all.codegen.d.ts +2 -15
  29. package/dist/types-ts4.5/presets/recommended-flat.codegen.d.ts +1 -15
  30. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -15
  31. package/package.json +8 -6
@@ -1,14 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::1cccef68eb9733d840f31dd863aad5ab>>
3
+ * @codegen <<SignedSource::4595bc1a07f9da4186e2df84cea56831>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import * as atlaskitDesignSystemPlugin from '@atlaskit/eslint-plugin-design-system';
7
- import * as compiledPlugin from '@compiled/eslint-plugin';
8
7
  declare const _default: {
9
8
  readonly plugins: {
10
9
  readonly '@atlaskit/design-system': typeof atlaskitDesignSystemPlugin;
11
- readonly '@compiled': typeof compiledPlugin;
12
10
  };
13
11
  readonly rules: {
14
12
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -35,19 +33,12 @@ declare const _default: {
35
33
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
36
34
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
37
35
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
38
- readonly '@compiled/no-suppress-xcss': "error";
39
- readonly '@compiled/no-js-xcss': "error";
40
36
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly ["error", {
41
37
  readonly importSources: readonly ["@compiled/react", "@atlaskit/css", "@emotion/core", "@emotion/react", "@emotion/styled", "styled-components"];
42
38
  }];
43
39
  readonly '@atlaskit/design-system/no-invalid-css-map': readonly ["error", {
44
40
  readonly allowedFunctionCalls: readonly [readonly ["@atlaskit/tokens", "token"]];
45
41
  }];
46
- readonly '@compiled/jsx-pragma': readonly ["error", {
47
- readonly runtime: "classic";
48
- readonly onlyRunIfImportingCompiled: true;
49
- readonly importSources: readonly ["@atlaskit/css"];
50
- }];
51
42
  };
52
43
  };
53
44
  export default _default;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3488c902f0db00c9b39ff91abeff0c91>>
3
+ * @codegen <<SignedSource::884e28457d7860b1abca070fca8ab853>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
7
- readonly plugins: readonly ["@atlaskit/ui-styling-standard", "@atlaskit/design-system", "@compiled"];
7
+ readonly plugins: readonly ["@atlaskit/ui-styling-standard", "@atlaskit/design-system"];
8
8
  readonly rules: {
9
9
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
10
10
  readonly '@atlaskit/ui-styling-standard/convert-props-syntax': "error";
@@ -30,19 +30,12 @@ declare const _default: {
30
30
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
31
31
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
32
32
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
33
- readonly '@compiled/no-suppress-xcss': "error";
34
- readonly '@compiled/no-js-xcss': "error";
35
33
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly ["error", {
36
34
  readonly importSources: readonly ["@compiled/react", "@atlaskit/css", "@emotion/core", "@emotion/react", "@emotion/styled", "styled-components"];
37
35
  }];
38
36
  readonly '@atlaskit/design-system/no-invalid-css-map': readonly ["error", {
39
37
  readonly allowedFunctionCalls: readonly [readonly ["@atlaskit/tokens", "token"]];
40
38
  }];
41
- readonly '@compiled/jsx-pragma': readonly ["error", {
42
- readonly runtime: "classic";
43
- readonly onlyRunIfImportingCompiled: true;
44
- readonly importSources: readonly ["@atlaskit/css"];
45
- }];
46
39
  };
47
40
  };
48
41
  export default _default;
@@ -26,8 +26,7 @@ export declare const plugin: {
26
26
  readonly all: {
27
27
  readonly plugins: readonly [
28
28
  "@atlaskit/ui-styling-standard",
29
- "@atlaskit/design-system",
30
- "@compiled"
29
+ "@atlaskit/design-system"
31
30
  ];
32
31
  readonly rules: {
33
32
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -57,8 +56,6 @@ export declare const plugin: {
57
56
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
58
57
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
59
58
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
60
- readonly '@compiled/no-suppress-xcss': "error";
61
- readonly '@compiled/no-js-xcss': "error";
62
59
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
63
60
  "error",
64
61
  {
@@ -83,23 +80,12 @@ export declare const plugin: {
83
80
  ];
84
81
  }
85
82
  ];
86
- readonly '@compiled/jsx-pragma': readonly [
87
- "error",
88
- {
89
- readonly runtime: "classic";
90
- readonly onlyRunIfImportingCompiled: true;
91
- readonly importSources: readonly [
92
- "@atlaskit/css"
93
- ];
94
- }
95
- ];
96
83
  };
97
84
  };
98
85
  readonly 'flat/all': {
99
86
  readonly plugins: {
100
87
  readonly '@atlaskit/ui-styling-standard': any;
101
88
  readonly '@atlaskit/design-system': typeof import("@atlaskit/eslint-plugin-design-system");
102
- readonly '@compiled': typeof import("@compiled/eslint-plugin");
103
89
  };
104
90
  readonly rules: {
105
91
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -129,8 +115,6 @@ export declare const plugin: {
129
115
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
130
116
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
131
117
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
132
- readonly '@compiled/no-suppress-xcss': "error";
133
- readonly '@compiled/no-js-xcss': "error";
134
118
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
135
119
  "error",
136
120
  {
@@ -155,23 +139,12 @@ export declare const plugin: {
155
139
  ];
156
140
  }
157
141
  ];
158
- readonly '@compiled/jsx-pragma': readonly [
159
- "error",
160
- {
161
- readonly runtime: "classic";
162
- readonly onlyRunIfImportingCompiled: true;
163
- readonly importSources: readonly [
164
- "@atlaskit/css"
165
- ];
166
- }
167
- ];
168
142
  };
169
143
  };
170
144
  readonly recommended: {
171
145
  readonly plugins: readonly [
172
146
  "@atlaskit/ui-styling-standard",
173
- "@atlaskit/design-system",
174
- "@compiled"
147
+ "@atlaskit/design-system"
175
148
  ];
176
149
  readonly rules: {
177
150
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -201,8 +174,6 @@ export declare const plugin: {
201
174
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
202
175
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
203
176
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
204
- readonly '@compiled/no-suppress-xcss': "error";
205
- readonly '@compiled/no-js-xcss': "error";
206
177
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
207
178
  "error",
208
179
  {
@@ -227,23 +198,12 @@ export declare const plugin: {
227
198
  ];
228
199
  }
229
200
  ];
230
- readonly '@compiled/jsx-pragma': readonly [
231
- "error",
232
- {
233
- readonly runtime: "classic";
234
- readonly onlyRunIfImportingCompiled: true;
235
- readonly importSources: readonly [
236
- "@atlaskit/css"
237
- ];
238
- }
239
- ];
240
201
  };
241
202
  };
242
203
  readonly 'flat/recommended': {
243
204
  readonly plugins: {
244
205
  readonly '@atlaskit/ui-styling-standard': any;
245
206
  readonly '@atlaskit/design-system': typeof import("@atlaskit/eslint-plugin-design-system");
246
- readonly '@compiled': typeof import("@compiled/eslint-plugin");
247
207
  };
248
208
  readonly rules: {
249
209
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -273,8 +233,6 @@ export declare const plugin: {
273
233
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
274
234
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
275
235
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
276
- readonly '@compiled/no-suppress-xcss': "error";
277
- readonly '@compiled/no-js-xcss': "error";
278
236
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
279
237
  "error",
280
238
  {
@@ -299,16 +257,6 @@ export declare const plugin: {
299
257
  ];
300
258
  }
301
259
  ];
302
- readonly '@compiled/jsx-pragma': readonly [
303
- "error",
304
- {
305
- readonly runtime: "classic";
306
- readonly onlyRunIfImportingCompiled: true;
307
- readonly importSources: readonly [
308
- "@atlaskit/css"
309
- ];
310
- }
311
- ];
312
260
  };
313
261
  };
314
262
  };
@@ -318,8 +266,7 @@ export declare const configs: {
318
266
  readonly all: {
319
267
  readonly plugins: readonly [
320
268
  "@atlaskit/ui-styling-standard",
321
- "@atlaskit/design-system",
322
- "@compiled"
269
+ "@atlaskit/design-system"
323
270
  ];
324
271
  readonly rules: {
325
272
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -349,8 +296,6 @@ export declare const configs: {
349
296
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
350
297
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
351
298
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
352
- readonly '@compiled/no-suppress-xcss': "error";
353
- readonly '@compiled/no-js-xcss': "error";
354
299
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
355
300
  "error",
356
301
  {
@@ -375,16 +320,6 @@ export declare const configs: {
375
320
  ];
376
321
  }
377
322
  ];
378
- readonly '@compiled/jsx-pragma': readonly [
379
- "error",
380
- {
381
- readonly runtime: "classic";
382
- readonly onlyRunIfImportingCompiled: true;
383
- readonly importSources: readonly [
384
- "@atlaskit/css"
385
- ];
386
- }
387
- ];
388
323
  };
389
324
  };
390
325
  readonly 'flat/all': {
@@ -416,7 +351,6 @@ export declare const configs: {
416
351
  readonly configs: any;
417
352
  };
418
353
  readonly '@atlaskit/design-system': typeof import("@atlaskit/eslint-plugin-design-system");
419
- readonly '@compiled': typeof import("@compiled/eslint-plugin");
420
354
  };
421
355
  readonly rules: {
422
356
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -446,8 +380,6 @@ export declare const configs: {
446
380
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
447
381
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
448
382
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
449
- readonly '@compiled/no-suppress-xcss': "error";
450
- readonly '@compiled/no-js-xcss': "error";
451
383
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
452
384
  "error",
453
385
  {
@@ -472,23 +404,12 @@ export declare const configs: {
472
404
  ];
473
405
  }
474
406
  ];
475
- readonly '@compiled/jsx-pragma': readonly [
476
- "error",
477
- {
478
- readonly runtime: "classic";
479
- readonly onlyRunIfImportingCompiled: true;
480
- readonly importSources: readonly [
481
- "@atlaskit/css"
482
- ];
483
- }
484
- ];
485
407
  };
486
408
  };
487
409
  readonly recommended: {
488
410
  readonly plugins: readonly [
489
411
  "@atlaskit/ui-styling-standard",
490
- "@atlaskit/design-system",
491
- "@compiled"
412
+ "@atlaskit/design-system"
492
413
  ];
493
414
  readonly rules: {
494
415
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -518,8 +439,6 @@ export declare const configs: {
518
439
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
519
440
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
520
441
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
521
- readonly '@compiled/no-suppress-xcss': "error";
522
- readonly '@compiled/no-js-xcss': "error";
523
442
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
524
443
  "error",
525
444
  {
@@ -544,16 +463,6 @@ export declare const configs: {
544
463
  ];
545
464
  }
546
465
  ];
547
- readonly '@compiled/jsx-pragma': readonly [
548
- "error",
549
- {
550
- readonly runtime: "classic";
551
- readonly onlyRunIfImportingCompiled: true;
552
- readonly importSources: readonly [
553
- "@atlaskit/css"
554
- ];
555
- }
556
- ];
557
466
  };
558
467
  };
559
468
  readonly 'flat/recommended': {
@@ -585,7 +494,6 @@ export declare const configs: {
585
494
  readonly configs: any;
586
495
  };
587
496
  readonly '@atlaskit/design-system': typeof import("@atlaskit/eslint-plugin-design-system");
588
- readonly '@compiled': typeof import("@compiled/eslint-plugin");
589
497
  };
590
498
  readonly rules: {
591
499
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -615,8 +523,6 @@ export declare const configs: {
615
523
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
616
524
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
617
525
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
618
- readonly '@compiled/no-suppress-xcss': "error";
619
- readonly '@compiled/no-js-xcss': "error";
620
526
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
621
527
  "error",
622
528
  {
@@ -641,16 +547,6 @@ export declare const configs: {
641
547
  ];
642
548
  }
643
549
  ];
644
- readonly '@compiled/jsx-pragma': readonly [
645
- "error",
646
- {
647
- readonly runtime: "classic";
648
- readonly onlyRunIfImportingCompiled: true;
649
- readonly importSources: readonly [
650
- "@atlaskit/css"
651
- ];
652
- }
653
- ];
654
550
  };
655
551
  };
656
552
  }, meta: {
@@ -1,14 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::1cccef68eb9733d840f31dd863aad5ab>>
3
+ * @codegen <<SignedSource::4595bc1a07f9da4186e2df84cea56831>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import * as atlaskitDesignSystemPlugin from '@atlaskit/eslint-plugin-design-system';
7
- import * as compiledPlugin from '@compiled/eslint-plugin';
8
7
  declare const _default: {
9
8
  readonly plugins: {
10
9
  readonly '@atlaskit/design-system': typeof atlaskitDesignSystemPlugin;
11
- readonly '@compiled': typeof compiledPlugin;
12
10
  };
13
11
  readonly rules: {
14
12
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -38,8 +36,6 @@ declare const _default: {
38
36
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
39
37
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
40
38
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
41
- readonly '@compiled/no-suppress-xcss': "error";
42
- readonly '@compiled/no-js-xcss': "error";
43
39
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
44
40
  "error",
45
41
  {
@@ -64,16 +60,6 @@ declare const _default: {
64
60
  ];
65
61
  }
66
62
  ];
67
- readonly '@compiled/jsx-pragma': readonly [
68
- "error",
69
- {
70
- readonly runtime: "classic";
71
- readonly onlyRunIfImportingCompiled: true;
72
- readonly importSources: readonly [
73
- "@atlaskit/css"
74
- ];
75
- }
76
- ];
77
63
  };
78
64
  };
79
65
  export default _default;
@@ -1,13 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3488c902f0db00c9b39ff91abeff0c91>>
3
+ * @codegen <<SignedSource::884e28457d7860b1abca070fca8ab853>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
7
7
  readonly plugins: readonly [
8
8
  "@atlaskit/ui-styling-standard",
9
- "@atlaskit/design-system",
10
- "@compiled"
9
+ "@atlaskit/design-system"
11
10
  ];
12
11
  readonly rules: {
13
12
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -37,8 +36,6 @@ declare const _default: {
37
36
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
38
37
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
39
38
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
40
- readonly '@compiled/no-suppress-xcss': "error";
41
- readonly '@compiled/no-js-xcss': "error";
42
39
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
43
40
  "error",
44
41
  {
@@ -63,16 +60,6 @@ declare const _default: {
63
60
  ];
64
61
  }
65
62
  ];
66
- readonly '@compiled/jsx-pragma': readonly [
67
- "error",
68
- {
69
- readonly runtime: "classic";
70
- readonly onlyRunIfImportingCompiled: true;
71
- readonly importSources: readonly [
72
- "@atlaskit/css"
73
- ];
74
- }
75
- ];
76
63
  };
77
64
  };
78
65
  export default _default;
@@ -1,14 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::1cccef68eb9733d840f31dd863aad5ab>>
3
+ * @codegen <<SignedSource::4595bc1a07f9da4186e2df84cea56831>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import * as atlaskitDesignSystemPlugin from '@atlaskit/eslint-plugin-design-system';
7
- import * as compiledPlugin from '@compiled/eslint-plugin';
8
7
  declare const _default: {
9
8
  readonly plugins: {
10
9
  readonly '@atlaskit/design-system': typeof atlaskitDesignSystemPlugin;
11
- readonly '@compiled': typeof compiledPlugin;
12
10
  };
13
11
  readonly rules: {
14
12
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -38,8 +36,6 @@ declare const _default: {
38
36
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
39
37
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
40
38
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
41
- readonly '@compiled/no-suppress-xcss': "error";
42
- readonly '@compiled/no-js-xcss': "error";
43
39
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
44
40
  "error",
45
41
  {
@@ -64,16 +60,6 @@ declare const _default: {
64
60
  ];
65
61
  }
66
62
  ];
67
- readonly '@compiled/jsx-pragma': readonly [
68
- "error",
69
- {
70
- readonly runtime: "classic";
71
- readonly onlyRunIfImportingCompiled: true;
72
- readonly importSources: readonly [
73
- "@atlaskit/css"
74
- ];
75
- }
76
- ];
77
63
  };
78
64
  };
79
65
  export default _default;
@@ -1,13 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3488c902f0db00c9b39ff91abeff0c91>>
3
+ * @codegen <<SignedSource::884e28457d7860b1abca070fca8ab853>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
7
7
  readonly plugins: readonly [
8
8
  "@atlaskit/ui-styling-standard",
9
- "@atlaskit/design-system",
10
- "@compiled"
9
+ "@atlaskit/design-system"
11
10
  ];
12
11
  readonly rules: {
13
12
  readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
@@ -37,8 +36,6 @@ declare const _default: {
37
36
  readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
38
37
  readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
39
38
  readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
40
- readonly '@compiled/no-suppress-xcss': "error";
41
- readonly '@compiled/no-js-xcss': "error";
42
39
  readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
43
40
  "error",
44
41
  {
@@ -63,16 +60,6 @@ declare const _default: {
63
60
  ];
64
61
  }
65
62
  ];
66
- readonly '@compiled/jsx-pragma': readonly [
67
- "error",
68
- {
69
- readonly runtime: "classic";
70
- readonly onlyRunIfImportingCompiled: true;
71
- readonly importSources: readonly [
72
- "@atlaskit/css"
73
- ];
74
- }
75
- ];
76
63
  };
77
64
  };
78
65
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-ui-styling-standard",
3
- "version": "0.21.0",
3
+ "version": "1.0.1",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "The eslint plugin to enforce and educate on Atlassian's UI Styling Standard",
6
6
  "license": "Apache-2.0",
@@ -31,14 +31,16 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "sideEffects": false,
34
+ "sideEffects": [
35
+ "**/*.compiled.css"
36
+ ],
35
37
  "atlaskit:src": "src/index.tsx",
36
38
  "af:exports": {
37
39
  ".": "./src/index.tsx",
38
40
  "./package.json": "./package.json"
39
41
  },
40
42
  "dependencies": {
41
- "@atlaskit/eslint-plugin-design-system": "^10.23.0",
43
+ "@atlaskit/eslint-plugin-design-system": "^10.24.0",
42
44
  "@atlaskit/eslint-utils": "^1.7.0",
43
45
  "@babel/runtime": "^7.0.0",
44
46
  "@typescript-eslint/utils": "^5.48.1",
@@ -53,10 +55,10 @@
53
55
  },
54
56
  "devDependencies": {
55
57
  "@af/formatting": "*",
56
- "@atlaskit/ds-lib": "^3.1.0",
58
+ "@atlaskit/ds-lib": "^3.2.0",
57
59
  "@atlassian/codegen": "*",
58
60
  "@atlassian/ts-loader": "*",
59
- "@compiled/eslint-plugin": "^0.16.0",
61
+ "@compiled/eslint-plugin": "^0.17.0",
60
62
  "@eslint/eslintrc": "^3.0.2",
61
63
  "@types/eslint": "^8.56.6",
62
64
  "@types/eslint__eslintrc": "^2.1.2",
@@ -66,7 +68,7 @@
66
68
  "typescript": "~5.4.2"
67
69
  },
68
70
  "peerDependencies": {
69
- "@compiled/eslint-plugin": "^0.16.0"
71
+ "@compiled/eslint-plugin": "^0.17.0"
70
72
  },
71
73
  "scripts": {
72
74
  "codegen": "run-ts ./scripts/codegen.tsx"