@gooddata/oxlint-config 11.19.0-alpha.11 → 11.20.0-alpha.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/esm.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "plugins": [
4
4
  "oxc",
5
5
  "eslint",
6
+ "typescript",
6
7
  "import"
7
8
  ],
8
9
  "jsPlugins": [
@@ -621,6 +622,7 @@
621
622
  "no-extra-boolean-cast": "error",
622
623
  "no-unexpected-multiline": "off",
623
624
  "no-duplicate-imports": "error",
625
+ "prefer-const": "off",
624
626
  "headers/header-format": [
625
627
  "error",
626
628
  {
@@ -2007,6 +2009,134 @@
2007
2009
  "no-restricted-exports": "off"
2008
2010
  }
2009
2011
  },
2012
+ {
2013
+ "files": [
2014
+ "**/*.ts",
2015
+ "**/*.tsx",
2016
+ "**/*.mts",
2017
+ "**/*.cts"
2018
+ ],
2019
+ "rules": {
2020
+ "constructor-super": "off",
2021
+ "getter-return": "off",
2022
+ "no-class-assign": "off",
2023
+ "no-const-assign": "off",
2024
+ "no-dupe-args": "off",
2025
+ "no-dupe-class-members": "off",
2026
+ "no-dupe-keys": "off",
2027
+ "no-func-assign": "off",
2028
+ "no-import-assign": "off",
2029
+ "no-new-native-nonconstructor": "off",
2030
+ "no-new-symbol": "off",
2031
+ "no-obj-calls": "off",
2032
+ "no-redeclare": "off",
2033
+ "no-setter-return": "off",
2034
+ "no-this-before-super": "off",
2035
+ "no-undef": "off",
2036
+ "no-unreachable": "off",
2037
+ "no-unsafe-negation": "off",
2038
+ "no-var": "error",
2039
+ "no-with": "off",
2040
+ "prefer-const": "error",
2041
+ "prefer-rest-params": "error",
2042
+ "prefer-spread": "error",
2043
+ "no-array-constructor": "off",
2044
+ "no-unused-expressions": "off",
2045
+ "no-unused-vars": "off",
2046
+ "@typescript-eslint/no-array-constructor": "error",
2047
+ "@typescript-eslint/no-duplicate-enum-values": "error",
2048
+ "@typescript-eslint/no-empty-object-type": "error",
2049
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
2050
+ "@typescript-eslint/no-misused-new": "error",
2051
+ "@typescript-eslint/no-namespace": "error",
2052
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
2053
+ "@typescript-eslint/no-require-imports": "error",
2054
+ "@typescript-eslint/no-this-alias": "error",
2055
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
2056
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
2057
+ "@typescript-eslint/prefer-as-const": "error",
2058
+ "@typescript-eslint/prefer-namespace-keyword": "error",
2059
+ "@typescript-eslint/triple-slash-reference": "error",
2060
+ "@typescript-eslint/explicit-function-return-type": 0,
2061
+ "@typescript-eslint/no-use-before-define": 0,
2062
+ "@typescript-eslint/no-empty-function": 0,
2063
+ "@typescript-eslint/no-unused-vars": [
2064
+ 2,
2065
+ {
2066
+ "varsIgnorePattern": "^_.*$",
2067
+ "argsIgnorePattern": "^_.*$"
2068
+ }
2069
+ ],
2070
+ "@typescript-eslint/no-explicit-any": "error",
2071
+ "@typescript-eslint/array-type": "off",
2072
+ "@typescript-eslint/ban-ts-comment": [
2073
+ "error",
2074
+ {
2075
+ "ts-expect-error": "allow-with-description"
2076
+ }
2077
+ ],
2078
+ "@typescript-eslint/no-wrapper-object-types": "error",
2079
+ "@typescript-eslint/no-unsafe-function-type": "error",
2080
+ "@typescript-eslint/no-restricted-types": [
2081
+ "error",
2082
+ {
2083
+ "types": {
2084
+ "String": {
2085
+ "message": "Use 'string' instead",
2086
+ "fixWith": "string"
2087
+ },
2088
+ "Number": {
2089
+ "message": "Use 'number' instead",
2090
+ "fixWith": "number"
2091
+ },
2092
+ "Boolean": {
2093
+ "message": "Use 'boolean' instead",
2094
+ "fixWith": "boolean"
2095
+ },
2096
+ "Symbol": {
2097
+ "message": "Use 'symbol' instead",
2098
+ "fixWith": "symbol"
2099
+ }
2100
+ }
2101
+ }
2102
+ ],
2103
+ "@typescript-eslint/explicit-member-accessibility": "off",
2104
+ "@typescript-eslint/interface-name-prefix": "off",
2105
+ "@typescript-eslint/member-ordering": "off",
2106
+ "@typescript-eslint/no-inferrable-types": "off",
2107
+ "@typescript-eslint/no-non-null-assertion": "off",
2108
+ "no-restricted-syntax": [
2109
+ "error",
2110
+ {
2111
+ "selector": "MemberExpression[object.name='React']",
2112
+ "message": "Do not use `React.*`. Use named imports instead."
2113
+ },
2114
+ {
2115
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2116
+ "message": "Do not use `React.*` types. Use named imports instead."
2117
+ },
2118
+ {
2119
+ "selector": "ExportNamespaceSpecifier",
2120
+ "message": "Usage of 'export * as …' is forbidden."
2121
+ },
2122
+ {
2123
+ "selector": "ExportAllDeclaration",
2124
+ "message": "Usage of `export * from` is forbidden."
2125
+ },
2126
+ {
2127
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2128
+ "message": "Do not use `import * as ...` from relative paths."
2129
+ }
2130
+ ],
2131
+ "@typescript-eslint/consistent-type-imports": [
2132
+ "error",
2133
+ {
2134
+ "prefer": "type-imports",
2135
+ "fixStyle": "inline-type-imports"
2136
+ }
2137
+ ]
2138
+ }
2139
+ },
2010
2140
  {
2011
2141
  "files": [
2012
2142
  "**/eslint.config.ts"
@@ -3,6 +3,7 @@
3
3
  "plugins": [
4
4
  "oxc",
5
5
  "eslint",
6
+ "typescript",
6
7
  "import"
7
8
  ],
8
9
  "jsPlugins": [
@@ -629,6 +630,7 @@
629
630
  "no-extra-boolean-cast": "error",
630
631
  "no-unexpected-multiline": "off",
631
632
  "no-duplicate-imports": "error",
633
+ "prefer-const": "off",
632
634
  "headers/header-format": [
633
635
  "error",
634
636
  {
@@ -2031,6 +2033,134 @@
2031
2033
  "no-restricted-exports": "off"
2032
2034
  }
2033
2035
  },
2036
+ {
2037
+ "files": [
2038
+ "**/*.ts",
2039
+ "**/*.tsx",
2040
+ "**/*.mts",
2041
+ "**/*.cts"
2042
+ ],
2043
+ "rules": {
2044
+ "constructor-super": "off",
2045
+ "getter-return": "off",
2046
+ "no-class-assign": "off",
2047
+ "no-const-assign": "off",
2048
+ "no-dupe-args": "off",
2049
+ "no-dupe-class-members": "off",
2050
+ "no-dupe-keys": "off",
2051
+ "no-func-assign": "off",
2052
+ "no-import-assign": "off",
2053
+ "no-new-native-nonconstructor": "off",
2054
+ "no-new-symbol": "off",
2055
+ "no-obj-calls": "off",
2056
+ "no-redeclare": "off",
2057
+ "no-setter-return": "off",
2058
+ "no-this-before-super": "off",
2059
+ "no-undef": "off",
2060
+ "no-unreachable": "off",
2061
+ "no-unsafe-negation": "off",
2062
+ "no-var": "error",
2063
+ "no-with": "off",
2064
+ "prefer-const": "error",
2065
+ "prefer-rest-params": "error",
2066
+ "prefer-spread": "error",
2067
+ "no-array-constructor": "off",
2068
+ "no-unused-expressions": "off",
2069
+ "no-unused-vars": "off",
2070
+ "@typescript-eslint/no-array-constructor": "error",
2071
+ "@typescript-eslint/no-duplicate-enum-values": "error",
2072
+ "@typescript-eslint/no-empty-object-type": "error",
2073
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
2074
+ "@typescript-eslint/no-misused-new": "error",
2075
+ "@typescript-eslint/no-namespace": "error",
2076
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
2077
+ "@typescript-eslint/no-require-imports": "error",
2078
+ "@typescript-eslint/no-this-alias": "error",
2079
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
2080
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
2081
+ "@typescript-eslint/prefer-as-const": "error",
2082
+ "@typescript-eslint/prefer-namespace-keyword": "error",
2083
+ "@typescript-eslint/triple-slash-reference": "error",
2084
+ "@typescript-eslint/explicit-function-return-type": 0,
2085
+ "@typescript-eslint/no-use-before-define": 0,
2086
+ "@typescript-eslint/no-empty-function": 0,
2087
+ "@typescript-eslint/no-unused-vars": [
2088
+ 2,
2089
+ {
2090
+ "varsIgnorePattern": "^_.*$",
2091
+ "argsIgnorePattern": "^_.*$"
2092
+ }
2093
+ ],
2094
+ "@typescript-eslint/no-explicit-any": "error",
2095
+ "@typescript-eslint/array-type": "off",
2096
+ "@typescript-eslint/ban-ts-comment": [
2097
+ "error",
2098
+ {
2099
+ "ts-expect-error": "allow-with-description"
2100
+ }
2101
+ ],
2102
+ "@typescript-eslint/no-wrapper-object-types": "error",
2103
+ "@typescript-eslint/no-unsafe-function-type": "error",
2104
+ "@typescript-eslint/no-restricted-types": [
2105
+ "error",
2106
+ {
2107
+ "types": {
2108
+ "String": {
2109
+ "message": "Use 'string' instead",
2110
+ "fixWith": "string"
2111
+ },
2112
+ "Number": {
2113
+ "message": "Use 'number' instead",
2114
+ "fixWith": "number"
2115
+ },
2116
+ "Boolean": {
2117
+ "message": "Use 'boolean' instead",
2118
+ "fixWith": "boolean"
2119
+ },
2120
+ "Symbol": {
2121
+ "message": "Use 'symbol' instead",
2122
+ "fixWith": "symbol"
2123
+ }
2124
+ }
2125
+ }
2126
+ ],
2127
+ "@typescript-eslint/explicit-member-accessibility": "off",
2128
+ "@typescript-eslint/interface-name-prefix": "off",
2129
+ "@typescript-eslint/member-ordering": "off",
2130
+ "@typescript-eslint/no-inferrable-types": "off",
2131
+ "@typescript-eslint/no-non-null-assertion": "off",
2132
+ "no-restricted-syntax": [
2133
+ "error",
2134
+ {
2135
+ "selector": "MemberExpression[object.name='React']",
2136
+ "message": "Do not use `React.*`. Use named imports instead."
2137
+ },
2138
+ {
2139
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2140
+ "message": "Do not use `React.*` types. Use named imports instead."
2141
+ },
2142
+ {
2143
+ "selector": "ExportNamespaceSpecifier",
2144
+ "message": "Usage of 'export * as …' is forbidden."
2145
+ },
2146
+ {
2147
+ "selector": "ExportAllDeclaration",
2148
+ "message": "Usage of `export * from` is forbidden."
2149
+ },
2150
+ {
2151
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2152
+ "message": "Do not use `import * as ...` from relative paths."
2153
+ }
2154
+ ],
2155
+ "@typescript-eslint/consistent-type-imports": [
2156
+ "error",
2157
+ {
2158
+ "prefer": "type-imports",
2159
+ "fixStyle": "inline-type-imports"
2160
+ }
2161
+ ]
2162
+ }
2163
+ },
2034
2164
  {
2035
2165
  "files": [
2036
2166
  "**/eslint.config.ts"
@@ -3,6 +3,7 @@
3
3
  "plugins": [
4
4
  "oxc",
5
5
  "eslint",
6
+ "typescript",
6
7
  "import"
7
8
  ],
8
9
  "jsPlugins": [
@@ -621,6 +622,7 @@
621
622
  "no-extra-boolean-cast": "error",
622
623
  "no-unexpected-multiline": "off",
623
624
  "no-duplicate-imports": "error",
625
+ "prefer-const": "off",
624
626
  "headers/header-format": [
625
627
  "error",
626
628
  {
@@ -2017,6 +2019,134 @@
2017
2019
  "no-restricted-exports": "off"
2018
2020
  }
2019
2021
  },
2022
+ {
2023
+ "files": [
2024
+ "**/*.ts",
2025
+ "**/*.tsx",
2026
+ "**/*.mts",
2027
+ "**/*.cts"
2028
+ ],
2029
+ "rules": {
2030
+ "constructor-super": "off",
2031
+ "getter-return": "off",
2032
+ "no-class-assign": "off",
2033
+ "no-const-assign": "off",
2034
+ "no-dupe-args": "off",
2035
+ "no-dupe-class-members": "off",
2036
+ "no-dupe-keys": "off",
2037
+ "no-func-assign": "off",
2038
+ "no-import-assign": "off",
2039
+ "no-new-native-nonconstructor": "off",
2040
+ "no-new-symbol": "off",
2041
+ "no-obj-calls": "off",
2042
+ "no-redeclare": "off",
2043
+ "no-setter-return": "off",
2044
+ "no-this-before-super": "off",
2045
+ "no-undef": "off",
2046
+ "no-unreachable": "off",
2047
+ "no-unsafe-negation": "off",
2048
+ "no-var": "error",
2049
+ "no-with": "off",
2050
+ "prefer-const": "error",
2051
+ "prefer-rest-params": "error",
2052
+ "prefer-spread": "error",
2053
+ "no-array-constructor": "off",
2054
+ "no-unused-expressions": "off",
2055
+ "no-unused-vars": "off",
2056
+ "@typescript-eslint/no-array-constructor": "error",
2057
+ "@typescript-eslint/no-duplicate-enum-values": "error",
2058
+ "@typescript-eslint/no-empty-object-type": "error",
2059
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
2060
+ "@typescript-eslint/no-misused-new": "error",
2061
+ "@typescript-eslint/no-namespace": "error",
2062
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
2063
+ "@typescript-eslint/no-require-imports": "error",
2064
+ "@typescript-eslint/no-this-alias": "error",
2065
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
2066
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
2067
+ "@typescript-eslint/prefer-as-const": "error",
2068
+ "@typescript-eslint/prefer-namespace-keyword": "error",
2069
+ "@typescript-eslint/triple-slash-reference": "error",
2070
+ "@typescript-eslint/explicit-function-return-type": 0,
2071
+ "@typescript-eslint/no-use-before-define": 0,
2072
+ "@typescript-eslint/no-empty-function": 0,
2073
+ "@typescript-eslint/no-unused-vars": [
2074
+ 2,
2075
+ {
2076
+ "varsIgnorePattern": "^_.*$",
2077
+ "argsIgnorePattern": "^_.*$"
2078
+ }
2079
+ ],
2080
+ "@typescript-eslint/no-explicit-any": "error",
2081
+ "@typescript-eslint/array-type": "off",
2082
+ "@typescript-eslint/ban-ts-comment": [
2083
+ "error",
2084
+ {
2085
+ "ts-expect-error": "allow-with-description"
2086
+ }
2087
+ ],
2088
+ "@typescript-eslint/no-wrapper-object-types": "error",
2089
+ "@typescript-eslint/no-unsafe-function-type": "error",
2090
+ "@typescript-eslint/no-restricted-types": [
2091
+ "error",
2092
+ {
2093
+ "types": {
2094
+ "String": {
2095
+ "message": "Use 'string' instead",
2096
+ "fixWith": "string"
2097
+ },
2098
+ "Number": {
2099
+ "message": "Use 'number' instead",
2100
+ "fixWith": "number"
2101
+ },
2102
+ "Boolean": {
2103
+ "message": "Use 'boolean' instead",
2104
+ "fixWith": "boolean"
2105
+ },
2106
+ "Symbol": {
2107
+ "message": "Use 'symbol' instead",
2108
+ "fixWith": "symbol"
2109
+ }
2110
+ }
2111
+ }
2112
+ ],
2113
+ "@typescript-eslint/explicit-member-accessibility": "off",
2114
+ "@typescript-eslint/interface-name-prefix": "off",
2115
+ "@typescript-eslint/member-ordering": "off",
2116
+ "@typescript-eslint/no-inferrable-types": "off",
2117
+ "@typescript-eslint/no-non-null-assertion": "off",
2118
+ "no-restricted-syntax": [
2119
+ "error",
2120
+ {
2121
+ "selector": "MemberExpression[object.name='React']",
2122
+ "message": "Do not use `React.*`. Use named imports instead."
2123
+ },
2124
+ {
2125
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2126
+ "message": "Do not use `React.*` types. Use named imports instead."
2127
+ },
2128
+ {
2129
+ "selector": "ExportNamespaceSpecifier",
2130
+ "message": "Usage of 'export * as …' is forbidden."
2131
+ },
2132
+ {
2133
+ "selector": "ExportAllDeclaration",
2134
+ "message": "Usage of `export * from` is forbidden."
2135
+ },
2136
+ {
2137
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2138
+ "message": "Do not use `import * as ...` from relative paths."
2139
+ }
2140
+ ],
2141
+ "@typescript-eslint/consistent-type-imports": [
2142
+ "error",
2143
+ {
2144
+ "prefer": "type-imports",
2145
+ "fixStyle": "inline-type-imports"
2146
+ }
2147
+ ]
2148
+ }
2149
+ },
2020
2150
  {
2021
2151
  "files": [
2022
2152
  "**/eslint.config.ts"
package/dist/react.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "plugins": [
4
4
  "oxc",
5
5
  "eslint",
6
+ "typescript",
6
7
  "import"
7
8
  ],
8
9
  "jsPlugins": [
@@ -617,6 +618,7 @@
617
618
  "no-extra-boolean-cast": "error",
618
619
  "no-unexpected-multiline": "off",
619
620
  "no-duplicate-imports": "error",
621
+ "prefer-const": "off",
620
622
  "headers/header-format": [
621
623
  "error",
622
624
  {
@@ -2002,6 +2004,134 @@
2002
2004
  "no-restricted-exports": "off"
2003
2005
  }
2004
2006
  },
2007
+ {
2008
+ "files": [
2009
+ "**/*.ts",
2010
+ "**/*.tsx",
2011
+ "**/*.mts",
2012
+ "**/*.cts"
2013
+ ],
2014
+ "rules": {
2015
+ "constructor-super": "off",
2016
+ "getter-return": "off",
2017
+ "no-class-assign": "off",
2018
+ "no-const-assign": "off",
2019
+ "no-dupe-args": "off",
2020
+ "no-dupe-class-members": "off",
2021
+ "no-dupe-keys": "off",
2022
+ "no-func-assign": "off",
2023
+ "no-import-assign": "off",
2024
+ "no-new-native-nonconstructor": "off",
2025
+ "no-new-symbol": "off",
2026
+ "no-obj-calls": "off",
2027
+ "no-redeclare": "off",
2028
+ "no-setter-return": "off",
2029
+ "no-this-before-super": "off",
2030
+ "no-undef": "off",
2031
+ "no-unreachable": "off",
2032
+ "no-unsafe-negation": "off",
2033
+ "no-var": "error",
2034
+ "no-with": "off",
2035
+ "prefer-const": "error",
2036
+ "prefer-rest-params": "error",
2037
+ "prefer-spread": "error",
2038
+ "no-array-constructor": "off",
2039
+ "no-unused-expressions": "off",
2040
+ "no-unused-vars": "off",
2041
+ "@typescript-eslint/no-array-constructor": "error",
2042
+ "@typescript-eslint/no-duplicate-enum-values": "error",
2043
+ "@typescript-eslint/no-empty-object-type": "error",
2044
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
2045
+ "@typescript-eslint/no-misused-new": "error",
2046
+ "@typescript-eslint/no-namespace": "error",
2047
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
2048
+ "@typescript-eslint/no-require-imports": "error",
2049
+ "@typescript-eslint/no-this-alias": "error",
2050
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
2051
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
2052
+ "@typescript-eslint/prefer-as-const": "error",
2053
+ "@typescript-eslint/prefer-namespace-keyword": "error",
2054
+ "@typescript-eslint/triple-slash-reference": "error",
2055
+ "@typescript-eslint/explicit-function-return-type": 0,
2056
+ "@typescript-eslint/no-use-before-define": 0,
2057
+ "@typescript-eslint/no-empty-function": 0,
2058
+ "@typescript-eslint/no-unused-vars": [
2059
+ 2,
2060
+ {
2061
+ "varsIgnorePattern": "^_.*$",
2062
+ "argsIgnorePattern": "^_.*$"
2063
+ }
2064
+ ],
2065
+ "@typescript-eslint/no-explicit-any": "error",
2066
+ "@typescript-eslint/array-type": "off",
2067
+ "@typescript-eslint/ban-ts-comment": [
2068
+ "error",
2069
+ {
2070
+ "ts-expect-error": "allow-with-description"
2071
+ }
2072
+ ],
2073
+ "@typescript-eslint/no-wrapper-object-types": "error",
2074
+ "@typescript-eslint/no-unsafe-function-type": "error",
2075
+ "@typescript-eslint/no-restricted-types": [
2076
+ "error",
2077
+ {
2078
+ "types": {
2079
+ "String": {
2080
+ "message": "Use 'string' instead",
2081
+ "fixWith": "string"
2082
+ },
2083
+ "Number": {
2084
+ "message": "Use 'number' instead",
2085
+ "fixWith": "number"
2086
+ },
2087
+ "Boolean": {
2088
+ "message": "Use 'boolean' instead",
2089
+ "fixWith": "boolean"
2090
+ },
2091
+ "Symbol": {
2092
+ "message": "Use 'symbol' instead",
2093
+ "fixWith": "symbol"
2094
+ }
2095
+ }
2096
+ }
2097
+ ],
2098
+ "@typescript-eslint/explicit-member-accessibility": "off",
2099
+ "@typescript-eslint/interface-name-prefix": "off",
2100
+ "@typescript-eslint/member-ordering": "off",
2101
+ "@typescript-eslint/no-inferrable-types": "off",
2102
+ "@typescript-eslint/no-non-null-assertion": "off",
2103
+ "no-restricted-syntax": [
2104
+ "error",
2105
+ {
2106
+ "selector": "MemberExpression[object.name='React']",
2107
+ "message": "Do not use `React.*`. Use named imports instead."
2108
+ },
2109
+ {
2110
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2111
+ "message": "Do not use `React.*` types. Use named imports instead."
2112
+ },
2113
+ {
2114
+ "selector": "ExportNamespaceSpecifier",
2115
+ "message": "Usage of 'export * as …' is forbidden."
2116
+ },
2117
+ {
2118
+ "selector": "ExportAllDeclaration",
2119
+ "message": "Usage of `export * from` is forbidden."
2120
+ },
2121
+ {
2122
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2123
+ "message": "Do not use `import * as ...` from relative paths."
2124
+ }
2125
+ ],
2126
+ "@typescript-eslint/consistent-type-imports": [
2127
+ "error",
2128
+ {
2129
+ "prefer": "type-imports",
2130
+ "fixStyle": "inline-type-imports"
2131
+ }
2132
+ ]
2133
+ }
2134
+ },
2005
2135
  {
2006
2136
  "files": [
2007
2137
  "**/eslint.config.ts"