From 451ddb130cc9717d1b32f8532cfe25713ba79db6 Mon Sep 17 00:00:00 2001 From: KevinK <31565174+kevzzsk@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:58:15 +0800 Subject: [PATCH] fix(eslint): revert no-restricted-syntax (#23) revert no-restricted-syntax --- packages/standard-linter/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/standard-linter/index.js b/packages/standard-linter/index.js index 98af666c..91270183 100644 --- a/packages/standard-linter/index.js +++ b/packages/standard-linter/index.js @@ -17,8 +17,6 @@ module.exports = { "no-await-in-loop": "off", // functions and classes are going to be hoisted in runtime "no-use-before-define": ["error", { functions: false, classes: false }], - // https://github.com/airbnb/javascript/issues/1271 - "no-restricted-syntax": "off", // Fix airbnb-typescript/base rule to allow leading underscores for unused vars "@typescript-eslint/naming-convention": [