@atlaskit/eslint-plugin-platform 0.2.0 → 0.2.1

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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 0.2.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "sideEffects": false
5
5
  }
@@ -4,15 +4,15 @@ export declare const getterIdentifierToFlagTypeMap: {
4
4
  readonly getBooleanFF: "boolean";
5
5
  readonly ffTest: "boolean";
6
6
  };
7
- export declare type PlatformFeatureFlagRegistrationSection = {
7
+ export type PlatformFeatureFlagRegistrationSection = {
8
8
  [key: string]: {
9
9
  type: (typeof getterIdentifierToFlagTypeMap)[keyof typeof getterIdentifierToFlagTypeMap];
10
10
  };
11
11
  };
12
- export declare type EnhancedPackageJson = readPkgUp.PackageJson & {
12
+ export type EnhancedPackageJson = readPkgUp.PackageJson & {
13
13
  'platform-feature-flags'?: PlatformFeatureFlagRegistrationSection;
14
14
  };
15
- export declare type PkgJsonMetaData = {
15
+ export type PkgJsonMetaData = {
16
16
  pkgJson: EnhancedPackageJson;
17
17
  fuse: Fuse<string> | null;
18
18
  };
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.2.0",
4
+ "version": "0.2.1",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "atlassian": {
7
7
  "team": "UIP - Platform Integration Trust (PITa)",
@@ -16,6 +16,14 @@
16
16
  "module": "dist/esm/index.js",
17
17
  "module:es2019": "dist/es2019/index.js",
18
18
  "types": "dist/types/index.d.ts",
19
+ "typesVersions": {
20
+ ">=4.5 <4.9": {
21
+ "*": [
22
+ "dist/types-ts4.5/*",
23
+ "dist/types-ts4.5/index.d.ts"
24
+ ]
25
+ }
26
+ },
19
27
  "sideEffects": false,
20
28
  "atlaskit:src": "src/index.tsx",
21
29
  "af:exports": {
@@ -0,0 +1,45 @@
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
+ ```