@gooddata/eslint-config 11.17.0-alpha.4 → 11.17.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/dist/base.json CHANGED
@@ -36,7 +36,12 @@
36
36
  }
37
37
  }
38
38
  ],
39
- "no-duplicate-imports": "error",
39
+ "no-duplicate-imports": [
40
+ "error",
41
+ {
42
+ "includeExports": true
43
+ }
44
+ ],
40
45
  "no-restricted-imports": [
41
46
  "error",
42
47
  {
@@ -735,6 +740,14 @@
735
740
  {
736
741
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
737
742
  "message": "Do not use `React.*` types. Use named imports instead."
743
+ },
744
+ {
745
+ "selector": "ExportNamespaceSpecifier",
746
+ "message": "Usage of 'export * as …' is forbidden."
747
+ },
748
+ {
749
+ "selector": "ExportAllDeclaration",
750
+ "message": "Usage of `export * from` is forbidden."
738
751
  }
739
752
  ],
740
753
  "@typescript-eslint/consistent-type-imports": [
@@ -38,7 +38,12 @@
38
38
  }
39
39
  }
40
40
  ],
41
- "no-duplicate-imports": "error",
41
+ "no-duplicate-imports": [
42
+ "error",
43
+ {
44
+ "includeExports": true
45
+ }
46
+ ],
42
47
  "no-restricted-imports": [
43
48
  "error",
44
49
  {
@@ -737,6 +742,14 @@
737
742
  {
738
743
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
739
744
  "message": "Do not use `React.*` types. Use named imports instead."
745
+ },
746
+ {
747
+ "selector": "ExportNamespaceSpecifier",
748
+ "message": "Usage of 'export * as …' is forbidden."
749
+ },
750
+ {
751
+ "selector": "ExportAllDeclaration",
752
+ "message": "Usage of `export * from` is forbidden."
740
753
  }
741
754
  ],
742
755
  "@typescript-eslint/consistent-type-imports": [
package/dist/browser.json CHANGED
@@ -36,7 +36,12 @@
36
36
  }
37
37
  }
38
38
  ],
39
- "no-duplicate-imports": "error",
39
+ "no-duplicate-imports": [
40
+ "error",
41
+ {
42
+ "includeExports": true
43
+ }
44
+ ],
40
45
  "no-restricted-imports": [
41
46
  "error",
42
47
  {
@@ -735,6 +740,14 @@
735
740
  {
736
741
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
737
742
  "message": "Do not use `React.*` types. Use named imports instead."
743
+ },
744
+ {
745
+ "selector": "ExportNamespaceSpecifier",
746
+ "message": "Usage of 'export * as …' is forbidden."
747
+ },
748
+ {
749
+ "selector": "ExportAllDeclaration",
750
+ "message": "Usage of `export * from` is forbidden."
738
751
  }
739
752
  ],
740
753
  "@typescript-eslint/consistent-type-imports": [
@@ -44,7 +44,12 @@
44
44
  }
45
45
  }
46
46
  ],
47
- "no-duplicate-imports": "error",
47
+ "no-duplicate-imports": [
48
+ "error",
49
+ {
50
+ "includeExports": true
51
+ }
52
+ ],
48
53
  "no-restricted-imports": [
49
54
  "error",
50
55
  {
@@ -773,6 +778,14 @@
773
778
  {
774
779
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
775
780
  "message": "Do not use `React.*` types. Use named imports instead."
781
+ },
782
+ {
783
+ "selector": "ExportNamespaceSpecifier",
784
+ "message": "Usage of 'export * as …' is forbidden."
785
+ },
786
+ {
787
+ "selector": "ExportAllDeclaration",
788
+ "message": "Usage of `export * from` is forbidden."
776
789
  }
777
790
  ],
778
791
  "@typescript-eslint/consistent-type-imports": [
@@ -43,7 +43,12 @@
43
43
  }
44
44
  }
45
45
  ],
46
- "no-duplicate-imports": "error",
46
+ "no-duplicate-imports": [
47
+ "error",
48
+ {
49
+ "includeExports": true
50
+ }
51
+ ],
47
52
  "no-restricted-imports": [
48
53
  "error",
49
54
  {
@@ -774,6 +779,14 @@
774
779
  {
775
780
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
776
781
  "message": "Do not use `React.*` types. Use named imports instead."
782
+ },
783
+ {
784
+ "selector": "ExportNamespaceSpecifier",
785
+ "message": "Usage of 'export * as …' is forbidden."
786
+ },
787
+ {
788
+ "selector": "ExportAllDeclaration",
789
+ "message": "Usage of `export * from` is forbidden."
777
790
  }
778
791
  ],
779
792
  "@typescript-eslint/consistent-type-imports": [
@@ -43,7 +43,12 @@
43
43
  }
44
44
  }
45
45
  ],
46
- "no-duplicate-imports": "error",
46
+ "no-duplicate-imports": [
47
+ "error",
48
+ {
49
+ "includeExports": true
50
+ }
51
+ ],
47
52
  "no-restricted-imports": [
48
53
  "error",
49
54
  {
@@ -774,6 +779,14 @@
774
779
  {
775
780
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
776
781
  "message": "Do not use `React.*` types. Use named imports instead."
782
+ },
783
+ {
784
+ "selector": "ExportNamespaceSpecifier",
785
+ "message": "Usage of 'export * as …' is forbidden."
786
+ },
787
+ {
788
+ "selector": "ExportAllDeclaration",
789
+ "message": "Usage of `export * from` is forbidden."
777
790
  }
778
791
  ],
779
792
  "@typescript-eslint/consistent-type-imports": [
@@ -41,7 +41,12 @@
41
41
  }
42
42
  }
43
43
  ],
44
- "no-duplicate-imports": "error",
44
+ "no-duplicate-imports": [
45
+ "error",
46
+ {
47
+ "includeExports": true
48
+ }
49
+ ],
45
50
  "no-restricted-imports": [
46
51
  "error",
47
52
  {
@@ -765,6 +770,14 @@
765
770
  {
766
771
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
767
772
  "message": "Do not use `React.*` types. Use named imports instead."
773
+ },
774
+ {
775
+ "selector": "ExportNamespaceSpecifier",
776
+ "message": "Usage of 'export * as …' is forbidden."
777
+ },
778
+ {
779
+ "selector": "ExportAllDeclaration",
780
+ "message": "Usage of `export * from` is forbidden."
768
781
  }
769
782
  ],
770
783
  "@typescript-eslint/consistent-type-imports": [
@@ -40,7 +40,12 @@
40
40
  }
41
41
  }
42
42
  ],
43
- "no-duplicate-imports": "error",
43
+ "no-duplicate-imports": [
44
+ "error",
45
+ {
46
+ "includeExports": true
47
+ }
48
+ ],
44
49
  "no-restricted-imports": [
45
50
  "error",
46
51
  {
@@ -746,6 +751,14 @@
746
751
  {
747
752
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
748
753
  "message": "Do not use `React.*` types. Use named imports instead."
754
+ },
755
+ {
756
+ "selector": "ExportNamespaceSpecifier",
757
+ "message": "Usage of 'export * as …' is forbidden."
758
+ },
759
+ {
760
+ "selector": "ExportAllDeclaration",
761
+ "message": "Usage of `export * from` is forbidden."
749
762
  }
750
763
  ],
751
764
  "@typescript-eslint/consistent-type-imports": [
package/dist/esm.json CHANGED
@@ -38,7 +38,12 @@
38
38
  }
39
39
  }
40
40
  ],
41
- "no-duplicate-imports": "error",
41
+ "no-duplicate-imports": [
42
+ "error",
43
+ {
44
+ "includeExports": true
45
+ }
46
+ ],
42
47
  "no-restricted-imports": [
43
48
  "error",
44
49
  {
@@ -737,6 +742,14 @@
737
742
  {
738
743
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
739
744
  "message": "Do not use `React.*` types. Use named imports instead."
745
+ },
746
+ {
747
+ "selector": "ExportNamespaceSpecifier",
748
+ "message": "Usage of 'export * as …' is forbidden."
749
+ },
750
+ {
751
+ "selector": "ExportAllDeclaration",
752
+ "message": "Usage of `export * from` is forbidden."
740
753
  }
741
754
  ],
742
755
  "@typescript-eslint/consistent-type-imports": [
@@ -42,7 +42,12 @@
42
42
  }
43
43
  }
44
44
  ],
45
- "no-duplicate-imports": "error",
45
+ "no-duplicate-imports": [
46
+ "error",
47
+ {
48
+ "includeExports": true
49
+ }
50
+ ],
46
51
  "no-restricted-imports": [
47
52
  "error",
48
53
  {
@@ -771,6 +776,14 @@
771
776
  {
772
777
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
773
778
  "message": "Do not use `React.*` types. Use named imports instead."
779
+ },
780
+ {
781
+ "selector": "ExportNamespaceSpecifier",
782
+ "message": "Usage of 'export * as …' is forbidden."
783
+ },
784
+ {
785
+ "selector": "ExportAllDeclaration",
786
+ "message": "Usage of `export * from` is forbidden."
774
787
  }
775
788
  ],
776
789
  "@typescript-eslint/consistent-type-imports": [
@@ -41,7 +41,12 @@
41
41
  }
42
42
  }
43
43
  ],
44
- "no-duplicate-imports": "error",
44
+ "no-duplicate-imports": [
45
+ "error",
46
+ {
47
+ "includeExports": true
48
+ }
49
+ ],
45
50
  "no-restricted-imports": [
46
51
  "error",
47
52
  {
@@ -772,6 +777,14 @@
772
777
  {
773
778
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
774
779
  "message": "Do not use `React.*` types. Use named imports instead."
780
+ },
781
+ {
782
+ "selector": "ExportNamespaceSpecifier",
783
+ "message": "Usage of 'export * as …' is forbidden."
784
+ },
785
+ {
786
+ "selector": "ExportAllDeclaration",
787
+ "message": "Usage of `export * from` is forbidden."
775
788
  }
776
789
  ],
777
790
  "@typescript-eslint/consistent-type-imports": [
package/dist/react.json CHANGED
@@ -39,7 +39,12 @@
39
39
  }
40
40
  }
41
41
  ],
42
- "no-duplicate-imports": "error",
42
+ "no-duplicate-imports": [
43
+ "error",
44
+ {
45
+ "includeExports": true
46
+ }
47
+ ],
43
48
  "no-restricted-imports": [
44
49
  "error",
45
50
  {
@@ -763,6 +768,14 @@
763
768
  {
764
769
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
765
770
  "message": "Do not use `React.*` types. Use named imports instead."
771
+ },
772
+ {
773
+ "selector": "ExportNamespaceSpecifier",
774
+ "message": "Usage of 'export * as …' is forbidden."
775
+ },
776
+ {
777
+ "selector": "ExportAllDeclaration",
778
+ "message": "Usage of `export * from` is forbidden."
766
779
  }
767
780
  ],
768
781
  "@typescript-eslint/consistent-type-imports": [
package/dist/vitest.json CHANGED
@@ -38,7 +38,12 @@
38
38
  }
39
39
  }
40
40
  ],
41
- "no-duplicate-imports": "error",
41
+ "no-duplicate-imports": [
42
+ "error",
43
+ {
44
+ "includeExports": true
45
+ }
46
+ ],
42
47
  "no-restricted-imports": [
43
48
  "error",
44
49
  {
@@ -744,6 +749,14 @@
744
749
  {
745
750
  "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
746
751
  "message": "Do not use `React.*` types. Use named imports instead."
752
+ },
753
+ {
754
+ "selector": "ExportNamespaceSpecifier",
755
+ "message": "Usage of 'export * as …' is forbidden."
756
+ },
757
+ {
758
+ "selector": "ExportAllDeclaration",
759
+ "message": "Usage of `export * from` is forbidden."
747
760
  }
748
761
  ],
749
762
  "@typescript-eslint/consistent-type-imports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/eslint-config",
3
- "version": "11.17.0-alpha.4",
3
+ "version": "11.17.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/gooddata/gooddata-ui-sdk.git",