@atlaskit/eslint-plugin-ui-styling-standard 0.18.3 → 0.19.0

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,23 @@
1
1
  # @atlaskit/eslint-plugin-ui-styling-standard
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#128926](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128926)
8
+ [`5df26d24db3c7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5df26d24db3c7) -
9
+ Remove configuration for '@atlaskit/design-system/no-exported-css' and
10
+ '@atlaskit/design-system/no-exported-keyframes' as we expect
11
+ '@atlaskit/ui-styling-standard/no-exported-styles' to cover these cases now.
12
+
13
+ ## 0.18.4
14
+
15
+ ### Patch Changes
16
+
17
+ - [#122050](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122050)
18
+ [`db22dc84c34c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db22dc84c34c3) -
19
+ Moves away from the use of ts-node to esbuild-register for local consumption
20
+
3
21
  ## 0.18.3
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -66,8 +66,6 @@ module.exports = {
66
66
  | <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 | | |
67
67
  | <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 | | |
68
68
  | <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 | | |
69
- | <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 | | |
70
- | <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 | | |
71
69
  | <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 | | |
72
70
 
73
71
  <!-- END_RULE_TABLE_CODEGEN -->
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
9
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
  var _default = exports.default = {
@@ -41,12 +41,6 @@ var _default = exports.default = {
41
41
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
42
42
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
43
  }],
44
- '@atlaskit/design-system/no-exported-css': ['error', {
45
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
46
- }],
47
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
48
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
49
- }],
50
44
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
51
45
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
52
46
  }]
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
9
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
10
10
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
11
11
  */
12
12
  var _default = exports.default = {
@@ -41,12 +41,6 @@ var _default = exports.default = {
41
41
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
42
42
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
43
  }],
44
- '@atlaskit/design-system/no-exported-css': ['error', {
45
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
46
- }],
47
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
48
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
49
- }],
50
44
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
51
45
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
52
46
  }]
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.externalRules = void 0;
7
7
  var _createRule = require("./utils/create-rule");
8
- /** External rules must be scoped, have a display name, and external urls. */
8
+ /**
9
+ * External rules must be scoped, have a display name, and external urls.
10
+ */
9
11
 
10
12
  var importSources = ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components'];
11
13
  var externalRules = exports.externalRules = [{
@@ -100,34 +102,6 @@ var externalRules = exports.externalRules = [{
100
102
  importSources: importSources
101
103
  }
102
104
  }
103
- }, {
104
- name: '@atlaskit/design-system/no-exported-css',
105
- displayName: 'no-exported-css',
106
- isExternal: true,
107
- docs: {
108
- description: 'Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
109
- url: (0, _createRule.getRuleUrl)('no-exported-css'),
110
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-css/usage',
111
- recommended: true,
112
- severity: 'error',
113
- pluginConfig: {
114
- importSources: importSources
115
- }
116
- }
117
- }, {
118
- name: '@atlaskit/design-system/no-exported-keyframes',
119
- displayName: 'no-exported-keyframes',
120
- isExternal: true,
121
- docs: {
122
- description: 'Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
123
- url: (0, _createRule.getRuleUrl)('no-exported-keyframes'),
124
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-keyframes/usage',
125
- recommended: true,
126
- severity: 'error',
127
- pluginConfig: {
128
- importSources: importSources
129
- }
130
- }
131
105
  }, {
132
106
  name: '@atlaskit/design-system/no-invalid-css-map',
133
107
  displayName: 'no-invalid-css-map',
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  export default {
@@ -35,12 +35,6 @@ export default {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
36
36
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
37
37
  }],
38
- '@atlaskit/design-system/no-exported-css': ['error', {
39
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
40
- }],
41
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
42
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
- }],
44
38
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
45
39
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
46
40
  }]
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  export default {
@@ -35,12 +35,6 @@ export default {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
36
36
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
37
37
  }],
38
- '@atlaskit/design-system/no-exported-css': ['error', {
39
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
40
- }],
41
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
42
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
- }],
44
38
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
45
39
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
46
40
  }]
@@ -1,6 +1,8 @@
1
1
  import { getRuleUrl } from './utils/create-rule';
2
2
 
3
- /** External rules must be scoped, have a display name, and external urls. */
3
+ /**
4
+ * External rules must be scoped, have a display name, and external urls.
5
+ */
4
6
 
5
7
  const importSources = ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components'];
6
8
  export const externalRules = [{
@@ -95,34 +97,6 @@ export const externalRules = [{
95
97
  importSources
96
98
  }
97
99
  }
98
- }, {
99
- name: '@atlaskit/design-system/no-exported-css',
100
- displayName: 'no-exported-css',
101
- isExternal: true,
102
- docs: {
103
- description: 'Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
104
- url: getRuleUrl('no-exported-css'),
105
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-css/usage',
106
- recommended: true,
107
- severity: 'error',
108
- pluginConfig: {
109
- importSources
110
- }
111
- }
112
- }, {
113
- name: '@atlaskit/design-system/no-exported-keyframes',
114
- displayName: 'no-exported-keyframes',
115
- isExternal: true,
116
- docs: {
117
- description: 'Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
118
- url: getRuleUrl('no-exported-keyframes'),
119
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-keyframes/usage',
120
- recommended: true,
121
- severity: 'error',
122
- pluginConfig: {
123
- importSources
124
- }
125
- }
126
100
  }, {
127
101
  name: '@atlaskit/design-system/no-invalid-css-map',
128
102
  displayName: 'no-invalid-css-map',
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  export default {
@@ -35,12 +35,6 @@ export default {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
36
36
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
37
37
  }],
38
- '@atlaskit/design-system/no-exported-css': ['error', {
39
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
40
- }],
41
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
42
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
- }],
44
38
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
45
39
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
46
40
  }]
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  export default {
@@ -35,12 +35,6 @@ export default {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': ['error', {
36
36
  importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
37
37
  }],
38
- '@atlaskit/design-system/no-exported-css': ['error', {
39
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
40
- }],
41
- '@atlaskit/design-system/no-exported-keyframes': ['error', {
42
- importSources: ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components']
43
- }],
44
38
  '@atlaskit/design-system/no-invalid-css-map': ['error', {
45
39
  allowedFunctionCalls: [['@atlaskit/tokens', 'token']]
46
40
  }]
@@ -1,6 +1,8 @@
1
1
  import { getRuleUrl } from './utils/create-rule';
2
2
 
3
- /** External rules must be scoped, have a display name, and external urls. */
3
+ /**
4
+ * External rules must be scoped, have a display name, and external urls.
5
+ */
4
6
 
5
7
  var importSources = ['@compiled/react', '@atlaskit/css', '@emotion/core', '@emotion/react', '@emotion/styled', 'styled-components'];
6
8
  export var externalRules = [{
@@ -95,34 +97,6 @@ export var externalRules = [{
95
97
  importSources: importSources
96
98
  }
97
99
  }
98
- }, {
99
- name: '@atlaskit/design-system/no-exported-css',
100
- displayName: 'no-exported-css',
101
- isExternal: true,
102
- docs: {
103
- description: 'Forbid exporting `css` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
104
- url: getRuleUrl('no-exported-css'),
105
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-css/usage',
106
- recommended: true,
107
- severity: 'error',
108
- pluginConfig: {
109
- importSources: importSources
110
- }
111
- }
112
- }, {
113
- name: '@atlaskit/design-system/no-exported-keyframes',
114
- displayName: 'no-exported-keyframes',
115
- isExternal: true,
116
- docs: {
117
- description: 'Forbid exporting `keyframes` function calls. Exporting `css` function calls can result in unexpected behaviour at runtime, and is not statically analysable.',
118
- url: getRuleUrl('no-exported-keyframes'),
119
- externalUrl: 'https://atlassian.design/components/eslint-plugin-design-system/no-exported-keyframes/usage',
120
- recommended: true,
121
- severity: 'error',
122
- pluginConfig: {
123
- importSources: importSources
124
- }
125
- }
126
100
  }, {
127
101
  name: '@atlaskit/design-system/no-invalid-css-map',
128
102
  displayName: 'no-invalid-css-map',
@@ -32,12 +32,6 @@ export declare const configs: {
32
32
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
33
33
  importSources: string[];
34
34
  })[];
35
- '@atlaskit/design-system/no-exported-css': (string | {
36
- importSources: string[];
37
- })[];
38
- '@atlaskit/design-system/no-exported-keyframes': (string | {
39
- importSources: string[];
40
- })[];
41
35
  '@atlaskit/design-system/no-invalid-css-map': (string | {
42
36
  allowedFunctionCalls: string[][];
43
37
  })[];
@@ -75,12 +69,6 @@ export declare const configs: {
75
69
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
76
70
  importSources: string[];
77
71
  })[];
78
- '@atlaskit/design-system/no-exported-css': (string | {
79
- importSources: string[];
80
- })[];
81
- '@atlaskit/design-system/no-exported-keyframes': (string | {
82
- importSources: string[];
83
- })[];
84
72
  '@atlaskit/design-system/no-invalid-css-map': (string | {
85
73
  allowedFunctionCalls: string[][];
86
74
  })[];
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
@@ -35,12 +35,6 @@ declare const _default: {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
36
36
  importSources: string[];
37
37
  })[];
38
- '@atlaskit/design-system/no-exported-css': (string | {
39
- importSources: string[];
40
- })[];
41
- '@atlaskit/design-system/no-exported-keyframes': (string | {
42
- importSources: string[];
43
- })[];
44
38
  '@atlaskit/design-system/no-invalid-css-map': (string | {
45
39
  allowedFunctionCalls: string[][];
46
40
  })[];
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
@@ -35,12 +35,6 @@ declare const _default: {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
36
36
  importSources: string[];
37
37
  })[];
38
- '@atlaskit/design-system/no-exported-css': (string | {
39
- importSources: string[];
40
- })[];
41
- '@atlaskit/design-system/no-exported-keyframes': (string | {
42
- importSources: string[];
43
- })[];
44
38
  '@atlaskit/design-system/no-invalid-css-map': (string | {
45
39
  allowedFunctionCalls: string[][];
46
40
  })[];
@@ -1,5 +1,7 @@
1
1
  import type { LintRuleMeta } from '@atlaskit/eslint-utils/create-rule';
2
- /** External rules must be scoped, have a display name, and external urls. */
2
+ /**
3
+ * External rules must be scoped, have a display name, and external urls.
4
+ */
3
5
  export type ExternalRuleMeta = LintRuleMeta & {
4
6
  isExternal: true;
5
7
  name: `@${string}/${string}`;
@@ -32,12 +32,6 @@ export declare const configs: {
32
32
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
33
33
  importSources: string[];
34
34
  })[];
35
- '@atlaskit/design-system/no-exported-css': (string | {
36
- importSources: string[];
37
- })[];
38
- '@atlaskit/design-system/no-exported-keyframes': (string | {
39
- importSources: string[];
40
- })[];
41
35
  '@atlaskit/design-system/no-invalid-css-map': (string | {
42
36
  allowedFunctionCalls: string[][];
43
37
  })[];
@@ -75,12 +69,6 @@ export declare const configs: {
75
69
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
76
70
  importSources: string[];
77
71
  })[];
78
- '@atlaskit/design-system/no-exported-css': (string | {
79
- importSources: string[];
80
- })[];
81
- '@atlaskit/design-system/no-exported-keyframes': (string | {
82
- importSources: string[];
83
- })[];
84
72
  '@atlaskit/design-system/no-invalid-css-map': (string | {
85
73
  allowedFunctionCalls: string[][];
86
74
  })[];
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
@@ -35,12 +35,6 @@ declare const _default: {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
36
36
  importSources: string[];
37
37
  })[];
38
- '@atlaskit/design-system/no-exported-css': (string | {
39
- importSources: string[];
40
- })[];
41
- '@atlaskit/design-system/no-exported-keyframes': (string | {
42
- importSources: string[];
43
- })[];
44
38
  '@atlaskit/design-system/no-invalid-css-map': (string | {
45
39
  allowedFunctionCalls: string[][];
46
40
  })[];
@@ -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::d6fe3ee209ccee89003da5d8fffba51e>>
3
+ * @codegen <<SignedSource::330ecd53e03bf78708580ddcfb206876>>
4
4
  * @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
5
5
  */
6
6
  declare const _default: {
@@ -35,12 +35,6 @@ declare const _default: {
35
35
  '@atlaskit/design-system/no-empty-styled-expression': (string | {
36
36
  importSources: string[];
37
37
  })[];
38
- '@atlaskit/design-system/no-exported-css': (string | {
39
- importSources: string[];
40
- })[];
41
- '@atlaskit/design-system/no-exported-keyframes': (string | {
42
- importSources: string[];
43
- })[];
44
38
  '@atlaskit/design-system/no-invalid-css-map': (string | {
45
39
  allowedFunctionCalls: string[][];
46
40
  })[];
@@ -1,5 +1,7 @@
1
1
  import type { LintRuleMeta } from '@atlaskit/eslint-utils/create-rule';
2
- /** External rules must be scoped, have a display name, and external urls. */
2
+ /**
3
+ * External rules must be scoped, have a display name, and external urls.
4
+ */
3
5
  export type ExternalRuleMeta = LintRuleMeta & {
4
6
  isExternal: true;
5
7
  name: `@${string}/${string}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-ui-styling-standard",
3
- "version": "0.18.3",
3
+ "version": "0.19.0",
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",
@@ -54,18 +54,17 @@
54
54
  "devDependencies": {
55
55
  "@af/formatting": "*",
56
56
  "@atlaskit/ds-lib": "^2.3.0",
57
- "@atlaskit/eslint-plugin-design-system": "^10.11.0",
57
+ "@atlaskit/eslint-plugin-design-system": "^10.14.0",
58
58
  "@atlassian/codegen": "*",
59
+ "@atlassian/ts-loader": "*",
59
60
  "@compiled/eslint-plugin": "^0.13.6",
60
61
  "@types/eslint": "^8.56.6",
61
62
  "@types/estraverse": "^5.1.7",
62
63
  "eslint": "^8.49.0",
63
64
  "lodash": "^4.17.21",
64
- "ts-node": "^10.9.1",
65
- "tsconfig-paths": "^4.2.0",
66
65
  "typescript": "~5.4.2"
67
66
  },
68
67
  "scripts": {
69
- "codegen": "ts-node -r tsconfig-paths/register ./scripts/codegen.tsx"
68
+ "codegen": "run-ts ./scripts/codegen.tsx"
70
69
  }
71
70
  }