@atlaskit/eslint-plugin-platform 0.1.8 → 0.2.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,11 @@
1
1
  # @atlaskit/eslint-plugin-platform
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
3
9
  ## 0.1.8
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -6,7 +6,7 @@ export declare const getterIdentifierToFlagTypeMap: {
6
6
  };
7
7
  export declare type PlatformFeatureFlagRegistrationSection = {
8
8
  [key: string]: {
9
- type: typeof getterIdentifierToFlagTypeMap[keyof typeof getterIdentifierToFlagTypeMap];
9
+ type: (typeof getterIdentifierToFlagTypeMap)[keyof typeof getterIdentifierToFlagTypeMap];
10
10
  };
11
11
  };
12
12
  export declare type EnhancedPackageJson = readPkgUp.PackageJson & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
3
  "description": "The essential plugin for use with Atlassian frontend platform tools",
4
- "version": "0.1.8",
4
+ "version": "0.2.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "atlassian": {
7
7
  "team": "UIP - Platform Integration Trust (PITa)",
@@ -8,7 +8,7 @@ const getDepthOfNestedRunner = (
8
8
  node: SimpleCallExpression & Rule.NodeParentExtension,
9
9
  ): number => {
10
10
  // Calculate the depth of a binary tree, using a queue to track path
11
- let queue: typeof node[] = [];
11
+ let queue: (typeof node)[] = [];
12
12
  queue.push(node);
13
13
  let depth = 0;
14
14
  while (queue.length > 0) {
@@ -12,7 +12,7 @@ export const getterIdentifierToFlagTypeMap = {
12
12
  export type PlatformFeatureFlagRegistrationSection = {
13
13
  [key: string]: {
14
14
  // get the values of the object above
15
- type: typeof getterIdentifierToFlagTypeMap[keyof typeof getterIdentifierToFlagTypeMap];
15
+ type: (typeof getterIdentifierToFlagTypeMap)[keyof typeof getterIdentifierToFlagTypeMap];
16
16
  };
17
17
  };
18
18
 
@@ -1,45 +0,0 @@
1
- ## API Report File for "@atlaskit/eslint-plugin-platform"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { Linter } from 'eslint';
8
- import { Rule } from 'eslint';
9
-
10
- // @public (undocumented)
11
- export const configs: {
12
- recommended: {
13
- plugins: string[];
14
- rules: {
15
- '@atlaskit/platform/ensure-feature-flag-registration': string;
16
- '@atlaskit/platform/ensure-feature-flag-prefix': (string | {
17
- allowedPrefixes: string[];
18
- })[];
19
- '@atlaskit/platform/ensure-test-runner-arguments': string;
20
- '@atlaskit/platform/ensure-test-runner-nested-count': string;
21
- '@atlaskit/platform/no-invalid-feature-flag-usage': string;
22
- '@atlaskit/platform/no-invalid-storybook-decorator-usage': string;
23
- };
24
- };
25
- };
26
-
27
- // @public (undocumented)
28
- export const processors: {
29
- 'package-json-processor': Linter.Processor<Linter.ProcessorFile | string>;
30
- };
31
-
32
- // @public (undocumented)
33
- export const rules: {
34
- 'ensure-feature-flag-registration': Rule.RuleModule;
35
- 'ensure-feature-flag-prefix': Rule.RuleModule;
36
- 'ensure-test-runner-arguments': Rule.RuleModule;
37
- 'ensure-test-runner-nested-count': Rule.RuleModule;
38
- 'no-invalid-feature-flag-usage': Rule.RuleModule;
39
- 'no-pre-post-install-scripts': Rule.RuleModule;
40
- 'no-invalid-storybook-decorator-usage': Rule.RuleModule;
41
- };
42
-
43
- // (No @packageDocumentation comment for this package)
44
-
45
- ```