@atlaskit/eslint-plugin-design-system 10.26.0 → 11.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#168980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168980)
8
+ [`d9aae425eae69`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d9aae425eae69) -
9
+ `use-tokens-typography` defaults not adding token fallbacks anymore. Automatic fallbacks can still
10
+ be enabled by setting the `shouldEnforceFallbacks: true` config option.
11
+
3
12
  ## 10.26.0
4
13
 
5
14
  ### Minor Changes
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ruleSchema = exports.getConfig = void 0;
7
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
8
+
7
9
  var ruleSchema = exports.ruleSchema = {
8
10
  type: 'array',
9
11
  items: {
@@ -23,7 +25,7 @@ var ruleSchema = exports.ruleSchema = {
23
25
  };
24
26
  var defaultConfig = {
25
27
  failSilently: false,
26
- shouldEnforceFallbacks: true,
28
+ shouldEnforceFallbacks: false,
27
29
  enableUnsafeAutofix: false
28
30
  };
29
31
  var getConfig = exports.getConfig = function getConfig(overrides) {
@@ -11,7 +11,10 @@ var _isSupportedImport = require("@atlaskit/eslint-utils/is-supported-import");
11
11
  var _generate = require("./generate");
12
12
  var _getTaggedTemplateExpressionOffset = require("./get-tagged-template-expression-offset");
13
13
  var _toArguments = require("./to-arguments");
14
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
15
+
14
16
  // Original source from Compiled https://github.com/atlassian-labs/compiled/blob/master/packages/eslint-plugin/src/utils/create-no-tagged-template-expression-rule/index.ts
17
+
15
18
  // eslint-disable-next-line import/no-extraneous-dependencies
16
19
 
17
20
  var noTaggedTemplateExpressionRuleSchema = exports.noTaggedTemplateExpressionRuleSchema = [{
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
2
+
1
3
  export const ruleSchema = {
2
4
  type: 'array',
3
5
  items: {
@@ -17,7 +19,7 @@ export const ruleSchema = {
17
19
  };
18
20
  const defaultConfig = {
19
21
  failSilently: false,
20
- shouldEnforceFallbacks: true,
22
+ shouldEnforceFallbacks: false,
21
23
  enableUnsafeAutofix: false
22
24
  };
23
25
  export const getConfig = overrides => {
@@ -1,4 +1,7 @@
1
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
2
+
1
3
  // Original source from Compiled https://github.com/atlassian-labs/compiled/blob/master/packages/eslint-plugin/src/utils/create-no-tagged-template-expression-rule/index.ts
4
+
2
5
  // eslint-disable-next-line import/no-extraneous-dependencies
3
6
 
4
7
  import esquery from 'esquery';
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
2
+
1
3
  export var ruleSchema = {
2
4
  type: 'array',
3
5
  items: {
@@ -17,7 +19,7 @@ export var ruleSchema = {
17
19
  };
18
20
  var defaultConfig = {
19
21
  failSilently: false,
20
- shouldEnforceFallbacks: true,
22
+ shouldEnforceFallbacks: false,
21
23
  enableUnsafeAutofix: false
22
24
  };
23
25
  export var getConfig = function getConfig(overrides) {
@@ -1,5 +1,8 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+ /* eslint-disable @atlassian/tangerine/import/entry-points */
3
+
2
4
  // Original source from Compiled https://github.com/atlassian-labs/compiled/blob/master/packages/eslint-plugin/src/utils/create-no-tagged-template-expression-rule/index.ts
5
+
3
6
  // eslint-disable-next-line import/no-extraneous-dependencies
4
7
 
5
8
  import esquery from 'esquery';
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.26.0",
4
+ "version": "11.0.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
@@ -44,8 +44,8 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@atlaskit/eslint-utils": "^1.7.0",
47
- "@atlaskit/icon": "^22.25.0",
48
- "@atlaskit/icon-lab": "^1.1.0",
47
+ "@atlaskit/icon": "^22.26.0",
48
+ "@atlaskit/icon-lab": "^1.2.0",
49
49
  "@atlaskit/tokens": "*",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@typescript-eslint/utils": "^5.48.1",