@atlaskit/eslint-plugin-design-system 10.7.1 → 10.8.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.
@@ -35,7 +35,7 @@ export var CssMapObjectChecker = /*#__PURE__*/function () {
35
35
  // }
36
36
  var variable = findVariable({
37
37
  identifier: value.callee,
38
- sourceCode: this.context.sourceCode
38
+ sourceCode: this.context.getSourceCode()
39
39
  });
40
40
  if (!variable || !isAllowListedVariable({
41
41
  allowList: this.allowedFunctionCalls,
@@ -62,7 +62,7 @@ export var CssMapObjectChecker = /*#__PURE__*/function () {
62
62
  } else if (value.type === 'Identifier') {
63
63
  var _variable = findVariable({
64
64
  identifier: value,
65
- sourceCode: this.context.sourceCode
65
+ sourceCode: this.context.getSourceCode()
66
66
  });
67
67
 
68
68
  // Get the variable's definition when initialised, and check the first definition that we find.
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": "10.7.1",
4
+ "version": "10.8.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
@@ -10,7 +10,9 @@
10
10
  "atlassian": {
11
11
  "team": "Design System Team",
12
12
  "releaseModel": "continuous",
13
- "productPushConsumption": ["jira"],
13
+ "productPushConsumption": [
14
+ "jira"
15
+ ],
14
16
  "website": {
15
17
  "name": "ESLint plugin",
16
18
  "category": "Tooling"
@@ -24,7 +26,10 @@
24
26
  "types": "dist/types/index.d.ts",
25
27
  "typesVersions": {
26
28
  ">=4.5 <4.9": {
27
- "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
29
+ "*": [
30
+ "dist/types-ts4.5/*",
31
+ "dist/types-ts4.5/index.d.ts"
32
+ ]
28
33
  }
29
34
  },
30
35
  "sideEffects": false,
@@ -50,7 +55,7 @@
50
55
  "devDependencies": {
51
56
  "@af/formatting": "*",
52
57
  "@atlaskit/ds-lib": "^2.3.0",
53
- "@atlaskit/theme": "^12.9.0",
58
+ "@atlaskit/theme": "^12.10.0",
54
59
  "@atlassian/codegen": "*",
55
60
  "@atlassian/eslint-utils": "^0.5.0",
56
61
  "@emotion/react": "^11.7.1",
@@ -81,7 +86,10 @@
81
86
  "dom-events": "use-bind-event-listener",
82
87
  "design-system": "v1",
83
88
  "deprecation": "no-deprecated-imports",
84
- "styling": ["static", "emotion"]
89
+ "styling": [
90
+ "static",
91
+ "emotion"
92
+ ]
85
93
  }
86
94
  },
87
95
  "homepage": "https://atlassian.design/components/eslint-plugin-design-system"