File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,6 +231,52 @@ export interface ECMAScript6 extends Linter.RulesRecord {
231231 */
232232 "no-new-symbol" : Linter . RuleEntry < [ ] > ;
233233
234+ /**
235+ * Rule to disallow specified names in exports.
236+ *
237+ * @since 7.0.0-alpha.0
238+ * @see https://eslint.org/docs/rules/no-restricted-exports
239+ */
240+ "no-restricted-exports" : Linter . RuleEntry <
241+ [
242+ Partial < {
243+ /**
244+ * @default []
245+ */
246+ restrictedNamedExports : string [ ] ;
247+ /**
248+ * @since 9.3.0
249+ */
250+ restrictedNamedExportsPattern : string ;
251+ /**
252+ * @since 8.33.0
253+ */
254+ restrictDefaultExports : Partial < {
255+ /**
256+ * @default false
257+ */
258+ direct : boolean ;
259+ /**
260+ * @default false
261+ */
262+ named : boolean ;
263+ /**
264+ * @default false
265+ */
266+ defaultFrom : boolean ;
267+ /**
268+ * @default false
269+ */
270+ namedFrom : boolean ;
271+ /**
272+ * @default false
273+ */
274+ namespaceFrom : boolean ;
275+ } > ;
276+ } > ,
277+ ]
278+ > ;
279+
234280 /**
235281 * Rule to disallow specified modules when loaded by `import`.
236282 *
You can’t perform that action at this time.
0 commit comments