您可以使用no-restricted-syntax規則執行此操作。嘗試將其貼上到demo中進行嘗試: /* eslint no-restricted-syntax: ["error", { "selector": "ClassDeclaration > ...
確定! 回上一頁