@atlaskit/eslint-plugin-design-system 10.4.2 → 10.4.3

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,14 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 10.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103109)
8
+ [`387067d94233`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/387067d94233) -
9
+ `use-latest-xcss-syntax` - Update to `error` in `recommended` and `all`.
10
+ - Updated dependencies
11
+
3
12
  ## 10.4.2
4
13
 
5
14
  ### Patch Changes
@@ -6,7 +6,7 @@ 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::8453f9be2d12c65323a70743b71f7474>>
9
+ * @codegen <<SignedSource::9547e0088a838147f4c53a0d8d021909>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
11
11
  */
12
12
  var _default = exports.default = {
@@ -42,7 +42,7 @@ var _default = exports.default = {
42
42
  '@atlaskit/design-system/use-heading': 'warn',
43
43
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
44
44
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
45
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
45
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
46
46
  '@atlaskit/design-system/use-popup-label': 'warn',
47
47
  '@atlaskit/design-system/use-primitives': 'warn',
48
48
  '@atlaskit/design-system/use-primitives-text': 'warn',
@@ -6,7 +6,7 @@ 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::c67c53656bcdaedb72953c8026a01c24>>
9
+ * @codegen <<SignedSource::aeb378113df7f1734ff3940f2d1ed3bb>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
11
11
  */
12
12
  var _default = exports.default = {
@@ -32,7 +32,7 @@ var _default = exports.default = {
32
32
  '@atlaskit/design-system/use-drawer-label': 'warn',
33
33
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
34
34
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
35
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
35
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
36
36
  '@atlaskit/design-system/use-popup-label': 'warn',
37
37
  '@atlaskit/design-system/use-visually-hidden': 'error'
38
38
  }
@@ -16,7 +16,7 @@ var rule = (0, _createRule.createLintRule)({
16
16
  docs: {
17
17
  description: 'Enforces usage of space design tokens rather than hard-coded values in xcss.',
18
18
  recommended: true,
19
- severity: 'warn'
19
+ severity: 'error'
20
20
  },
21
21
  messages: {
22
22
  noRawSpacingValues: noRawSpacingValues
@@ -8,6 +8,6 @@ var _default = exports.default = {
8
8
  values: {
9
9
  ignore: ['auto', 'initial', 'inherit', 'unset', 'revert', 'revert-layer',
10
10
  // Currently the DST opinion is that 0 is valid. It doesn't need to be converted to `space.0`
11
- '0', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
11
+ '0', '0 auto', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.0', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
12
12
  }
13
13
  };
@@ -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::8453f9be2d12c65323a70743b71f7474>>
3
+ * @codegen <<SignedSource::9547e0088a838147f4c53a0d8d021909>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  export default {
@@ -36,7 +36,7 @@ export default {
36
36
  '@atlaskit/design-system/use-heading': 'warn',
37
37
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
38
38
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
39
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
39
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
40
40
  '@atlaskit/design-system/use-popup-label': 'warn',
41
41
  '@atlaskit/design-system/use-primitives': 'warn',
42
42
  '@atlaskit/design-system/use-primitives-text': 'warn',
@@ -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::c67c53656bcdaedb72953c8026a01c24>>
3
+ * @codegen <<SignedSource::aeb378113df7f1734ff3940f2d1ed3bb>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  export default {
@@ -26,7 +26,7 @@ export default {
26
26
  '@atlaskit/design-system/use-drawer-label': 'warn',
27
27
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
28
28
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
29
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
29
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
30
30
  '@atlaskit/design-system/use-popup-label': 'warn',
31
31
  '@atlaskit/design-system/use-visually-hidden': 'error'
32
32
  }
@@ -10,7 +10,7 @@ const rule = createLintRule({
10
10
  docs: {
11
11
  description: 'Enforces usage of space design tokens rather than hard-coded values in xcss.',
12
12
  recommended: true,
13
- severity: 'warn'
13
+ severity: 'error'
14
14
  },
15
15
  messages: {
16
16
  noRawSpacingValues
@@ -2,6 +2,6 @@ export default {
2
2
  values: {
3
3
  ignore: ['auto', 'initial', 'inherit', 'unset', 'revert', 'revert-layer',
4
4
  // Currently the DST opinion is that 0 is valid. It doesn't need to be converted to `space.0`
5
- '0', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
5
+ '0', '0 auto', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.0', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
6
6
  }
7
7
  };
@@ -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::8453f9be2d12c65323a70743b71f7474>>
3
+ * @codegen <<SignedSource::9547e0088a838147f4c53a0d8d021909>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  export default {
@@ -36,7 +36,7 @@ export default {
36
36
  '@atlaskit/design-system/use-heading': 'warn',
37
37
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
38
38
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
39
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
39
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
40
40
  '@atlaskit/design-system/use-popup-label': 'warn',
41
41
  '@atlaskit/design-system/use-primitives': 'warn',
42
42
  '@atlaskit/design-system/use-primitives-text': 'warn',
@@ -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::c67c53656bcdaedb72953c8026a01c24>>
3
+ * @codegen <<SignedSource::aeb378113df7f1734ff3940f2d1ed3bb>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  export default {
@@ -26,7 +26,7 @@ export default {
26
26
  '@atlaskit/design-system/use-drawer-label': 'warn',
27
27
  '@atlaskit/design-system/use-heading-level-in-spotlight-card': 'warn',
28
28
  '@atlaskit/design-system/use-href-in-link-item': 'warn',
29
- '@atlaskit/design-system/use-latest-xcss-syntax': 'warn',
29
+ '@atlaskit/design-system/use-latest-xcss-syntax': 'error',
30
30
  '@atlaskit/design-system/use-popup-label': 'warn',
31
31
  '@atlaskit/design-system/use-visually-hidden': 'error'
32
32
  }
@@ -10,7 +10,7 @@ var rule = createLintRule({
10
10
  docs: {
11
11
  description: 'Enforces usage of space design tokens rather than hard-coded values in xcss.',
12
12
  recommended: true,
13
- severity: 'warn'
13
+ severity: 'error'
14
14
  },
15
15
  messages: {
16
16
  noRawSpacingValues: noRawSpacingValues
@@ -2,6 +2,6 @@ export default {
2
2
  values: {
3
3
  ignore: ['auto', 'initial', 'inherit', 'unset', 'revert', 'revert-layer',
4
4
  // Currently the DST opinion is that 0 is valid. It doesn't need to be converted to `space.0`
5
- '0', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
5
+ '0', '0 auto', 'space.negative.025', 'space.negative.050', 'space.negative.075', 'space.negative.100', 'space.negative.150', 'space.negative.200', 'space.negative.250', 'space.negative.300', 'space.negative.400', 'space.0', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000']
6
6
  }
7
7
  };
@@ -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::8453f9be2d12c65323a70743b71f7474>>
3
+ * @codegen <<SignedSource::9547e0088a838147f4c53a0d8d021909>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  declare const _default: {
@@ -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::c67c53656bcdaedb72953c8026a01c24>>
3
+ * @codegen <<SignedSource::aeb378113df7f1734ff3940f2d1ed3bb>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  declare const _default: {
@@ -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::8453f9be2d12c65323a70743b71f7474>>
3
+ * @codegen <<SignedSource::9547e0088a838147f4c53a0d8d021909>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  declare const _default: {
@@ -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::c67c53656bcdaedb72953c8026a01c24>>
3
+ * @codegen <<SignedSource::aeb378113df7f1734ff3940f2d1ed3bb>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
5
5
  */
6
6
  declare const _default: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-design-system",
3
3
  "description": "The essential plugin for use with the Atlassian Design System.",
4
- "version": "10.4.2",
4
+ "version": "10.4.3",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
@@ -41,7 +41,7 @@
41
41
  "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/eslint-utils": "^1.4.0",
44
+ "@atlaskit/eslint-utils": "^1.5.0",
45
45
  "@atlaskit/tokens": "*",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@typescript-eslint/utils": "^5.48.1",