@atlaskit/eslint-plugin-ui-styling-standard 0.14.2 → 0.15.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 (91) hide show
  1. package/CHANGELOG.md +188 -167
  2. package/README.md +1 -0
  3. package/afm-cc/tsconfig.json +10 -3
  4. package/afm-jira/tsconfig.json +28 -0
  5. package/constellation/atlaskit-theme/usage.mdx +17 -17
  6. package/constellation/convert-props-syntax/usage.mdx +14 -14
  7. package/constellation/enforce-style-prop/usage.mdx +17 -17
  8. package/constellation/index/overview.mdx +99 -98
  9. package/constellation/local-cx-xcss/usage.mdx +4 -4
  10. package/constellation/no-array-arguments/usage.mdx +7 -7
  11. package/constellation/no-container-queries/usage.mdx +14 -14
  12. package/constellation/no-dynamic-styles/usage.mdx +19 -19
  13. package/constellation/no-exported-styles/usage.mdx +15 -15
  14. package/constellation/no-global-styles/usage.mdx +13 -13
  15. package/constellation/no-important-styles/usage.mdx +2 -2
  16. package/constellation/no-imported-style-values/usage.mdx +16 -16
  17. package/constellation/no-nested-selectors/usage.mdx +18 -18
  18. package/constellation/no-styled/usage.mdx +6 -6
  19. package/constellation/no-unsafe-selectors/usage.mdx +244 -0
  20. package/constellation/no-unsafe-values/usage.mdx +33 -33
  21. package/dist/cjs/index.codegen.js +1 -1
  22. package/dist/cjs/presets/all.codegen.js +2 -1
  23. package/dist/cjs/presets/recommended.codegen.js +2 -1
  24. package/dist/cjs/rules/index.codegen.js +3 -1
  25. package/dist/cjs/rules/no-unsafe-selectors/constants.js +30 -0
  26. package/dist/cjs/rules/no-unsafe-selectors/index.js +188 -0
  27. package/dist/cjs/rules/no-unsafe-selectors/lint-selector.js +198 -0
  28. package/dist/cjs/rules/no-unsafe-selectors/source-position-utils.js +42 -0
  29. package/dist/cjs/rules/no-unsafe-selectors/walk-css-map.js +186 -0
  30. package/dist/es2019/index.codegen.js +1 -1
  31. package/dist/es2019/presets/all.codegen.js +2 -1
  32. package/dist/es2019/presets/recommended.codegen.js +2 -1
  33. package/dist/es2019/rules/index.codegen.js +3 -1
  34. package/dist/es2019/rules/no-unsafe-selectors/constants.js +22 -0
  35. package/dist/es2019/rules/no-unsafe-selectors/index.js +176 -0
  36. package/dist/es2019/rules/no-unsafe-selectors/lint-selector.js +161 -0
  37. package/dist/es2019/rules/no-unsafe-selectors/source-position-utils.js +31 -0
  38. package/dist/es2019/rules/no-unsafe-selectors/walk-css-map.js +180 -0
  39. package/dist/esm/index.codegen.js +1 -1
  40. package/dist/esm/presets/all.codegen.js +2 -1
  41. package/dist/esm/presets/recommended.codegen.js +2 -1
  42. package/dist/esm/rules/index.codegen.js +3 -1
  43. package/dist/esm/rules/no-unsafe-selectors/constants.js +24 -0
  44. package/dist/esm/rules/no-unsafe-selectors/index.js +181 -0
  45. package/dist/esm/rules/no-unsafe-selectors/lint-selector.js +191 -0
  46. package/dist/esm/rules/no-unsafe-selectors/source-position-utils.js +34 -0
  47. package/dist/esm/rules/no-unsafe-selectors/walk-css-map.js +179 -0
  48. package/dist/types/index.codegen.d.ts +2 -0
  49. package/dist/types/presets/all.codegen.d.ts +2 -1
  50. package/dist/types/presets/recommended.codegen.d.ts +2 -1
  51. package/dist/types/rules/index.codegen.d.ts +1 -0
  52. package/dist/types/rules/no-unsafe-selectors/constants.d.ts +23 -0
  53. package/dist/types/rules/no-unsafe-selectors/index.d.ts +3 -0
  54. package/dist/types/rules/no-unsafe-selectors/lint-selector.d.ts +14 -0
  55. package/dist/types/rules/no-unsafe-selectors/source-position-utils.d.ts +20 -0
  56. package/dist/types/rules/no-unsafe-selectors/walk-css-map.d.ts +23 -0
  57. package/dist/types-ts4.5/index.codegen.d.ts +2 -0
  58. package/dist/types-ts4.5/presets/all.codegen.d.ts +2 -1
  59. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -1
  60. package/dist/types-ts4.5/rules/index.codegen.d.ts +1 -0
  61. package/dist/types-ts4.5/rules/no-unsafe-selectors/constants.d.ts +84 -0
  62. package/dist/types-ts4.5/rules/no-unsafe-selectors/index.d.ts +3 -0
  63. package/dist/types-ts4.5/rules/no-unsafe-selectors/lint-selector.d.ts +14 -0
  64. package/dist/types-ts4.5/rules/no-unsafe-selectors/source-position-utils.d.ts +23 -0
  65. package/dist/types-ts4.5/rules/no-unsafe-selectors/walk-css-map.d.ts +23 -0
  66. package/package.json +7 -8
  67. package/scripts/codegen.tsx +3 -4
  68. package/src/index.codegen.tsx +3 -3
  69. package/src/presets/all.codegen.tsx +70 -72
  70. package/src/presets/recommended.codegen.tsx +70 -72
  71. package/src/rules/index.codegen.tsx +19 -17
  72. package/src/rules/no-classname-prop/index.tsx +1 -1
  73. package/src/rules/no-nested-selectors/index.tsx +1 -1
  74. package/src/rules/no-unsafe-selectors/README.md +232 -0
  75. package/src/rules/no-unsafe-selectors/__tests__/no-ambiguous-pseudos.test.tsx +368 -0
  76. package/src/rules/no-unsafe-selectors/__tests__/no-grouped-at-rules.test.tsx +60 -0
  77. package/src/rules/no-unsafe-selectors/__tests__/no-increased-specificity.test.tsx +73 -0
  78. package/src/rules/no-unsafe-selectors/__tests__/no-keyframes-at-rules.test.tsx +40 -0
  79. package/src/rules/no-unsafe-selectors/__tests__/no-legacy-pseudo-element-syntax.test.tsx +101 -0
  80. package/src/rules/no-unsafe-selectors/__tests__/no-restricted-at-rules.test.tsx +131 -0
  81. package/src/rules/no-unsafe-selectors/__tests__/no-restricted-pseudos.test.tsx +132 -0
  82. package/src/rules/no-unsafe-selectors/__tests__/no-selectors-object.test.tsx +25 -0
  83. package/src/rules/no-unsafe-selectors/__tests__/no-unparsable-selectors.test.tsx +35 -0
  84. package/src/rules/no-unsafe-selectors/__tests__/rule.test.tsx +238 -0
  85. package/src/rules/no-unsafe-selectors/constants.tsx +99 -0
  86. package/src/rules/no-unsafe-selectors/index.tsx +198 -0
  87. package/src/rules/no-unsafe-selectors/lint-selector.tsx +155 -0
  88. package/src/rules/no-unsafe-selectors/source-position-utils.tsx +55 -0
  89. package/src/rules/no-unsafe-selectors/walk-css-map.tsx +232 -0
  90. package/tsconfig.app.json +45 -45
  91. package/tsconfig.dev.json +43 -43
package/CHANGELOG.md CHANGED
@@ -1,367 +1,388 @@
1
1
  # @atlaskit/eslint-plugin-ui-styling-standard
2
2
 
3
+ ## 0.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105631](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105631)
8
+ [`68f222356b10`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/68f222356b10) -
9
+ Fixes `no-unsafe-selector` to ignore `xcss` when checking for ambiguous pseudo-selectors. This is
10
+ because `xcss` does not support a leading `&` for properties.
11
+
12
+ ## 0.15.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#100969](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100969)
17
+ [`0bdf8e822b2f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0bdf8e822b2f) -
18
+ Added `no-unsafe-selectors` rule to enable static analysis and prevent regressions when migrating
19
+ between styling APIs.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 0.14.2
4
26
 
5
27
  ### Patch Changes
6
28
 
7
- - [#101063](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101063)
8
- [`d135d014f1ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d135d014f1ae) -
9
- The `atlaskit-theme` rule no longer reports on the `fontFallback` import from
10
- `@atlaskit/theme/typography`
29
+ - [#101063](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101063)
30
+ [`d135d014f1ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d135d014f1ae) -
31
+ The `atlaskit-theme` rule no longer reports on the `fontFallback` import from
32
+ `@atlaskit/theme/typography`
11
33
 
12
34
  ## 0.14.1
13
35
 
14
36
  ### Patch Changes
15
37
 
16
- - [#99639](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99639)
17
- [`e9887b5c7698`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9887b5c7698) -
18
- Internal refactoring of `no-important-styles` rule
19
- - Updated dependencies
38
+ - [#99639](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99639)
39
+ [`e9887b5c7698`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9887b5c7698) -
40
+ Internal refactoring of `no-important-styles` rule
41
+ - Updated dependencies
20
42
 
21
43
  ## 0.14.0
22
44
 
23
45
  ### Minor Changes
24
46
 
25
- - [#99733](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99733)
26
- [`7051e483ab6d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7051e483ab6d) -
27
- Added no-styled eslint rule to prevent usage of styled imports
47
+ - [#99733](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99733)
48
+ [`7051e483ab6d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7051e483ab6d) -
49
+ Added no-styled eslint rule to prevent usage of styled imports
28
50
 
29
51
  ## 0.13.0
30
52
 
31
53
  ### Minor Changes
32
54
 
33
- - [#99544](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99544)
34
- [`391edf6de450`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391edf6de450) -
35
- Added `no-global-styles` rule which prevents:
55
+ - [#99544](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99544)
56
+ [`391edf6de450`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391edf6de450) -
57
+ Added `no-global-styles` rule which prevents:
36
58
 
37
- - The `Global` API from `@emotion`
38
- - The `createGlobalStyle` and `injectGlobal` APIs from `styled-components`
39
- - `<style>` elements in JSX
40
- - CSS imports (including SASS and LESS)
59
+ - The `Global` API from `@emotion`
60
+ - The `createGlobalStyle` and `injectGlobal` APIs from `styled-components`
61
+ - `<style>` elements in JSX
62
+ - CSS imports (including SASS and LESS)
41
63
 
42
64
  ## 0.12.0
43
65
 
44
66
  ### Minor Changes
45
67
 
46
- - [#96162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96162)
47
- [`d68864c620d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d68864c620d0) -
48
- Add `use-compiled` rule to enforce usage of `@compiled/react` instead of other CSS-in-JS
49
- libraries
68
+ - [#96162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96162)
69
+ [`d68864c620d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d68864c620d0) -
70
+ Add `use-compiled` rule to enforce usage of `@compiled/react` instead of other CSS-in-JS libraries
50
71
 
51
72
  ## 0.11.6
52
73
 
53
74
  ### Patch Changes
54
75
 
55
- - [#97707](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97707)
56
- [`764c0805b3c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/764c0805b3c1) -
57
- Moved compiled/atlaskit-theme eslint rule to UI styling standard
76
+ - [#97707](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97707)
77
+ [`764c0805b3c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/764c0805b3c1) -
78
+ Moved compiled/atlaskit-theme eslint rule to UI styling standard
58
79
 
59
80
  ## 0.11.5
60
81
 
61
82
  ### Patch Changes
62
83
 
63
- - [#96532](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96532)
64
- [`d54c7df2e836`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d54c7df2e836) -
65
- Editing enforce-style-prop rule to use eslint utils functions
84
+ - [#96532](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96532)
85
+ [`d54c7df2e836`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d54c7df2e836) -
86
+ Editing enforce-style-prop rule to use eslint utils functions
66
87
 
67
88
  ## 0.11.4
68
89
 
69
90
  ### Patch Changes
70
91
 
71
- - [#93427](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93427)
72
- [`d6d428f334b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d6d428f334b0) -
73
- The `no-important-styles` rule now checks template literal values in style objects
92
+ - [#93427](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93427)
93
+ [`d6d428f334b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d6d428f334b0) -
94
+ The `no-important-styles` rule now checks template literal values in style objects
74
95
 
75
96
  ## 0.11.3
76
97
 
77
98
  ### Patch Changes
78
99
 
79
- - [#95279](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95279)
80
- [`813a0e8d6227`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/813a0e8d6227) -
81
- Deprecating @repo/internal/compiled/selectors ESlint rule
100
+ - [#95279](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95279)
101
+ [`813a0e8d6227`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/813a0e8d6227) -
102
+ Deprecating @repo/internal/compiled/selectors ESlint rule
82
103
 
83
104
  ## 0.11.2
84
105
 
85
106
  ### Patch Changes
86
107
 
87
- - [#94765](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94765)
88
- [`8e5a3bddb686`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e5a3bddb686) -
89
- Adding no imported style values ESlint rule
108
+ - [#94765](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94765)
109
+ [`8e5a3bddb686`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e5a3bddb686) -
110
+ Adding no imported style values ESlint rule
90
111
 
91
112
  ## 0.11.1
92
113
 
93
114
  ### Patch Changes
94
115
 
95
- - [#92963](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92963)
96
- [`1bb8557fb0b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1bb8557fb0b6) -
97
- Added no-exported-styles eslint rule to disallow exports of css, cssMap, keyframes, styled and
98
- xcss styling
116
+ - [#92963](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92963)
117
+ [`1bb8557fb0b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1bb8557fb0b6) -
118
+ Added no-exported-styles eslint rule to disallow exports of css, cssMap, keyframes, styled and
119
+ xcss styling
99
120
 
100
121
  ## 0.11.0
101
122
 
102
123
  ### Minor Changes
103
124
 
104
- - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213)
105
- [`fbfa5a58cf39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fbfa5a58cf39) -
106
- Adds `no-unsafe-values` rule, which forbids most dynamic styling in
107
- `css`/`styled`/`keyframes`/`cssMap`/`xcss` function calls. This includes object spreading,
108
- function calls, and so on.
125
+ - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213)
126
+ [`fbfa5a58cf39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fbfa5a58cf39) -
127
+ Adds `no-unsafe-values` rule, which forbids most dynamic styling in
128
+ `css`/`styled`/`keyframes`/`cssMap`/`xcss` function calls. This includes object spreading,
129
+ function calls, and so on.
109
130
 
110
131
  ### Patch Changes
111
132
 
112
- - Updated dependencies
133
+ - Updated dependencies
113
134
 
114
135
  ## 0.10.0
115
136
 
116
137
  ### Minor Changes
117
138
 
118
- - [#91611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91611)
119
- [`943056d22c36`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/943056d22c36) -
120
- Add `no-dynamic-styles` rule which blocks function expressions as values in style declarations.
139
+ - [#91611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91611)
140
+ [`943056d22c36`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/943056d22c36) -
141
+ Add `no-dynamic-styles` rule which blocks function expressions as values in style declarations.
121
142
 
122
143
  ## 0.9.1
123
144
 
124
145
  ### Patch Changes
125
146
 
126
- - [#90977](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90977)
127
- [`becda03f375e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/becda03f375e) -
128
- Create eslint rule to enforce style prop usage by disallowing passing static css values
147
+ - [#90977](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90977)
148
+ [`becda03f375e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/becda03f375e) -
149
+ Create eslint rule to enforce style prop usage by disallowing passing static css values
129
150
 
130
151
  ## 0.9.0
131
152
 
132
153
  ### Minor Changes
133
154
 
134
- - [#91840](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91840)
135
- [`997a3d2d0ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997a3d2d0ca0) -
136
- Add `no-array-arguments` rule which prevents passing array arguments to style declaration
137
- functions.
155
+ - [#91840](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91840)
156
+ [`997a3d2d0ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997a3d2d0ca0) -
157
+ Add `no-array-arguments` rule which prevents passing array arguments to style declaration
158
+ functions.
138
159
 
139
160
  ### Patch Changes
140
161
 
141
- - Updated dependencies
162
+ - Updated dependencies
142
163
 
143
164
  ## 0.8.4
144
165
 
145
166
  ### Patch Changes
146
167
 
147
- - [#89936](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89936)
148
- [`eb8f66c5d0f3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb8f66c5d0f3) -
149
- Add @atlaskit/eslint-plugin-ui-styling-standard to the internal Atlassian push model.
168
+ - [#89936](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89936)
169
+ [`eb8f66c5d0f3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb8f66c5d0f3) -
170
+ Add @atlaskit/eslint-plugin-ui-styling-standard to the internal Atlassian push model.
150
171
 
151
172
  ## 0.8.3
152
173
 
153
174
  ### Patch Changes
154
175
 
155
- - [#87496](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87496)
156
- [`d5b439e94043`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d5b439e94043) -
157
- Improve coverage of `convert-props-syntax` rule. Previously cases such as `css()` and
158
- `styled(BaseComponent)()` were not covered by the rule.
176
+ - [#87496](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87496)
177
+ [`d5b439e94043`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d5b439e94043) -
178
+ Improve coverage of `convert-props-syntax` rule. Previously cases such as `css()` and
179
+ `styled(BaseComponent)()` were not covered by the rule.
159
180
 
160
181
  ## 0.8.2
161
182
 
162
183
  ### Patch Changes
163
184
 
164
- - [#88753](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88753)
165
- [`df5cbd4957ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/df5cbd4957ea) -
166
- Fixed no nested selectors rule to skip @ queries, cssMap and keyFrames calls
185
+ - [#88753](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88753)
186
+ [`df5cbd4957ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/df5cbd4957ea) -
187
+ Fixed no nested selectors rule to skip @ queries, cssMap and keyFrames calls
167
188
 
168
189
  ## 0.8.1
169
190
 
170
191
  ### Patch Changes
171
192
 
172
- - [#88029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88029)
173
- [`01d74d2899d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/01d74d2899d5) -
174
- Disabled ESlint rule convert-props-syntax on .attrs() calls
175
- - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476)
176
- [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) -
177
- Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
178
- - Updated dependencies
193
+ - [#88029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88029)
194
+ [`01d74d2899d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/01d74d2899d5) -
195
+ Disabled ESlint rule convert-props-syntax on .attrs() calls
196
+ - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476)
197
+ [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) -
198
+ Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
199
+ - Updated dependencies
179
200
 
180
201
  ## 0.8.0
181
202
 
182
203
  ### Minor Changes
183
204
 
184
- - [#87972](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87972)
185
- [`1f420b2c4a9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1f420b2c4a9f) -
186
- The `@atlaskit/design-system/no-styled-tagged-template-expression` rule will now lint against
187
- `styled-components` by default in the preset configurations.
205
+ - [#87972](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87972)
206
+ [`1f420b2c4a9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1f420b2c4a9f) -
207
+ The `@atlaskit/design-system/no-styled-tagged-template-expression` rule will now lint against
208
+ `styled-components` by default in the preset configurations.
188
209
 
189
210
  ### Patch Changes
190
211
 
191
- - [#86779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86779)
192
- [`4b4bbf195e39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4b4bbf195e39) -
193
- Created no nested selectors eslint rule to prevent setting styles for child elements
212
+ - [#86779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86779)
213
+ [`4b4bbf195e39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4b4bbf195e39) -
214
+ Created no nested selectors eslint rule to prevent setting styles for child elements
194
215
 
195
216
  ## 0.7.2
196
217
 
197
218
  ### Patch Changes
198
219
 
199
- - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638)
200
- [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) -
201
- Internal refactoring to use a shared `@atlaskit/eslint-utils` package
202
- - Updated dependencies
220
+ - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638)
221
+ [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) -
222
+ Internal refactoring to use a shared `@atlaskit/eslint-utils` package
223
+ - Updated dependencies
203
224
 
204
225
  ## 0.7.1
205
226
 
206
227
  ### Patch Changes
207
228
 
208
- - [#84413](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84413)
209
- [`2860b53c90d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2860b53c90d9) -
210
- Added eslint rule to block @container queries in css styling
229
+ - [#84413](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84413)
230
+ [`2860b53c90d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2860b53c90d9) -
231
+ Added eslint rule to block @container queries in css styling
211
232
 
212
233
  ## 0.7.0
213
234
 
214
235
  ### Minor Changes
215
236
 
216
- - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454)
217
- [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) -
218
- Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap
219
- functions will no longer be required to end with "Styles".
237
+ - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454)
238
+ [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) -
239
+ Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap
240
+ functions will no longer be required to end with "Styles".
220
241
 
221
- [BREAKING] Some rule options have been changed:
242
+ [BREAKING] Some rule options have been changed:
222
243
 
223
- - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that
224
- enforces variable names.
225
- - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
226
- - Users of the `autoFixNames` option should remove this from their configuration.
227
- - `autoFix` option has been added. This controls whether the remaining autofixers should run
228
- or not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and
229
- is `true` by default.
244
+ - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that
245
+ enforces variable names.
246
+ - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
247
+ - Users of the `autoFixNames` option should remove this from their configuration.
248
+ - `autoFix` option has been added. This controls whether the remaining autofixers should run or
249
+ not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and is
250
+ `true` by default.
230
251
 
231
252
  ## 0.6.3
232
253
 
233
254
  ### Patch Changes
234
255
 
235
- - [#83463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83463)
236
- [`fee29cf1335a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fee29cf1335a) -
237
- Extend convert-props-syntax to Emotion as well as it has a type issue.
256
+ - [#83463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83463)
257
+ [`fee29cf1335a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fee29cf1335a) -
258
+ Extend convert-props-syntax to Emotion as well as it has a type issue.
238
259
 
239
260
  ## 0.6.2
240
261
 
241
262
  ### Patch Changes
242
263
 
243
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
244
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
245
- Upgrade Typescript from `4.9.5` to `5.4.2`
264
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
265
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
266
+ Upgrade Typescript from `4.9.5` to `5.4.2`
246
267
 
247
268
  ## 0.6.1
248
269
 
249
270
  ### Patch Changes
250
271
 
251
- - [#80129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80129)
252
- [`dc0ce9161fc1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dc0ce9161fc1) -
253
- Add `convert-prop-syntax` to convert invalid `styled-components` props syntax to valid
254
- `styled-components` props syntax.
255
- - [#79686](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79686)
256
- [`7dc7cf06a8b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7dc7cf06a8b9) -
257
- Bump @compiled/react to v0.17.0
272
+ - [#80129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80129)
273
+ [`dc0ce9161fc1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dc0ce9161fc1) -
274
+ Add `convert-prop-syntax` to convert invalid `styled-components` props syntax to valid
275
+ `styled-components` props syntax.
276
+ - [#79686](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79686)
277
+ [`7dc7cf06a8b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7dc7cf06a8b9) -
278
+ Bump @compiled/react to v0.17.0
258
279
 
259
280
  ## 0.6.0
260
281
 
261
282
  ### Minor Changes
262
283
 
263
- - [#81459](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81459)
264
- [`08abd3b15614`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08abd3b15614) -
265
- Adds `no-classname-prop` rule which prevents the use of `className` in JSX.
284
+ - [#81459](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81459)
285
+ [`08abd3b15614`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08abd3b15614) -
286
+ Adds `no-classname-prop` rule which prevents the use of `className` in JSX.
266
287
 
267
288
  ## 0.5.2
268
289
 
269
290
  ### Patch Changes
270
291
 
271
- - [#81702](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81702)
272
- [`04e7850f449c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/04e7850f449c) -
273
- Adding a missing LICENSE for this package, updating from "UNLICENSED" to make it clear this is
274
- available for use.
292
+ - [#81702](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81702)
293
+ [`04e7850f449c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/04e7850f449c) -
294
+ Adding a missing LICENSE for this package, updating from "UNLICENSED" to make it clear this is
295
+ available for use.
275
296
 
276
297
  ## 0.5.1
277
298
 
278
299
  ### Patch Changes
279
300
 
280
- - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166)
281
- [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) -
282
- Upgrade ESLint to version 8
301
+ - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166)
302
+ [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) -
303
+ Upgrade ESLint to version 8
283
304
 
284
305
  ## 0.5.0
285
306
 
286
307
  ### Minor Changes
287
308
 
288
- - [#80523](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80523)
289
- [`1fbc903e5b7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1fbc903e5b7b) -
290
- Adds `no-important-styles` rule which prevents the use of `!important` flags in style
291
- declarations.
309
+ - [#80523](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80523)
310
+ [`1fbc903e5b7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1fbc903e5b7b) -
311
+ Adds `no-important-styles` rule which prevents the use of `!important` flags in style
312
+ declarations.
292
313
 
293
314
  ## 0.4.1
294
315
 
295
316
  ### Patch Changes
296
317
 
297
- - [#76885](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76885)
298
- [`06030bc18dd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06030bc18dd4) -
299
- Disable `styled-components` handling for `no-styled-tagged-template-expression` rule, due to
300
- edge case where props are converted to output that fails typechecking.
318
+ - [#76885](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76885)
319
+ [`06030bc18dd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06030bc18dd4) -
320
+ Disable `styled-components` handling for `no-styled-tagged-template-expression` rule, due to edge
321
+ case where props are converted to output that fails typechecking.
301
322
 
302
323
  ## 0.4.0
303
324
 
304
325
  ### Minor Changes
305
326
 
306
- - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600)
307
- [`8875d9de2e5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8875d9de2e5d) -
308
- Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to
309
- `@atlaskit/ui-styling-standard/local-cx-xcss` and overhauls the codegen to enable better
310
- documentation and rule distribution.
327
+ - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600)
328
+ [`8875d9de2e5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8875d9de2e5d) -
329
+ Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to
330
+ `@atlaskit/ui-styling-standard/local-cx-xcss` and overhauls the codegen to enable better
331
+ documentation and rule distribution.
311
332
 
312
333
  ## 0.3.0
313
334
 
314
335
  ### Minor Changes
315
336
 
316
- - [#74981](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74981)
317
- [`842300de03a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/842300de03a1) -
318
- Add the following rules:
337
+ - [#74981](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74981)
338
+ [`842300de03a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/842300de03a1) -
339
+ Add the following rules:
319
340
 
320
- - `consistent-css-prop-usage`: Ensures consistency with `css` and `xcss` prop usages
321
- - `no-empty-styled-expression`: Forbids any styled expression to be used when passing empty
322
- arguments to styled.div() (or other JSX elements).
323
- - `no-exported-css`: Forbid exporting `css` function calls.
324
- - `no-exported-keyframes`: Forbid exporting `keyframes` function calls.
325
- - `no-invalid-css-map`: Checks the validity of a CSS map created through cssMap.
341
+ - `consistent-css-prop-usage`: Ensures consistency with `css` and `xcss` prop usages
342
+ - `no-empty-styled-expression`: Forbids any styled expression to be used when passing empty
343
+ arguments to styled.div() (or other JSX elements).
344
+ - `no-exported-css`: Forbid exporting `css` function calls.
345
+ - `no-exported-keyframes`: Forbid exporting `keyframes` function calls.
346
+ - `no-invalid-css-map`: Checks the validity of a CSS map created through cssMap.
326
347
 
327
- - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983)
328
- [`878065bfc4c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/878065bfc4c0) -
329
- Adds the following rules to the recommended preset:
348
+ - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983)
349
+ [`878065bfc4c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/878065bfc4c0) -
350
+ Adds the following rules to the recommended preset:
330
351
 
331
- - `@atlaskit/design-system/no-css-tagged-template-expression`
332
- - `@atlaskit/design-system/no-keyframes-tagged-template-expression`
333
- - `@atlaskit/design-system/no-styled-tagged-template-expression`
352
+ - `@atlaskit/design-system/no-css-tagged-template-expression`
353
+ - `@atlaskit/design-system/no-keyframes-tagged-template-expression`
354
+ - `@atlaskit/design-system/no-styled-tagged-template-expression`
334
355
 
335
356
  ### Patch Changes
336
357
 
337
- - [#75152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75152)
338
- [`c16a175d372b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c16a175d372b) -
339
- Change 'error' to 'warn' to unbreak AFM platform
358
+ - [#75152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75152)
359
+ [`c16a175d372b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c16a175d372b) -
360
+ Change 'error' to 'warn' to unbreak AFM platform
340
361
 
341
362
  ## 0.2.1
342
363
 
343
364
  ### Patch Changes
344
365
 
345
- - [#71319](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71319)
346
- [`d716e2b5e102`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d716e2b5e102) -
347
- Ensures all dependencies are properly defined
366
+ - [#71319](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71319)
367
+ [`d716e2b5e102`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d716e2b5e102) -
368
+ Ensures all dependencies are properly defined
348
369
 
349
370
  ## 0.2.0
350
371
 
351
372
  ### Minor Changes
352
373
 
353
- - [#69723](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69723)
354
- [`06cd0f04fefb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06cd0f04fefb) -
355
- Adds the following rules to the recommended config:
374
+ - [#69723](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69723)
375
+ [`06cd0f04fefb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06cd0f04fefb) -
376
+ Adds the following rules to the recommended config:
356
377
 
357
- - `local-cx-xcss` - Ensures the `cx()` function is only used within the `xcss` prop
358
- - `no-supress-xcss` - Disallows supressing type violations when using the `xcss` prop
359
- - `no-js-xcss` - Disallows using `xcss` prop inside JavaScript files
378
+ - `local-cx-xcss` - Ensures the `cx()` function is only used within the `xcss` prop
379
+ - `no-supress-xcss` - Disallows supressing type violations when using the `xcss` prop
380
+ - `no-js-xcss` - Disallows using `xcss` prop inside JavaScript files
360
381
 
361
382
  ## 0.1.0
362
383
 
363
384
  ### Minor Changes
364
385
 
365
- - [#63960](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63960)
366
- [`8e3774cada83`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e3774cada83) -
367
- Created the design system styling standard package
386
+ - [#63960](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63960)
387
+ [`8e3774cada83`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e3774cada83) -
388
+ Created the design system styling standard package
package/README.md CHANGED
@@ -56,6 +56,7 @@ module.exports = {
56
56
  | <a href="./src/rules/no-imported-style-values/README.md">no-imported-style-values</a> | Disallows imports of style values | Yes | | |
57
57
  | <a href="./src/rules/no-nested-selectors/README.md">no-nested-selectors</a> | Prevents usage of nested selectors within css styling | Yes | | |
58
58
  | <a href="./src/rules/no-styled/README.md">no-styled</a> | Disallows usage of the `styled` imports | Yes | | |
59
+ | <a href="./src/rules/no-unsafe-selectors/README.md">no-unsafe-selectors</a> | Disallows use of nested styles in `css` functions. | Yes | Yes | Yes |
59
60
  | <a href="./src/rules/no-unsafe-values/README.md">no-unsafe-values</a> | Disallows styles that are difficult/impossible to statically anaylze. | Yes | | |
60
61
  | <a href="./src/rules/use-compiled/README.md">use-compiled</a> | Ensures usage of `@compiled/react` instead of other CSS-in-JS libraries | Yes | Yes | |
61
62
  | <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 | |
@@ -2,10 +2,13 @@
2
2
  "extends": "../../../../tsconfig.entry-points.confluence.json",
3
3
  "compilerOptions": {
4
4
  "target": "es5",
5
+ "lib": [
6
+ "ES2021.String"
7
+ ],
8
+ "composite": true,
5
9
  "outDir": "../dist",
6
10
  "rootDir": "../",
7
- "baseUrl": "../",
8
- "composite": true
11
+ "baseUrl": "../"
9
12
  },
10
13
  "include": [
11
14
  "../src/**/*.ts",
@@ -17,5 +20,9 @@
17
20
  "../src/**/*.test.*",
18
21
  "../src/**/test.*"
19
22
  ],
20
- "references": []
23
+ "references": [
24
+ {
25
+ "path": "../../eslint-utils/afm-cc/tsconfig.json"
26
+ }
27
+ ]
21
28
  }