@atlaskit/eslint-plugin-ui-styling-standard 0.20.1 → 1.0.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 +23 -0
- package/README.md +2 -5
- package/dist/cjs/index.codegen.js +45 -10
- package/dist/cjs/index.js +22 -1
- package/dist/cjs/presets/all-flat.codegen.js +53 -0
- package/dist/cjs/presets/all.codegen.js +2 -9
- package/dist/cjs/presets/recommended-flat.codegen.js +53 -0
- package/dist/cjs/presets/recommended.codegen.js +2 -9
- package/dist/cjs/rules/enforce-style-prop/index.js +45 -17
- package/dist/cjs/rules/external-rules.js +0 -38
- package/dist/cjs/rules/index.codegen.js +4 -3
- package/dist/es2019/index.codegen.js +50 -6
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/presets/all-flat.codegen.js +44 -0
- package/dist/es2019/presets/all.codegen.js +2 -9
- package/dist/es2019/presets/recommended-flat.codegen.js +44 -0
- package/dist/es2019/presets/recommended.codegen.js +2 -9
- package/dist/es2019/rules/enforce-style-prop/index.js +45 -17
- package/dist/es2019/rules/external-rules.js +0 -38
- package/dist/es2019/rules/index.codegen.js +2 -2
- package/dist/esm/index.codegen.js +46 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/presets/all-flat.codegen.js +44 -0
- package/dist/esm/presets/all.codegen.js +2 -9
- package/dist/esm/presets/recommended-flat.codegen.js +44 -0
- package/dist/esm/presets/recommended.codegen.js +2 -9
- package/dist/esm/rules/enforce-style-prop/index.js +45 -17
- package/dist/esm/rules/external-rules.js +0 -38
- package/dist/esm/rules/index.codegen.js +2 -2
- package/dist/types/index.codegen.d.ts +370 -81
- package/dist/types/index.d.ts +1 -1
- package/dist/types/presets/all-flat.codegen.d.ts +44 -0
- package/dist/types/presets/all.codegen.d.ts +33 -40
- package/dist/types/presets/recommended-flat.codegen.d.ts +44 -0
- package/dist/types/presets/recommended.codegen.d.ts +33 -40
- package/dist/types/rules/index.codegen.d.ts +1 -2
- package/dist/types-ts4.5/index.codegen.d.ts +550 -81
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/presets/all-flat.codegen.d.ts +65 -0
- package/dist/types-ts4.5/presets/all.codegen.d.ts +57 -40
- package/dist/types-ts4.5/presets/recommended-flat.codegen.d.ts +65 -0
- package/dist/types-ts4.5/presets/recommended.codegen.d.ts +57 -40
- package/dist/types-ts4.5/rules/index.codegen.d.ts +1 -2
- package/package.json +11 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { meta, rules, plugin, configs, default } from './index.codegen';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::4595bc1a07f9da4186e2df84cea56831>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
|
|
5
|
+
*/
|
|
6
|
+
import * as atlaskitDesignSystemPlugin from '@atlaskit/eslint-plugin-design-system';
|
|
7
|
+
declare const _default: {
|
|
8
|
+
readonly plugins: {
|
|
9
|
+
readonly '@atlaskit/design-system': typeof atlaskitDesignSystemPlugin;
|
|
10
|
+
};
|
|
11
|
+
readonly rules: {
|
|
12
|
+
readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
|
|
13
|
+
readonly '@atlaskit/ui-styling-standard/convert-props-syntax': "error";
|
|
14
|
+
readonly '@atlaskit/ui-styling-standard/enforce-style-prop': "error";
|
|
15
|
+
readonly '@atlaskit/ui-styling-standard/local-cx-xcss': "error";
|
|
16
|
+
readonly '@atlaskit/ui-styling-standard/no-array-arguments': "error";
|
|
17
|
+
readonly '@atlaskit/ui-styling-standard/no-classname-prop': "error";
|
|
18
|
+
readonly '@atlaskit/ui-styling-standard/no-container-queries': "error";
|
|
19
|
+
readonly '@atlaskit/ui-styling-standard/no-dynamic-styles': "error";
|
|
20
|
+
readonly '@atlaskit/ui-styling-standard/no-exported-styles': "error";
|
|
21
|
+
readonly '@atlaskit/ui-styling-standard/no-global-styles': "error";
|
|
22
|
+
readonly '@atlaskit/ui-styling-standard/no-important-styles': "error";
|
|
23
|
+
readonly '@atlaskit/ui-styling-standard/no-imported-style-values': "error";
|
|
24
|
+
readonly '@atlaskit/ui-styling-standard/no-nested-selectors': "error";
|
|
25
|
+
readonly '@atlaskit/ui-styling-standard/no-styled': "error";
|
|
26
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-selectors': "error";
|
|
27
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-values': "error";
|
|
28
|
+
readonly '@atlaskit/ui-styling-standard/use-compiled': "error";
|
|
29
|
+
readonly '@atlaskit/design-system/consistent-css-prop-usage': readonly [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
readonly excludeReactComponents: true;
|
|
33
|
+
readonly shouldAlwaysCheckXcss: true;
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
|
|
37
|
+
readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
|
|
38
|
+
readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
|
|
39
|
+
readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
readonly importSources: readonly [
|
|
43
|
+
"@compiled/react",
|
|
44
|
+
"@atlaskit/css",
|
|
45
|
+
"@emotion/core",
|
|
46
|
+
"@emotion/react",
|
|
47
|
+
"@emotion/styled",
|
|
48
|
+
"styled-components"
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
readonly '@atlaskit/design-system/no-invalid-css-map': readonly [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
readonly allowedFunctionCalls: readonly [
|
|
56
|
+
readonly [
|
|
57
|
+
"@atlaskit/tokens",
|
|
58
|
+
"token"
|
|
59
|
+
]
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export default _default;
|
|
@@ -1,48 +1,65 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::884e28457d7860b1abca070fca8ab853>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: {
|
|
7
|
-
plugins:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
'@atlaskit/ui-styling-standard/
|
|
13
|
-
'@atlaskit/ui-styling-standard/
|
|
14
|
-
'@atlaskit/ui-styling-standard/
|
|
15
|
-
'@atlaskit/ui-styling-standard/
|
|
16
|
-
'@atlaskit/ui-styling-standard/no-
|
|
17
|
-
'@atlaskit/ui-styling-standard/no-
|
|
18
|
-
'@atlaskit/ui-styling-standard/no-
|
|
19
|
-
'@atlaskit/ui-styling-standard/no-
|
|
20
|
-
'@atlaskit/ui-styling-standard/no-
|
|
21
|
-
'@atlaskit/ui-styling-standard/no-
|
|
22
|
-
'@atlaskit/ui-styling-standard/no-
|
|
23
|
-
'@atlaskit/ui-styling-standard/no-
|
|
24
|
-
'@atlaskit/ui-styling-standard/no-
|
|
25
|
-
'@atlaskit/ui-styling-standard/
|
|
26
|
-
'@atlaskit/
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
'@atlaskit/design-system/no-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
7
|
+
readonly plugins: readonly [
|
|
8
|
+
"@atlaskit/ui-styling-standard",
|
|
9
|
+
"@atlaskit/design-system"
|
|
10
|
+
];
|
|
11
|
+
readonly rules: {
|
|
12
|
+
readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
|
|
13
|
+
readonly '@atlaskit/ui-styling-standard/convert-props-syntax': "error";
|
|
14
|
+
readonly '@atlaskit/ui-styling-standard/enforce-style-prop': "error";
|
|
15
|
+
readonly '@atlaskit/ui-styling-standard/local-cx-xcss': "error";
|
|
16
|
+
readonly '@atlaskit/ui-styling-standard/no-array-arguments': "error";
|
|
17
|
+
readonly '@atlaskit/ui-styling-standard/no-classname-prop': "error";
|
|
18
|
+
readonly '@atlaskit/ui-styling-standard/no-container-queries': "error";
|
|
19
|
+
readonly '@atlaskit/ui-styling-standard/no-dynamic-styles': "error";
|
|
20
|
+
readonly '@atlaskit/ui-styling-standard/no-exported-styles': "error";
|
|
21
|
+
readonly '@atlaskit/ui-styling-standard/no-global-styles': "error";
|
|
22
|
+
readonly '@atlaskit/ui-styling-standard/no-important-styles': "error";
|
|
23
|
+
readonly '@atlaskit/ui-styling-standard/no-imported-style-values': "error";
|
|
24
|
+
readonly '@atlaskit/ui-styling-standard/no-nested-selectors': "error";
|
|
25
|
+
readonly '@atlaskit/ui-styling-standard/no-styled': "error";
|
|
26
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-selectors': "error";
|
|
27
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-values': "error";
|
|
28
|
+
readonly '@atlaskit/ui-styling-standard/use-compiled': "error";
|
|
29
|
+
readonly '@atlaskit/design-system/consistent-css-prop-usage': readonly [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
readonly excludeReactComponents: true;
|
|
33
|
+
readonly shouldAlwaysCheckXcss: true;
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
|
|
37
|
+
readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
|
|
38
|
+
readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
|
|
39
|
+
readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
readonly importSources: readonly [
|
|
43
|
+
"@compiled/react",
|
|
44
|
+
"@atlaskit/css",
|
|
45
|
+
"@emotion/core",
|
|
46
|
+
"@emotion/react",
|
|
47
|
+
"@emotion/styled",
|
|
48
|
+
"styled-components"
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
readonly '@atlaskit/design-system/no-invalid-css-map': readonly [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
readonly allowedFunctionCalls: readonly [
|
|
56
|
+
readonly [
|
|
57
|
+
"@atlaskit/tokens",
|
|
58
|
+
"token"
|
|
59
|
+
]
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
];
|
|
46
63
|
};
|
|
47
64
|
};
|
|
48
65
|
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::4595bc1a07f9da4186e2df84cea56831>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
|
|
5
|
+
*/
|
|
6
|
+
import * as atlaskitDesignSystemPlugin from '@atlaskit/eslint-plugin-design-system';
|
|
7
|
+
declare const _default: {
|
|
8
|
+
readonly plugins: {
|
|
9
|
+
readonly '@atlaskit/design-system': typeof atlaskitDesignSystemPlugin;
|
|
10
|
+
};
|
|
11
|
+
readonly rules: {
|
|
12
|
+
readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
|
|
13
|
+
readonly '@atlaskit/ui-styling-standard/convert-props-syntax': "error";
|
|
14
|
+
readonly '@atlaskit/ui-styling-standard/enforce-style-prop': "error";
|
|
15
|
+
readonly '@atlaskit/ui-styling-standard/local-cx-xcss': "error";
|
|
16
|
+
readonly '@atlaskit/ui-styling-standard/no-array-arguments': "error";
|
|
17
|
+
readonly '@atlaskit/ui-styling-standard/no-classname-prop': "error";
|
|
18
|
+
readonly '@atlaskit/ui-styling-standard/no-container-queries': "error";
|
|
19
|
+
readonly '@atlaskit/ui-styling-standard/no-dynamic-styles': "error";
|
|
20
|
+
readonly '@atlaskit/ui-styling-standard/no-exported-styles': "error";
|
|
21
|
+
readonly '@atlaskit/ui-styling-standard/no-global-styles': "error";
|
|
22
|
+
readonly '@atlaskit/ui-styling-standard/no-important-styles': "error";
|
|
23
|
+
readonly '@atlaskit/ui-styling-standard/no-imported-style-values': "error";
|
|
24
|
+
readonly '@atlaskit/ui-styling-standard/no-nested-selectors': "error";
|
|
25
|
+
readonly '@atlaskit/ui-styling-standard/no-styled': "error";
|
|
26
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-selectors': "error";
|
|
27
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-values': "error";
|
|
28
|
+
readonly '@atlaskit/ui-styling-standard/use-compiled': "error";
|
|
29
|
+
readonly '@atlaskit/design-system/consistent-css-prop-usage': readonly [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
readonly excludeReactComponents: true;
|
|
33
|
+
readonly shouldAlwaysCheckXcss: true;
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
|
|
37
|
+
readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
|
|
38
|
+
readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
|
|
39
|
+
readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
readonly importSources: readonly [
|
|
43
|
+
"@compiled/react",
|
|
44
|
+
"@atlaskit/css",
|
|
45
|
+
"@emotion/core",
|
|
46
|
+
"@emotion/react",
|
|
47
|
+
"@emotion/styled",
|
|
48
|
+
"styled-components"
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
readonly '@atlaskit/design-system/no-invalid-css-map': readonly [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
readonly allowedFunctionCalls: readonly [
|
|
56
|
+
readonly [
|
|
57
|
+
"@atlaskit/tokens",
|
|
58
|
+
"token"
|
|
59
|
+
]
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export default _default;
|
|
@@ -1,48 +1,65 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::884e28457d7860b1abca070fca8ab853>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-ui-styling-standard codegen
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: {
|
|
7
|
-
plugins:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
'@atlaskit/ui-styling-standard/
|
|
13
|
-
'@atlaskit/ui-styling-standard/
|
|
14
|
-
'@atlaskit/ui-styling-standard/
|
|
15
|
-
'@atlaskit/ui-styling-standard/
|
|
16
|
-
'@atlaskit/ui-styling-standard/no-
|
|
17
|
-
'@atlaskit/ui-styling-standard/no-
|
|
18
|
-
'@atlaskit/ui-styling-standard/no-
|
|
19
|
-
'@atlaskit/ui-styling-standard/no-
|
|
20
|
-
'@atlaskit/ui-styling-standard/no-
|
|
21
|
-
'@atlaskit/ui-styling-standard/no-
|
|
22
|
-
'@atlaskit/ui-styling-standard/no-
|
|
23
|
-
'@atlaskit/ui-styling-standard/no-
|
|
24
|
-
'@atlaskit/ui-styling-standard/no-
|
|
25
|
-
'@atlaskit/ui-styling-standard/
|
|
26
|
-
'@atlaskit/
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
'@atlaskit/design-system/no-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
7
|
+
readonly plugins: readonly [
|
|
8
|
+
"@atlaskit/ui-styling-standard",
|
|
9
|
+
"@atlaskit/design-system"
|
|
10
|
+
];
|
|
11
|
+
readonly rules: {
|
|
12
|
+
readonly '@atlaskit/ui-styling-standard/atlaskit-theme': "error";
|
|
13
|
+
readonly '@atlaskit/ui-styling-standard/convert-props-syntax': "error";
|
|
14
|
+
readonly '@atlaskit/ui-styling-standard/enforce-style-prop': "error";
|
|
15
|
+
readonly '@atlaskit/ui-styling-standard/local-cx-xcss': "error";
|
|
16
|
+
readonly '@atlaskit/ui-styling-standard/no-array-arguments': "error";
|
|
17
|
+
readonly '@atlaskit/ui-styling-standard/no-classname-prop': "error";
|
|
18
|
+
readonly '@atlaskit/ui-styling-standard/no-container-queries': "error";
|
|
19
|
+
readonly '@atlaskit/ui-styling-standard/no-dynamic-styles': "error";
|
|
20
|
+
readonly '@atlaskit/ui-styling-standard/no-exported-styles': "error";
|
|
21
|
+
readonly '@atlaskit/ui-styling-standard/no-global-styles': "error";
|
|
22
|
+
readonly '@atlaskit/ui-styling-standard/no-important-styles': "error";
|
|
23
|
+
readonly '@atlaskit/ui-styling-standard/no-imported-style-values': "error";
|
|
24
|
+
readonly '@atlaskit/ui-styling-standard/no-nested-selectors': "error";
|
|
25
|
+
readonly '@atlaskit/ui-styling-standard/no-styled': "error";
|
|
26
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-selectors': "error";
|
|
27
|
+
readonly '@atlaskit/ui-styling-standard/no-unsafe-values': "error";
|
|
28
|
+
readonly '@atlaskit/ui-styling-standard/use-compiled': "error";
|
|
29
|
+
readonly '@atlaskit/design-system/consistent-css-prop-usage': readonly [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
readonly excludeReactComponents: true;
|
|
33
|
+
readonly shouldAlwaysCheckXcss: true;
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
readonly '@atlaskit/design-system/no-css-tagged-template-expression': "error";
|
|
37
|
+
readonly '@atlaskit/design-system/no-keyframes-tagged-template-expression': "error";
|
|
38
|
+
readonly '@atlaskit/design-system/no-styled-tagged-template-expression': "error";
|
|
39
|
+
readonly '@atlaskit/design-system/no-empty-styled-expression': readonly [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
readonly importSources: readonly [
|
|
43
|
+
"@compiled/react",
|
|
44
|
+
"@atlaskit/css",
|
|
45
|
+
"@emotion/core",
|
|
46
|
+
"@emotion/react",
|
|
47
|
+
"@emotion/styled",
|
|
48
|
+
"styled-components"
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
readonly '@atlaskit/design-system/no-invalid-css-map': readonly [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
readonly allowedFunctionCalls: readonly [
|
|
56
|
+
readonly [
|
|
57
|
+
"@atlaskit/tokens",
|
|
58
|
+
"token"
|
|
59
|
+
]
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
];
|
|
46
63
|
};
|
|
47
64
|
};
|
|
48
65
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const rules: {
|
|
2
2
|
'atlaskit-theme': import("eslint").Rule.RuleModule;
|
|
3
3
|
'convert-props-syntax': import("eslint").Rule.RuleModule;
|
|
4
4
|
'enforce-style-prop': import("eslint").Rule.RuleModule;
|
|
@@ -17,4 +17,3 @@ declare const _default: {
|
|
|
17
17
|
'no-unsafe-values': import("eslint").Rule.RuleModule;
|
|
18
18
|
'use-compiled': import("eslint").Rule.RuleModule;
|
|
19
19
|
};
|
|
20
|
-
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/eslint-plugin-ui-styling-standard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.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",
|
|
@@ -34,9 +34,11 @@
|
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"atlaskit:src": "src/index.tsx",
|
|
36
36
|
"af:exports": {
|
|
37
|
-
".": "./src/index.tsx"
|
|
37
|
+
".": "./src/index.tsx",
|
|
38
|
+
"./package.json": "./package.json"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
41
|
+
"@atlaskit/eslint-plugin-design-system": "^10.23.0",
|
|
40
42
|
"@atlaskit/eslint-utils": "^1.7.0",
|
|
41
43
|
"@babel/runtime": "^7.0.0",
|
|
42
44
|
"@typescript-eslint/utils": "^5.48.1",
|
|
@@ -51,17 +53,21 @@
|
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
55
|
"@af/formatting": "*",
|
|
54
|
-
"@atlaskit/ds-lib": "^3.
|
|
55
|
-
"@atlaskit/eslint-plugin-design-system": "^10.23.0",
|
|
56
|
+
"@atlaskit/ds-lib": "^3.2.0",
|
|
56
57
|
"@atlassian/codegen": "*",
|
|
57
58
|
"@atlassian/ts-loader": "*",
|
|
58
|
-
"@compiled/eslint-plugin": "^0.
|
|
59
|
+
"@compiled/eslint-plugin": "^0.17.0",
|
|
60
|
+
"@eslint/eslintrc": "^3.0.2",
|
|
59
61
|
"@types/eslint": "^8.56.6",
|
|
62
|
+
"@types/eslint__eslintrc": "^2.1.2",
|
|
60
63
|
"@types/estraverse": "^5.1.7",
|
|
61
64
|
"eslint": "^8.57.0",
|
|
62
65
|
"lodash": "^4.17.21",
|
|
63
66
|
"typescript": "~5.4.2"
|
|
64
67
|
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@compiled/eslint-plugin": "^0.17.0"
|
|
70
|
+
},
|
|
65
71
|
"scripts": {
|
|
66
72
|
"codegen": "run-ts ./scripts/codegen.tsx"
|
|
67
73
|
}
|