@atlaskit/eslint-plugin-design-system 15.4.0 → 15.6.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 +20 -0
- package/configs/deprecated.json +11 -0
- package/dist/cjs/rules/no-to-match-snapshot/index.js +8 -0
- package/dist/configs/deprecated.json +11 -0
- package/dist/es2019/rules/no-to-match-snapshot/index.js +8 -0
- package/dist/esm/rules/no-to-match-snapshot/index.js +8 -0
- package/package.json +7 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-design-system
|
|
2
2
|
|
|
3
|
+
## 15.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2f56c78f969b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f56c78f969b8) -
|
|
8
|
+
Update i18n NPM package versions for teamwork-graph (Group 16)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 15.5.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`62b5aa6adc358`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/62b5aa6adc358) -
|
|
19
|
+
Completes deprecation guidance for the legacy WidthDetector default export.
|
|
20
|
+
|
|
21
|
+
Use `WidthObserver` from `@atlaskit/width-detector/width-observer` instead.
|
|
22
|
+
|
|
3
23
|
## 15.4.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/configs/deprecated.json
CHANGED
|
@@ -100,6 +100,17 @@
|
|
|
100
100
|
"@atlaskit/item": {
|
|
101
101
|
"message": "item is deprecated. Please use '@atlaskit/menu' instead."
|
|
102
102
|
},
|
|
103
|
+
"@atlaskit/width-detector": {
|
|
104
|
+
"importSpecifiers": [
|
|
105
|
+
{
|
|
106
|
+
"importName": "default",
|
|
107
|
+
"message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"@atlaskit/width-detector/width-detector": {
|
|
112
|
+
"message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
|
|
113
|
+
},
|
|
103
114
|
"@atlaskit/theme/elevation": {
|
|
104
115
|
"importSpecifiers": [
|
|
105
116
|
{
|
|
@@ -6,6 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.name = exports.default = void 0;
|
|
7
7
|
var _eslintCodemodUtils = require("eslint-codemod-utils");
|
|
8
8
|
var _createLintRule = require("../utils/create-lint-rule");
|
|
9
|
+
/* eslint-disable
|
|
10
|
+
@atlaskit/design-system/no-to-match-snapshot,
|
|
11
|
+
@atlaskit/design-system/no-unsafe-inline-snapshot
|
|
12
|
+
-- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
|
|
13
|
+
See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
|
|
14
|
+
and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
|
|
15
|
+
*/
|
|
16
|
+
|
|
9
17
|
var name = exports.name = 'no-to-match-snapshot';
|
|
10
18
|
var rule = (0, _createLintRule.createLintRule)({
|
|
11
19
|
meta: {
|
|
@@ -100,6 +100,17 @@
|
|
|
100
100
|
"@atlaskit/item": {
|
|
101
101
|
"message": "item is deprecated. Please use '@atlaskit/menu' instead."
|
|
102
102
|
},
|
|
103
|
+
"@atlaskit/width-detector": {
|
|
104
|
+
"importSpecifiers": [
|
|
105
|
+
{
|
|
106
|
+
"importName": "default",
|
|
107
|
+
"message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"@atlaskit/width-detector/width-detector": {
|
|
112
|
+
"message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
|
|
113
|
+
},
|
|
103
114
|
"@atlaskit/theme/elevation": {
|
|
104
115
|
"importSpecifiers": [
|
|
105
116
|
{
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/* eslint-disable
|
|
2
|
+
@atlaskit/design-system/no-to-match-snapshot,
|
|
3
|
+
@atlaskit/design-system/no-unsafe-inline-snapshot
|
|
4
|
+
-- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
|
|
5
|
+
See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
|
|
6
|
+
and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
|
|
7
|
+
*/
|
|
8
|
+
|
|
1
9
|
import { isNodeOfType } from 'eslint-codemod-utils';
|
|
2
10
|
import { createLintRule } from '../utils/create-lint-rule';
|
|
3
11
|
export const name = 'no-to-match-snapshot';
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/* eslint-disable
|
|
2
|
+
@atlaskit/design-system/no-to-match-snapshot,
|
|
3
|
+
@atlaskit/design-system/no-unsafe-inline-snapshot
|
|
4
|
+
-- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
|
|
5
|
+
See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
|
|
6
|
+
and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
|
|
7
|
+
*/
|
|
8
|
+
|
|
1
9
|
import { isNodeOfType } from 'eslint-codemod-utils';
|
|
2
10
|
import { createLintRule } from '../utils/create-lint-rule';
|
|
3
11
|
export var name = 'no-to-match-snapshot';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/eslint-plugin-design-system",
|
|
3
3
|
"description": "The essential plugin for use with the Atlassian Design System.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.6.0",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
@@ -13,27 +13,23 @@
|
|
|
13
13
|
"name": "ESLint plugin",
|
|
14
14
|
"category": "Tooling"
|
|
15
15
|
},
|
|
16
|
-
"toolingLabels": [
|
|
17
|
-
"linting"
|
|
18
|
-
]
|
|
16
|
+
"toolingLabels": ["linting"]
|
|
19
17
|
},
|
|
20
18
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
21
19
|
"main": "dist/cjs/index.js",
|
|
22
20
|
"module": "dist/esm/index.js",
|
|
23
21
|
"module:es2019": "dist/es2019/index.js",
|
|
24
22
|
"types": "dist/types/index.d.ts",
|
|
25
|
-
"sideEffects": [
|
|
26
|
-
"**/*.compiled.css"
|
|
27
|
-
],
|
|
23
|
+
"sideEffects": ["**/*.compiled.css"],
|
|
28
24
|
"atlaskit:src": "src/index.tsx",
|
|
29
25
|
"peerDependencies": {
|
|
30
26
|
"react": "^18.2.0"
|
|
31
27
|
},
|
|
32
28
|
"dependencies": {
|
|
33
29
|
"@atlaskit/eslint-utils": "^3.0.0",
|
|
34
|
-
"@atlaskit/icon": "^36.
|
|
35
|
-
"@atlaskit/icon-lab": "^7.
|
|
36
|
-
"@atlaskit/tokens": "^15.
|
|
30
|
+
"@atlaskit/icon": "^36.2.0",
|
|
31
|
+
"@atlaskit/icon-lab": "^7.3.0",
|
|
32
|
+
"@atlaskit/tokens": "^15.5.0",
|
|
37
33
|
"@babel/runtime": "^7.0.0",
|
|
38
34
|
"@typescript-eslint/utils": "^7.1.0",
|
|
39
35
|
"ajv": "^6.12.6",
|
|
@@ -80,10 +76,7 @@
|
|
|
80
76
|
"dom-events": "use-bind-event-listener",
|
|
81
77
|
"design-system": "v1",
|
|
82
78
|
"deprecation": "no-deprecated-imports",
|
|
83
|
-
"styling": [
|
|
84
|
-
"static",
|
|
85
|
-
"emotion"
|
|
86
|
-
]
|
|
79
|
+
"styling": ["static", "emotion"]
|
|
87
80
|
}
|
|
88
81
|
},
|
|
89
82
|
"homepage": "https://atlassian.design/components/eslint-plugin-design-system"
|