@atlaskit/eslint-plugin-design-system 10.19.0 → 10.20.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 +8 -0
- package/README.md +1 -0
- package/dist/cjs/presets/all.codegen.js +2 -1
- package/dist/cjs/rules/index.codegen.js +3 -1
- package/dist/cjs/rules/no-dark-theme-vr-tests/index.js +65 -0
- package/dist/es2019/presets/all.codegen.js +2 -1
- package/dist/es2019/rules/index.codegen.js +3 -1
- package/dist/es2019/rules/no-dark-theme-vr-tests/index.js +51 -0
- package/dist/esm/presets/all.codegen.js +2 -1
- package/dist/esm/rules/index.codegen.js +3 -1
- package/dist/esm/rules/no-dark-theme-vr-tests/index.js +58 -0
- package/dist/types/index.codegen.d.ts +1 -0
- package/dist/types/presets/all.codegen.d.ts +2 -1
- package/dist/types/rules/index.codegen.d.ts +1 -0
- package/dist/types/rules/no-dark-theme-vr-tests/index.d.ts +3 -0
- package/dist/types-ts4.5/index.codegen.d.ts +1 -0
- package/dist/types-ts4.5/presets/all.codegen.d.ts +2 -1
- package/dist/types-ts4.5/rules/index.codegen.d.ts +1 -0
- package/dist/types-ts4.5/rules/no-dark-theme-vr-tests/index.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-design-system
|
|
2
2
|
|
|
3
|
+
## 10.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#142315](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/142315)
|
|
8
|
+
[`4810530a99092`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4810530a99092) -
|
|
9
|
+
Add `no-dark-theme-vr-tests` rule
|
|
10
|
+
|
|
3
11
|
## 10.19.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -57,6 +57,7 @@ module.exports = {
|
|
|
57
57
|
| <a href="./src/rules/no-banned-imports/README.md">no-banned-imports</a> | Disallow importing banned modules. | Yes | | |
|
|
58
58
|
| <a href="./src/rules/no-css-tagged-template-expression/README.md">no-css-tagged-template-expression</a> | Disallows any `css` tagged template expressions that originate from Emotion, Styled Components or Compiled | | Yes | |
|
|
59
59
|
| <a href="./src/rules/no-custom-icons/README.md">no-custom-icons</a> | Enforces custom glyph icons are used. | | | |
|
|
60
|
+
| <a href="./src/rules/no-dark-theme-vr-tests/README.md">no-dark-theme-vr-tests</a> | Disallow using dark colorScheme in VR tests. | | Yes | |
|
|
60
61
|
| <a href="./src/rules/no-deprecated-apis/README.md">no-deprecated-apis</a> | Disallow using deprecated APIs. | Yes | | |
|
|
61
62
|
| <a href="./src/rules/no-deprecated-design-token-usage/README.md">no-deprecated-design-token-usage</a> | Disallow using deprecated design tokens. | Yes | Yes | |
|
|
62
63
|
| <a href="./src/rules/no-deprecated-imports/README.md">no-deprecated-imports</a> | Disallow importing deprecated modules. | Yes | | |
|
|
@@ -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::
|
|
9
|
+
* @codegen <<SignedSource::310e184a1b8eca0da1246cfe8d128e2c>>
|
|
10
10
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
11
11
|
*/
|
|
12
12
|
var _default = exports.default = {
|
|
@@ -20,6 +20,7 @@ var _default = exports.default = {
|
|
|
20
20
|
'@atlaskit/design-system/no-banned-imports': 'error',
|
|
21
21
|
'@atlaskit/design-system/no-css-tagged-template-expression': 'error',
|
|
22
22
|
'@atlaskit/design-system/no-custom-icons': 'warn',
|
|
23
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': 'error',
|
|
23
24
|
'@atlaskit/design-system/no-deprecated-apis': 'error',
|
|
24
25
|
'@atlaskit/design-system/no-deprecated-design-token-usage': 'warn',
|
|
25
26
|
'@atlaskit/design-system/no-deprecated-imports': 'error',
|
|
@@ -13,6 +13,7 @@ var _iconLabel = _interopRequireDefault(require("./icon-label"));
|
|
|
13
13
|
var _noBannedImports = _interopRequireDefault(require("./no-banned-imports"));
|
|
14
14
|
var _noCssTaggedTemplateExpression = _interopRequireDefault(require("./no-css-tagged-template-expression"));
|
|
15
15
|
var _noCustomIcons = _interopRequireDefault(require("./no-custom-icons"));
|
|
16
|
+
var _noDarkThemeVrTests = _interopRequireDefault(require("./no-dark-theme-vr-tests"));
|
|
16
17
|
var _noDeprecatedApis = _interopRequireDefault(require("./no-deprecated-apis"));
|
|
17
18
|
var _noDeprecatedDesignTokenUsage = _interopRequireDefault(require("./no-deprecated-design-token-usage"));
|
|
18
19
|
var _noDeprecatedImports = _interopRequireDefault(require("./no-deprecated-imports"));
|
|
@@ -50,7 +51,7 @@ var _useTokensTypography = _interopRequireDefault(require("./use-tokens-typograp
|
|
|
50
51
|
var _useVisuallyHidden = _interopRequireDefault(require("./use-visually-hidden"));
|
|
51
52
|
/**
|
|
52
53
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
53
|
-
* @codegen <<SignedSource::
|
|
54
|
+
* @codegen <<SignedSource::2c61c8c9aa86b4fb1d11e0bcba9d83a1>>
|
|
54
55
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
55
56
|
*/
|
|
56
57
|
var _default = exports.default = {
|
|
@@ -62,6 +63,7 @@ var _default = exports.default = {
|
|
|
62
63
|
'no-banned-imports': _noBannedImports.default,
|
|
63
64
|
'no-css-tagged-template-expression': _noCssTaggedTemplateExpression.default,
|
|
64
65
|
'no-custom-icons': _noCustomIcons.default,
|
|
66
|
+
'no-dark-theme-vr-tests': _noDarkThemeVrTests.default,
|
|
65
67
|
'no-deprecated-apis': _noDeprecatedApis.default,
|
|
66
68
|
'no-deprecated-design-token-usage': _noDeprecatedDesignTokenUsage.default,
|
|
67
69
|
'no-deprecated-imports': _noDeprecatedImports.default,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
|
+
var _createRule = require("../utils/create-rule");
|
|
10
|
+
var rule = (0, _createRule.createLintRule)({
|
|
11
|
+
meta: {
|
|
12
|
+
name: 'no-dark-theme-vr-tests',
|
|
13
|
+
type: 'problem',
|
|
14
|
+
fixable: 'code',
|
|
15
|
+
docs: {
|
|
16
|
+
description: 'Disallow using dark colorScheme in VR tests.',
|
|
17
|
+
recommended: false,
|
|
18
|
+
severity: 'error'
|
|
19
|
+
},
|
|
20
|
+
messages: {
|
|
21
|
+
noDarkThemeVR: "Redundant dark theme VR tests are not allowed. Check out this [RFC](https://hello.atlassian.net/wiki/spaces/DST/pages/4083370233/DSTRFC-022+-+Intent+to+remove+dark+VR+tests+from+AFM)"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
create: function create(context) {
|
|
25
|
+
var importSources = [];
|
|
26
|
+
return {
|
|
27
|
+
ImportDeclaration: function ImportDeclaration(node) {
|
|
28
|
+
if (node.source.type === 'Literal' && typeof node.source.value === 'string') {
|
|
29
|
+
importSources.push(node.source.value);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
ObjectExpression: function ObjectExpression(node) {
|
|
33
|
+
if (importSources.every(function (source) {
|
|
34
|
+
return ['@af/visual-regression', '@atlassian/jira-vr-testing', '@atlassian/gemini'].includes(source);
|
|
35
|
+
})) {
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
38
|
+
node.properties.forEach(function (prop) {
|
|
39
|
+
var environmentProperty = prop.type === 'Property' && prop.key.type === 'Identifier' && prop.key.name === 'environment' ? prop : null;
|
|
40
|
+
if (environmentProperty && environmentProperty.value.type === 'ObjectExpression') {
|
|
41
|
+
var colorSchemeProperty = environmentProperty.value.properties.find(function (path) {
|
|
42
|
+
return path.type === 'Property' && path.key.type === 'Identifier' && path.key.name === 'colorScheme';
|
|
43
|
+
});
|
|
44
|
+
if (colorSchemeProperty && colorSchemeProperty.type === 'Property' && colorSchemeProperty.value.type === 'Literal' && colorSchemeProperty.value.value === 'dark') {
|
|
45
|
+
context.report({
|
|
46
|
+
node: node,
|
|
47
|
+
messageId: 'noDarkThemeVR',
|
|
48
|
+
fix: function fix(fixer) {
|
|
49
|
+
if (node.range) {
|
|
50
|
+
var _node$range = (0, _slicedToArray2.default)(node.range, 2),
|
|
51
|
+
start = _node$range[0],
|
|
52
|
+
end = _node$range[1];
|
|
53
|
+
return fixer.removeRange([start, end + 1]);
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
var _default = exports.default = rule;
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::310e184a1b8eca0da1246cfe8d128e2c>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
export default {
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
'@atlaskit/design-system/no-banned-imports': 'error',
|
|
15
15
|
'@atlaskit/design-system/no-css-tagged-template-expression': 'error',
|
|
16
16
|
'@atlaskit/design-system/no-custom-icons': 'warn',
|
|
17
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': 'error',
|
|
17
18
|
'@atlaskit/design-system/no-deprecated-apis': 'error',
|
|
18
19
|
'@atlaskit/design-system/no-deprecated-design-token-usage': 'warn',
|
|
19
20
|
'@atlaskit/design-system/no-deprecated-imports': 'error',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::2c61c8c9aa86b4fb1d11e0bcba9d83a1>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
import consistentCssPropUsage from './consistent-css-prop-usage';
|
|
@@ -11,6 +11,7 @@ import iconLabel from './icon-label';
|
|
|
11
11
|
import noBannedImports from './no-banned-imports';
|
|
12
12
|
import noCssTaggedTemplateExpression from './no-css-tagged-template-expression';
|
|
13
13
|
import noCustomIcons from './no-custom-icons';
|
|
14
|
+
import noDarkThemeVrTests from './no-dark-theme-vr-tests';
|
|
14
15
|
import noDeprecatedApis from './no-deprecated-apis';
|
|
15
16
|
import noDeprecatedDesignTokenUsage from './no-deprecated-design-token-usage';
|
|
16
17
|
import noDeprecatedImports from './no-deprecated-imports';
|
|
@@ -55,6 +56,7 @@ export default {
|
|
|
55
56
|
'no-banned-imports': noBannedImports,
|
|
56
57
|
'no-css-tagged-template-expression': noCssTaggedTemplateExpression,
|
|
57
58
|
'no-custom-icons': noCustomIcons,
|
|
59
|
+
'no-dark-theme-vr-tests': noDarkThemeVrTests,
|
|
58
60
|
'no-deprecated-apis': noDeprecatedApis,
|
|
59
61
|
'no-deprecated-design-token-usage': noDeprecatedDesignTokenUsage,
|
|
60
62
|
'no-deprecated-imports': noDeprecatedImports,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { createLintRule } from '../utils/create-rule';
|
|
2
|
+
const rule = createLintRule({
|
|
3
|
+
meta: {
|
|
4
|
+
name: 'no-dark-theme-vr-tests',
|
|
5
|
+
type: 'problem',
|
|
6
|
+
fixable: 'code',
|
|
7
|
+
docs: {
|
|
8
|
+
description: 'Disallow using dark colorScheme in VR tests.',
|
|
9
|
+
recommended: false,
|
|
10
|
+
severity: 'error'
|
|
11
|
+
},
|
|
12
|
+
messages: {
|
|
13
|
+
noDarkThemeVR: `Redundant dark theme VR tests are not allowed. Check out this [RFC](https://hello.atlassian.net/wiki/spaces/DST/pages/4083370233/DSTRFC-022+-+Intent+to+remove+dark+VR+tests+from+AFM)`
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
create(context) {
|
|
17
|
+
let importSources = [];
|
|
18
|
+
return {
|
|
19
|
+
ImportDeclaration(node) {
|
|
20
|
+
if (node.source.type === 'Literal' && typeof node.source.value === 'string') {
|
|
21
|
+
importSources.push(node.source.value);
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
ObjectExpression(node) {
|
|
25
|
+
if (importSources.every(source => ['@af/visual-regression', '@atlassian/jira-vr-testing', '@atlassian/gemini'].includes(source))) {
|
|
26
|
+
return {};
|
|
27
|
+
}
|
|
28
|
+
node.properties.forEach(prop => {
|
|
29
|
+
const environmentProperty = prop.type === 'Property' && prop.key.type === 'Identifier' && prop.key.name === 'environment' ? prop : null;
|
|
30
|
+
if (environmentProperty && environmentProperty.value.type === 'ObjectExpression') {
|
|
31
|
+
const colorSchemeProperty = environmentProperty.value.properties.find(path => path.type === 'Property' && path.key.type === 'Identifier' && path.key.name === 'colorScheme');
|
|
32
|
+
if (colorSchemeProperty && colorSchemeProperty.type === 'Property' && colorSchemeProperty.value.type === 'Literal' && colorSchemeProperty.value.value === 'dark') {
|
|
33
|
+
context.report({
|
|
34
|
+
node: node,
|
|
35
|
+
messageId: 'noDarkThemeVR',
|
|
36
|
+
fix: fixer => {
|
|
37
|
+
if (node.range) {
|
|
38
|
+
const [start, end] = node.range;
|
|
39
|
+
return fixer.removeRange([start, end + 1]);
|
|
40
|
+
}
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export default rule;
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::310e184a1b8eca0da1246cfe8d128e2c>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
export default {
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
'@atlaskit/design-system/no-banned-imports': 'error',
|
|
15
15
|
'@atlaskit/design-system/no-css-tagged-template-expression': 'error',
|
|
16
16
|
'@atlaskit/design-system/no-custom-icons': 'warn',
|
|
17
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': 'error',
|
|
17
18
|
'@atlaskit/design-system/no-deprecated-apis': 'error',
|
|
18
19
|
'@atlaskit/design-system/no-deprecated-design-token-usage': 'warn',
|
|
19
20
|
'@atlaskit/design-system/no-deprecated-imports': 'error',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::2c61c8c9aa86b4fb1d11e0bcba9d83a1>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
import consistentCssPropUsage from './consistent-css-prop-usage';
|
|
@@ -11,6 +11,7 @@ import iconLabel from './icon-label';
|
|
|
11
11
|
import noBannedImports from './no-banned-imports';
|
|
12
12
|
import noCssTaggedTemplateExpression from './no-css-tagged-template-expression';
|
|
13
13
|
import noCustomIcons from './no-custom-icons';
|
|
14
|
+
import noDarkThemeVrTests from './no-dark-theme-vr-tests';
|
|
14
15
|
import noDeprecatedApis from './no-deprecated-apis';
|
|
15
16
|
import noDeprecatedDesignTokenUsage from './no-deprecated-design-token-usage';
|
|
16
17
|
import noDeprecatedImports from './no-deprecated-imports';
|
|
@@ -55,6 +56,7 @@ export default {
|
|
|
55
56
|
'no-banned-imports': noBannedImports,
|
|
56
57
|
'no-css-tagged-template-expression': noCssTaggedTemplateExpression,
|
|
57
58
|
'no-custom-icons': noCustomIcons,
|
|
59
|
+
'no-dark-theme-vr-tests': noDarkThemeVrTests,
|
|
58
60
|
'no-deprecated-apis': noDeprecatedApis,
|
|
59
61
|
'no-deprecated-design-token-usage': noDeprecatedDesignTokenUsage,
|
|
60
62
|
'no-deprecated-imports': noDeprecatedImports,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
+
import { createLintRule } from '../utils/create-rule';
|
|
3
|
+
var rule = createLintRule({
|
|
4
|
+
meta: {
|
|
5
|
+
name: 'no-dark-theme-vr-tests',
|
|
6
|
+
type: 'problem',
|
|
7
|
+
fixable: 'code',
|
|
8
|
+
docs: {
|
|
9
|
+
description: 'Disallow using dark colorScheme in VR tests.',
|
|
10
|
+
recommended: false,
|
|
11
|
+
severity: 'error'
|
|
12
|
+
},
|
|
13
|
+
messages: {
|
|
14
|
+
noDarkThemeVR: "Redundant dark theme VR tests are not allowed. Check out this [RFC](https://hello.atlassian.net/wiki/spaces/DST/pages/4083370233/DSTRFC-022+-+Intent+to+remove+dark+VR+tests+from+AFM)"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
create: function create(context) {
|
|
18
|
+
var importSources = [];
|
|
19
|
+
return {
|
|
20
|
+
ImportDeclaration: function ImportDeclaration(node) {
|
|
21
|
+
if (node.source.type === 'Literal' && typeof node.source.value === 'string') {
|
|
22
|
+
importSources.push(node.source.value);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
ObjectExpression: function ObjectExpression(node) {
|
|
26
|
+
if (importSources.every(function (source) {
|
|
27
|
+
return ['@af/visual-regression', '@atlassian/jira-vr-testing', '@atlassian/gemini'].includes(source);
|
|
28
|
+
})) {
|
|
29
|
+
return {};
|
|
30
|
+
}
|
|
31
|
+
node.properties.forEach(function (prop) {
|
|
32
|
+
var environmentProperty = prop.type === 'Property' && prop.key.type === 'Identifier' && prop.key.name === 'environment' ? prop : null;
|
|
33
|
+
if (environmentProperty && environmentProperty.value.type === 'ObjectExpression') {
|
|
34
|
+
var colorSchemeProperty = environmentProperty.value.properties.find(function (path) {
|
|
35
|
+
return path.type === 'Property' && path.key.type === 'Identifier' && path.key.name === 'colorScheme';
|
|
36
|
+
});
|
|
37
|
+
if (colorSchemeProperty && colorSchemeProperty.type === 'Property' && colorSchemeProperty.value.type === 'Literal' && colorSchemeProperty.value.value === 'dark') {
|
|
38
|
+
context.report({
|
|
39
|
+
node: node,
|
|
40
|
+
messageId: 'noDarkThemeVR',
|
|
41
|
+
fix: function fix(fixer) {
|
|
42
|
+
if (node.range) {
|
|
43
|
+
var _node$range = _slicedToArray(node.range, 2),
|
|
44
|
+
start = _node$range[0],
|
|
45
|
+
end = _node$range[1];
|
|
46
|
+
return fixer.removeRange([start, end + 1]);
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export default rule;
|
|
@@ -11,6 +11,7 @@ export declare const configs: {
|
|
|
11
11
|
'@atlaskit/design-system/no-banned-imports': string;
|
|
12
12
|
'@atlaskit/design-system/no-css-tagged-template-expression': string;
|
|
13
13
|
'@atlaskit/design-system/no-custom-icons': string;
|
|
14
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': string;
|
|
14
15
|
'@atlaskit/design-system/no-deprecated-apis': string;
|
|
15
16
|
'@atlaskit/design-system/no-deprecated-design-token-usage': string;
|
|
16
17
|
'@atlaskit/design-system/no-deprecated-imports': string;
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::310e184a1b8eca0da1246cfe8d128e2c>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: {
|
|
@@ -14,6 +14,7 @@ declare const _default: {
|
|
|
14
14
|
'@atlaskit/design-system/no-banned-imports': string;
|
|
15
15
|
'@atlaskit/design-system/no-css-tagged-template-expression': string;
|
|
16
16
|
'@atlaskit/design-system/no-custom-icons': string;
|
|
17
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': string;
|
|
17
18
|
'@atlaskit/design-system/no-deprecated-apis': string;
|
|
18
19
|
'@atlaskit/design-system/no-deprecated-design-token-usage': string;
|
|
19
20
|
'@atlaskit/design-system/no-deprecated-imports': string;
|
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
'no-banned-imports': import("eslint").Rule.RuleModule;
|
|
8
8
|
'no-css-tagged-template-expression': import("eslint").Rule.RuleModule;
|
|
9
9
|
'no-custom-icons': import("eslint").Rule.RuleModule;
|
|
10
|
+
'no-dark-theme-vr-tests': import("eslint").Rule.RuleModule;
|
|
10
11
|
'no-deprecated-apis': import("@typescript-eslint/utils/dist/ts-eslint").RuleModule<string, [{
|
|
11
12
|
deprecatedConfig: import("./utils/types").DeprecatedConfig;
|
|
12
13
|
}], import("@typescript-eslint/utils/dist/ts-eslint").RuleListener>;
|
|
@@ -11,6 +11,7 @@ export declare const configs: {
|
|
|
11
11
|
'@atlaskit/design-system/no-banned-imports': string;
|
|
12
12
|
'@atlaskit/design-system/no-css-tagged-template-expression': string;
|
|
13
13
|
'@atlaskit/design-system/no-custom-icons': string;
|
|
14
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': string;
|
|
14
15
|
'@atlaskit/design-system/no-deprecated-apis': string;
|
|
15
16
|
'@atlaskit/design-system/no-deprecated-design-token-usage': string;
|
|
16
17
|
'@atlaskit/design-system/no-deprecated-imports': string;
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::310e184a1b8eca0da1246cfe8d128e2c>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/eslint-plugin-design-system codegen
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: {
|
|
@@ -14,6 +14,7 @@ declare const _default: {
|
|
|
14
14
|
'@atlaskit/design-system/no-banned-imports': string;
|
|
15
15
|
'@atlaskit/design-system/no-css-tagged-template-expression': string;
|
|
16
16
|
'@atlaskit/design-system/no-custom-icons': string;
|
|
17
|
+
'@atlaskit/design-system/no-dark-theme-vr-tests': string;
|
|
17
18
|
'@atlaskit/design-system/no-deprecated-apis': string;
|
|
18
19
|
'@atlaskit/design-system/no-deprecated-design-token-usage': string;
|
|
19
20
|
'@atlaskit/design-system/no-deprecated-imports': string;
|
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
'no-banned-imports': import("eslint").Rule.RuleModule;
|
|
8
8
|
'no-css-tagged-template-expression': import("eslint").Rule.RuleModule;
|
|
9
9
|
'no-custom-icons': import("eslint").Rule.RuleModule;
|
|
10
|
+
'no-dark-theme-vr-tests': import("eslint").Rule.RuleModule;
|
|
10
11
|
'no-deprecated-apis': import("@typescript-eslint/utils/dist/ts-eslint").RuleModule<string, [
|
|
11
12
|
{
|
|
12
13
|
deprecatedConfig: import("./utils/types").DeprecatedConfig;
|
package/package.json
CHANGED