@atlaskit/eslint-plugin-ui-styling-standard 3.0.1 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/eslint-plugin-ui-styling-standard
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8769f20fe2ebd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8769f20fe2ebd) -
8
+ Disable the legacy `atlaskit-theme` rule in generated presets.
9
+
3
10
  ## 3.0.1
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -42,25 +42,25 @@ module.exports = {
42
42
 
43
43
  | Rule | Description | Recommended | Fixable | Suggestions |
44
44
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | ------- | ----------- |
45
- | <a href="./src/rules/atlaskit-theme/README.md">atlaskit-theme</a> | Ban certain usages of `@atlaskit/theme` that `@compiled/react` does not understand | Yes | | |
46
- | <a href="./src/rules/convert-props-syntax/README.md">convert-props-syntax</a> | Convert props syntax that is unsupported by styled-components@<4 or @emotion/styled 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 those libraries. | Yes | Yes | |
47
- | <a href="./src/rules/enforce-style-prop/README.md">enforce-style-prop</a> | Disallows usage of static styles in the `style` attribute in components | Yes | | |
48
- | <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 | | |
49
- | <a href="./src/rules/no-array-arguments/README.md">no-array-arguments</a> | Prevents usage of array arguments to style declaration functions | Yes | Yes | |
50
- | <a href="./src/rules/no-atlaskit-theme/README.md">no-atlaskit-theme</a> | Disallow imports from `@atlaskit/theme` | Yes | | |
51
- | <a href="./src/rules/no-classname-prop/README.md">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
52
- | <a href="./src/rules/no-container-queries/README.md">no-container-queries</a> | Prevents usage of @container query within css styling | Yes | | |
53
- | <a href="./src/rules/no-dynamic-styles/README.md">no-dynamic-styles</a> | Disallows use of dynamic styles in CSS-in-JS calls | Yes | | |
54
- | <a href="./src/rules/no-exported-styles/README.md">no-exported-styles</a> | Disallows exports of css, keyframes, styled and xcss | Yes | | |
55
- | <a href="./src/rules/no-global-styles/README.md">no-global-styles</a> | Prevents global styles through CSS-in-JS or CSS module imports | Yes | | |
56
- | <a href="./src/rules/no-important-styles/README.md">no-important-styles</a> | Disallows important style declarations | Yes | | |
57
- | <a href="./src/rules/no-imported-style-values/README.md">no-imported-style-values</a> | Disallows imports of style values | Yes | | |
58
- | <a href="./src/rules/no-nested-selectors/README.md">no-nested-selectors</a> | Prevents usage of nested selectors within css styling | Yes | | |
59
- | <a href="./src/rules/no-styled/README.md">no-styled</a> | Disallows usage of the `styled` imports | Yes | | |
60
- | <a href="./src/rules/no-unsafe-selectors/README.md">no-unsafe-selectors</a> | Disallows use of nested styles in `css` functions. | Yes | Yes | Yes |
61
- | <a href="./src/rules/no-unsafe-values/README.md">no-unsafe-values</a> | Disallows styles that are difficult/impossible to statically anaylze. | Yes | | |
62
- | <a href="./src/rules/no-unused-cssmap-properties/README.md">no-unused-cssmap-properties</a> | Detects unused properties in cssMap style objects that are not exported. Helps maintain clean code by identifying style variants that are defined but never used. | Yes | | |
63
- | <a href="./src/rules/use-compiled/README.md">use-compiled</a> | Ensures usage of `@compiled/react` or `@atlaskit/css` instead of other CSS-in-JS libraries | Yes | Yes | |
45
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/atlaskit-theme/README.md">atlaskit-theme</a> | Ban certain usages of `@atlaskit/theme` that `@compiled/react` does not understand | | | |
46
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/convert-props-syntax/README.md">convert-props-syntax</a> | Convert props syntax that is unsupported by styled-components@<4 or @emotion/styled 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 those libraries. | Yes | Yes | |
47
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/enforce-style-prop/README.md">enforce-style-prop</a> | Disallows usage of static styles in the `style` attribute in components | Yes | | |
48
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/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 | | |
49
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-array-arguments/README.md">no-array-arguments</a> | Prevents usage of array arguments to style declaration functions | Yes | Yes | |
50
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-atlaskit-theme/README.md">no-atlaskit-theme</a> | Disallow imports from `@atlaskit/theme` | Yes | | |
51
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-classname-prop/README.md">no-classname-prop</a> | Disallows usage of the `className` prop in JSX | Yes | | |
52
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-container-queries/README.md">no-container-queries</a> | Prevents usage of @container query within css styling | Yes | | |
53
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-dynamic-styles/README.md">no-dynamic-styles</a> | Disallows use of dynamic styles in CSS-in-JS calls | Yes | | |
54
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-exported-styles/README.md">no-exported-styles</a> | Disallows exports of css, keyframes, styled and xcss | Yes | | |
55
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-global-styles/README.md">no-global-styles</a> | Prevents global styles through CSS-in-JS or CSS module imports | Yes | | |
56
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-important-styles/README.md">no-important-styles</a> | Disallows important style declarations | Yes | | |
57
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-imported-style-values/README.md">no-imported-style-values</a> | Disallows imports of style values | Yes | | |
58
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-nested-selectors/README.md">no-nested-selectors</a> | Prevents usage of nested selectors within css styling | Yes | | |
59
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-styled/README.md">no-styled</a> | Disallows usage of the `styled` imports | Yes | | |
60
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-unsafe-selectors/README.md">no-unsafe-selectors</a> | Disallows use of nested styles in `css` functions. | Yes | Yes | Yes |
61
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-unsafe-values/README.md">no-unsafe-values</a> | Disallows styles that are difficult/impossible to statically anaylze. | Yes | | |
62
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/no-unused-cssmap-properties/README.md">no-unused-cssmap-properties</a> | Detects unused properties in cssMap style objects that are not exported. Helps maintain clean code by identifying style variants that are defined but never used. | Yes | | |
63
+ | <a href="./packages/design-system/eslint-plugin-ui-styling-standard/src/rules/use-compiled/README.md">use-compiled</a> | Ensures usage of `@compiled/react` or `@atlaskit/css` instead of other CSS-in-JS libraries | Yes | Yes | |
64
64
  | <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 | |
65
65
  | <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 | |
66
66
  | <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 | |
@@ -9,7 +9,7 @@ var atlaskitDesignSystemPlugin = _interopRequireWildcard(require("@atlaskit/esli
9
9
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
10
10
  /**
11
11
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
12
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
12
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
13
13
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
14
14
  */
15
15
 
@@ -19,7 +19,6 @@ var config = {
19
19
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
20
20
  },
21
21
  rules: {
22
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
23
22
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
24
23
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
25
24
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -6,14 +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::56ecb290562bdf88a8a5b5388a39e5f9>>
9
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
10
10
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
 
13
13
  var config = {
14
14
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
15
15
  rules: {
16
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
17
16
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
18
17
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
19
18
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -9,7 +9,7 @@ var atlaskitDesignSystemPlugin = _interopRequireWildcard(require("@atlaskit/esli
9
9
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
10
10
  /**
11
11
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
12
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
12
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
13
13
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
14
14
  */
15
15
 
@@ -19,7 +19,6 @@ var config = {
19
19
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
20
20
  },
21
21
  rules: {
22
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
23
22
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
24
23
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
25
24
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -6,14 +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::56ecb290562bdf88a8a5b5388a39e5f9>>
9
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
10
10
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
 
13
13
  var config = {
14
14
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
15
15
  rules: {
16
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
17
16
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
18
17
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
19
18
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -130,8 +130,7 @@ var rule = (0, _createRule.createLintRule)({
130
130
  name: 'atlaskit-theme',
131
131
  docs: {
132
132
  description: 'Ban certain usages of `@atlaskit/theme` that `@compiled/react` does not understand',
133
- recommended: true,
134
- severity: 'error'
133
+ removeFromPresets: true
135
134
  },
136
135
  messages: {
137
136
  usingTypography: 'Typography does not work with Compiled. Please utilise alternatives like Heading or tokens instead and see https://atlassian.design/components/eslint-plugin-ui-styling-standard/atlaskit-theme/usage',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
@@ -11,7 +11,6 @@ const config = {
11
11
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
12
12
  },
13
13
  rules: {
14
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
15
14
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
16
15
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
17
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -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::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
7
7
  const config = {
8
8
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
9
9
  rules: {
10
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
11
10
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
12
11
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
13
12
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
@@ -11,7 +11,6 @@ const config = {
11
11
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
12
12
  },
13
13
  rules: {
14
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
15
14
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
16
15
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
17
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -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::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
7
7
  const config = {
8
8
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
9
9
  rules: {
10
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
11
10
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
12
11
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
13
12
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -91,8 +91,7 @@ const rule = createLintRule({
91
91
  name: 'atlaskit-theme',
92
92
  docs: {
93
93
  description: 'Ban certain usages of `@atlaskit/theme` that `@compiled/react` does not understand',
94
- recommended: true,
95
- severity: 'error'
94
+ removeFromPresets: true
96
95
  },
97
96
  messages: {
98
97
  usingTypography: 'Typography does not work with Compiled. Please utilise alternatives like Heading or tokens instead and see https://atlassian.design/components/eslint-plugin-ui-styling-standard/atlaskit-theme/usage',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
@@ -11,7 +11,6 @@ var config = {
11
11
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
12
12
  },
13
13
  rules: {
14
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
15
14
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
16
15
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
17
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -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::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
7
7
  var config = {
8
8
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
9
9
  rules: {
10
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
11
10
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
12
11
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
13
12
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
@@ -11,7 +11,6 @@ var config = {
11
11
  '@atlaskit/design-system': atlaskitDesignSystemPlugin
12
12
  },
13
13
  rules: {
14
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
15
14
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
16
15
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
17
16
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -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::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
 
7
7
  var config = {
8
8
  plugins: ['@atlaskit/ui-styling-standard', '@atlaskit/design-system'],
9
9
  rules: {
10
- '@atlaskit/ui-styling-standard/atlaskit-theme': 'error',
11
10
  '@atlaskit/ui-styling-standard/convert-props-syntax': 'error',
12
11
  '@atlaskit/ui-styling-standard/enforce-style-prop': 'error',
13
12
  '@atlaskit/ui-styling-standard/local-cx-xcss': 'error',
@@ -123,8 +123,7 @@ var rule = createLintRule({
123
123
  name: 'atlaskit-theme',
124
124
  docs: {
125
125
  description: 'Ban certain usages of `@atlaskit/theme` that `@compiled/react` does not understand',
126
- recommended: true,
127
- severity: 'error'
126
+ removeFromPresets: true
128
127
  },
129
128
  messages: {
130
129
  usingTypography: 'Typography does not work with Compiled. Please utilise alternatives like Heading or tokens instead and see https://atlassian.design/components/eslint-plugin-ui-styling-standard/atlaskit-theme/usage',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import type { Linter } from 'eslint';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import type { ESLint } from 'eslint';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::4d0de15d2213df65666693ea490b4cce>>
3
+ * @codegen <<SignedSource::856ecaae15d6d75373055852fa8db5f0>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import type { Linter } from 'eslint';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::56ecb290562bdf88a8a5b5388a39e5f9>>
3
+ * @codegen <<SignedSource::a0cc99967725d4babf6875fef77b6f62>>
4
4
  * @codegenCommand afm workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  import type { ESLint } from 'eslint';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-ui-styling-standard",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
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",