@atlaskit/eslint-plugin-ui-styling-standard 0.6.0 → 0.6.2

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 (43) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +16 -15
  3. package/constellation/convert-props-syntax/usage.mdx +115 -0
  4. package/constellation/index/overview.mdx +16 -15
  5. package/dist/cjs/presets/all.codegen.js +2 -1
  6. package/dist/cjs/presets/recommended.codegen.js +2 -1
  7. package/dist/cjs/rules/convert-props-syntax/index.js +396 -0
  8. package/dist/cjs/rules/index.codegen.js +3 -1
  9. package/dist/cjs/rules/utils/is-supported-import.js +7 -0
  10. package/dist/es2019/presets/all.codegen.js +2 -1
  11. package/dist/es2019/presets/recommended.codegen.js +2 -1
  12. package/dist/es2019/rules/convert-props-syntax/index.js +291 -0
  13. package/dist/es2019/rules/index.codegen.js +3 -1
  14. package/dist/es2019/rules/utils/is-supported-import.js +7 -0
  15. package/dist/esm/presets/all.codegen.js +2 -1
  16. package/dist/esm/presets/recommended.codegen.js +2 -1
  17. package/dist/esm/rules/convert-props-syntax/index.js +389 -0
  18. package/dist/esm/rules/index.codegen.js +3 -1
  19. package/dist/esm/rules/utils/is-supported-import.js +7 -0
  20. package/dist/types/index.codegen.d.ts +2 -0
  21. package/dist/types/presets/all.codegen.d.ts +2 -1
  22. package/dist/types/presets/recommended.codegen.d.ts +2 -1
  23. package/dist/types/rules/convert-props-syntax/index.d.ts +3 -0
  24. package/dist/types/rules/index.codegen.d.ts +1 -0
  25. package/dist/types/rules/utils/create-rule.d.ts +1 -1
  26. package/dist/types-ts4.5/index.codegen.d.ts +2 -0
  27. package/dist/types-ts4.5/presets/all.codegen.d.ts +2 -1
  28. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -1
  29. package/dist/types-ts4.5/rules/convert-props-syntax/index.d.ts +3 -0
  30. package/dist/types-ts4.5/rules/index.codegen.d.ts +1 -0
  31. package/dist/types-ts4.5/rules/utils/create-rule.d.ts +1 -1
  32. package/package.json +6 -4
  33. package/src/presets/all.codegen.tsx +2 -1
  34. package/src/presets/recommended.codegen.tsx +2 -1
  35. package/src/rules/convert-props-syntax/README.md +113 -0
  36. package/src/rules/convert-props-syntax/__tests__/invalid.test.tsx +76 -0
  37. package/src/rules/convert-props-syntax/__tests__/rule.test.tsx +422 -0
  38. package/src/rules/convert-props-syntax/__tests__/type-annotations.test.tsx +140 -0
  39. package/src/rules/convert-props-syntax/__tests__/unusual-properties.test.tsx +69 -0
  40. package/src/rules/convert-props-syntax/index.tsx +414 -0
  41. package/src/rules/index.codegen.tsx +3 -1
  42. package/src/rules/utils/README.md +1 -0
  43. package/src/rules/utils/is-supported-import.tsx +7 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/eslint-plugin-ui-styling-standard
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+
9
+ ## 0.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#80129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80129) [`dc0ce9161fc1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dc0ce9161fc1) - Add `convert-prop-syntax` to convert invalid `styled-components` props syntax to valid `styled-components` props syntax.
14
+ - [#79686](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79686) [`7dc7cf06a8b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7dc7cf06a8b9) - Bump @compiled/react to v0.17.0
15
+
3
16
  ## 0.6.0
4
17
 
5
18
  ### Minor Changes
package/README.md CHANGED
@@ -11,20 +11,21 @@ Not intended for use outside the Atlassian frontend repository.
11
11
  <!-- START_RULE_TABLE_CODEGEN -->
12
12
  <!-- @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen -->
13
13
 
14
- | Rule | Description | Recommended | Fixable | Suggestions |
15
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | ------- | ----------- |
16
- | <a href="./src/rules/local-cx-xcss/README.md">local-cx-xcss</a> | Ensures the cx() function, which is part of the XCSS API, is only used within the xcss prop. This aids tracking what styles are applied to a jsx element. | Yes | | |
17
- | <a href="./src/rules/no-classname-prop/README.md">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
18
- | <a href="./src/rules/no-important-styles/README.md">no-important-styles</a> | Disallows important style declarations | Yes | | |
19
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/consistent-css-prop-usage/usage">@atlaskit/design-system/consistent-css-prop-usage</a> | Ensures consistency with `css` and `xcss` prop usages | Yes | Yes | |
20
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-css-tagged-template-expression/usage">@atlaskit/design-system/no-css-tagged-template-expression</a> | Disallows any `css` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
21
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-keyframes-tagged-template-expression/usage">@atlaskit/design-system/no-keyframes-tagged-template-expression</a> | Disallows any `keyframe` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
22
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-styled-tagged-template-expression/usage">@atlaskit/design-system/no-styled-tagged-template-expression</a> | Disallows any `styled` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
23
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-suppress-xcss/usage">@compiled/no-suppress-xcss</a> | Disallows supressing type violations when using the xcss prop. | Yes | | |
24
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-js-xcss/usage">@compiled/no-js-xcss</a> | Disallows using xcss prop inside JavaScript files. | Yes | | |
25
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-empty-styled-expression/usage">@atlaskit/design-system/no-empty-styled-expression</a> | Forbids any styled expression to be used when passing empty arguments to styled.div() (or other JSX elements). | Yes | | |
26
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-exported-css/usage">@atlaskit/design-system/no-exported-css</a> | Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
27
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-exported-keyframes/usage">@atlaskit/design-system/no-exported-keyframes</a> | Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
28
- | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-invalid-css-map/usage">@atlaskit/design-system/no-invalid-css-map</a> | Checks the validity of a CSS map created through cssMap. This is intended to be used alongside TypeScript's type-checking. | Yes | | |
14
+ | Rule | Description | Recommended | Fixable | Suggestions |
15
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ------- | ----------- |
16
+ | <a href="./src/rules/convert-props-syntax/README.md">convert-props-syntax</a> | Convert props syntax that is unsupported by `styled-components` <4.x to props syntax that is supported. This is useful when used in conjunction with `no-styled-tagged-template-expression`, as output from the latter may use props syntax unsupported by `styled-components`. | Yes | Yes | |
17
+ | <a href="./src/rules/local-cx-xcss/README.md">local-cx-xcss</a> | Ensures the cx() function, which is part of the XCSS API, is only used within the xcss prop. This aids tracking what styles are applied to a jsx element. | Yes | | |
18
+ | <a href="./src/rules/no-classname-prop/README.md">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
19
+ | <a href="./src/rules/no-important-styles/README.md">no-important-styles</a> | Disallows important style declarations | Yes | | |
20
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/consistent-css-prop-usage/usage">@atlaskit/design-system/consistent-css-prop-usage</a> | Ensures consistency with `css` and `xcss` prop usages | Yes | Yes | |
21
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-css-tagged-template-expression/usage">@atlaskit/design-system/no-css-tagged-template-expression</a> | Disallows any `css` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
22
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-keyframes-tagged-template-expression/usage">@atlaskit/design-system/no-keyframes-tagged-template-expression</a> | Disallows any `keyframe` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
23
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-styled-tagged-template-expression/usage">@atlaskit/design-system/no-styled-tagged-template-expression</a> | Disallows any `styled` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
24
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-suppress-xcss/usage">@compiled/no-suppress-xcss</a> | Disallows supressing type violations when using the xcss prop. | Yes | | |
25
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-js-xcss/usage">@compiled/no-js-xcss</a> | Disallows using xcss prop inside JavaScript files. | Yes | | |
26
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-empty-styled-expression/usage">@atlaskit/design-system/no-empty-styled-expression</a> | Forbids any styled expression to be used when passing empty arguments to styled.div() (or other JSX elements). | Yes | | |
27
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-exported-css/usage">@atlaskit/design-system/no-exported-css</a> | Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
28
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-exported-keyframes/usage">@atlaskit/design-system/no-exported-keyframes</a> | Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
29
+ | <a href="https://atlassian.design/components/eslint-plugin-ui-styling-standard/no-invalid-css-map/usage">@atlaskit/design-system/no-invalid-css-map</a> | Checks the validity of a CSS map created through cssMap. This is intended to be used alongside TypeScript's type-checking. | Yes | | |
29
30
 
30
31
  <!-- END_RULE_TABLE_CODEGEN -->
@@ -0,0 +1,115 @@
1
+ # convert-props-syntax
2
+
3
+ Convert props syntax that is unsupported by `styled-components` <4.x to props syntax that is supported. This is useful when used in conjunction with `no-styled-tagged-template-expression`, as output from the latter may use props syntax unsupported by `styled-components`.
4
+
5
+ `styled-components` <4.x does not support having an arrow function inside a CSS value:
6
+
7
+ ```js
8
+ styled.div({
9
+ color: ({ myColor }) => myColor,
10
+ backgroundColor: (props) => props.someColor,
11
+ });
12
+ ```
13
+
14
+ However, refactoring the arrow function so that it is the argument to `styled.div` will fix the issue:
15
+
16
+ ```js
17
+ styled.div((props) => ({
18
+ color: props.myColor,
19
+ backgroundColor: props.someColor,
20
+ }));
21
+ ```
22
+
23
+ This ESLint rule will only run on usages of the `styled` API when imported from `styled-components`.
24
+
25
+ ## About the autofixer
26
+
27
+ This rule has an autofixer that will automatically perform the above arrow function refactoring for the majority of cases, including for nested selectors and any props used in template literal values.
28
+
29
+ However, there are a few situations where the autofixer will not be run. For these, you will need to manually fix the output, or migrate the code to `@compiled/react`.
30
+
31
+ ### Type annotations
32
+
33
+ Type annotations in the arrow function are not supported; you will need to remediate the lint error manually. For example:
34
+
35
+ ```js
36
+ type Props = {
37
+ myColor: string,
38
+ someColor: string,
39
+ };
40
+
41
+ styled.div({
42
+ color: ({ myColor }: Props) => myColor,
43
+ backgroundColor: (props: Props) => props.someColor,
44
+ });
45
+ ```
46
+
47
+ will need to be manually refactored to
48
+
49
+ ```js
50
+ type Props = {
51
+ myColor: string,
52
+ someColor: string,
53
+ };
54
+
55
+ styled.div((props: Props) => ({
56
+ color: props.myColor,
57
+ backgroundColor: props.someColor,
58
+ }));
59
+ ```
60
+
61
+ ### Special syntax in the arrow function parameter(s)
62
+
63
+ Rest elements, default values, and so on in the parameter of an arrow function will need to be remediated manually. For example:
64
+
65
+ ```js
66
+ styled.div({
67
+ color: ({ myColor = '#fff' }) => myColor,
68
+ backgroundColor: ({ myColor = '#aaa' }) => myColor,
69
+ });
70
+ ```
71
+
72
+ could potentially be remediated with
73
+
74
+ ```js
75
+ styled.div((props) => ({
76
+ color: myColor ?? '#fff',
77
+ backgroundColor: myColor ?? '#aaa',
78
+ }));
79
+ ```
80
+
81
+ ## Examples
82
+
83
+ ### Incorrect
84
+
85
+ ```js
86
+ import styled from 'styled-components';
87
+
88
+ styled.div({
89
+ color: ({ myColor }) => myColor,
90
+ backgroundColor: (props) => props.someColor,
91
+ });
92
+
93
+ styled.div({
94
+ color: `url(/tmp/${({ coolProp }) => coolProp}.png)`,
95
+ });
96
+ ```
97
+
98
+ ### Correct
99
+
100
+ ```js
101
+ import styled from 'styled-components';
102
+
103
+ styled.div((props) => ({
104
+ color: props.myColor,
105
+ backgroundColor: props.someColor,
106
+ }));
107
+
108
+ styled.div((props) => ({
109
+ color: url(`/tmp/${coolProp}.png`),
110
+ }));
111
+ ```
112
+
113
+ ## When not to use it
114
+
115
+ You do not need this rule if you are not using a codebase that has an old version of `styled-components` (<4.x).
@@ -9,21 +9,22 @@ but more are planned to support the standard over time.
9
9
  <!-- START_RULE_TABLE_CODEGEN -->
10
10
  <!-- @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen -->
11
11
 
12
- | Rule | Description | Recommended | Fixable | Suggestions |
13
- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | ------- | ----------- |
14
- | <a href="local-cx-xcss/usage">local-cx-xcss</a> | Ensures the cx() function, which is part of the XCSS API, is only used within the xcss prop. This aids tracking what styles are applied to a jsx element. | Yes | | |
15
- | <a href="no-classname-prop/usage">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
16
- | <a href="no-important-styles/usage">no-important-styles</a> | Disallows important style declarations | Yes | | |
17
- | <a href="consistent-css-prop-usage/usage">@atlaskit/design-system/consistent-css-prop-usage</a> | Ensures consistency with `css` and `xcss` prop usages | Yes | Yes | |
18
- | <a href="no-css-tagged-template-expression/usage">@atlaskit/design-system/no-css-tagged-template-expression</a> | Disallows any `css` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
19
- | <a href="no-keyframes-tagged-template-expression/usage">@atlaskit/design-system/no-keyframes-tagged-template-expression</a> | Disallows any `keyframe` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
20
- | <a href="no-styled-tagged-template-expression/usage">@atlaskit/design-system/no-styled-tagged-template-expression</a> | Disallows any `styled` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
21
- | <a href="no-suppress-xcss/usage">@compiled/no-suppress-xcss</a> | Disallows supressing type violations when using the xcss prop. | Yes | | |
22
- | <a href="no-js-xcss/usage">@compiled/no-js-xcss</a> | Disallows using xcss prop inside JavaScript files. | Yes | | |
23
- | <a href="no-empty-styled-expression/usage">@atlaskit/design-system/no-empty-styled-expression</a> | Forbids any styled expression to be used when passing empty arguments to styled.div() (or other JSX elements). | Yes | | |
24
- | <a href="no-exported-css/usage">@atlaskit/design-system/no-exported-css</a> | Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
25
- | <a href="no-exported-keyframes/usage">@atlaskit/design-system/no-exported-keyframes</a> | Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
26
- | <a href="no-invalid-css-map/usage">@atlaskit/design-system/no-invalid-css-map</a> | Checks the validity of a CSS map created through cssMap. This is intended to be used alongside TypeScript's type-checking. | Yes | | |
12
+ | Rule | Description | Recommended | Fixable | Suggestions |
13
+ | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ------- | ----------- |
14
+ | <a href="convert-props-syntax/usage">convert-props-syntax</a> | Convert props syntax that is unsupported by `styled-components` <4.x to props syntax that is supported. This is useful when used in conjunction with `no-styled-tagged-template-expression`, as output from the latter may use props syntax unsupported by `styled-components`. | Yes | Yes | |
15
+ | <a href="local-cx-xcss/usage">local-cx-xcss</a> | Ensures the cx() function, which is part of the XCSS API, is only used within the xcss prop. This aids tracking what styles are applied to a jsx element. | Yes | | |
16
+ | <a href="no-classname-prop/usage">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
17
+ | <a href="no-important-styles/usage">no-important-styles</a> | Disallows important style declarations | Yes | | |
18
+ | <a href="consistent-css-prop-usage/usage">@atlaskit/design-system/consistent-css-prop-usage</a> | Ensures consistency with `css` and `xcss` prop usages | Yes | Yes | |
19
+ | <a href="no-css-tagged-template-expression/usage">@atlaskit/design-system/no-css-tagged-template-expression</a> | Disallows any `css` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
20
+ | <a href="no-keyframes-tagged-template-expression/usage">@atlaskit/design-system/no-keyframes-tagged-template-expression</a> | Disallows any `keyframe` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
21
+ | <a href="no-styled-tagged-template-expression/usage">@atlaskit/design-system/no-styled-tagged-template-expression</a> | Disallows any `styled` tagged template expressions that originate from Emotion, Styled Components or Compiled | Yes | Yes | |
22
+ | <a href="no-suppress-xcss/usage">@compiled/no-suppress-xcss</a> | Disallows supressing type violations when using the xcss prop. | Yes | | |
23
+ | <a href="no-js-xcss/usage">@compiled/no-js-xcss</a> | Disallows using xcss prop inside JavaScript files. | Yes | | |
24
+ | <a href="no-empty-styled-expression/usage">@atlaskit/design-system/no-empty-styled-expression</a> | Forbids any styled expression to be used when passing empty arguments to styled.div() (or other JSX elements). | Yes | | |
25
+ | <a href="no-exported-css/usage">@atlaskit/design-system/no-exported-css</a> | Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
26
+ | <a href="no-exported-keyframes/usage">@atlaskit/design-system/no-exported-keyframes</a> | Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable. | Yes | | |
27
+ | <a href="no-invalid-css-map/usage">@atlaskit/design-system/no-invalid-css-map</a> | Checks the validity of a CSS map created through cssMap. This is intended to be used alongside TypeScript's type-checking. | Yes | | |
27
28
 
28
29
  <!-- END_RULE_TABLE_CODEGEN -->
29
30
 
@@ -6,12 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::c07fea97418b1622081bbb5719e7aa5f>>
9
+ * @codegen <<SignedSource::c4a9648d888d86d752ea2b3442d395ba>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
  var _default = exports.default = {
13
13
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system', '@compiled'],
14
14
  rules: {
15
+ '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
15
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'warn',
16
17
  '@atlaskit/ui-styling-standard/no-classname-prop': 'warn',
17
18
  '@atlaskit/ui-styling-standard/no-important-styles': 'warn',
@@ -6,12 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::c07fea97418b1622081bbb5719e7aa5f>>
9
+ * @codegen <<SignedSource::c4a9648d888d86d752ea2b3442d395ba>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
  var _default = exports.default = {
13
13
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system', '@compiled'],
14
14
  rules: {
15
+ '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
15
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'warn',
16
17
  '@atlaskit/ui-styling-standard/no-classname-prop': 'warn',
17
18
  '@atlaskit/ui-styling-standard/no-important-styles': 'warn',