9898 git gc --prune=now # Garbage collect and prune unreachable objects
9999
100100 # echo "Installing ESLint dependencies..."
101- npm install --save-dev eslint @eslint/js globals
101+ npm install --save-dev eslint @eslint/js globals @typescript-eslint/eslint-plugin @typescript-eslint/parser
102102
103103
104104 if [ ! -f "eslint.config.cjs" ]; then
@@ -118,7 +118,11 @@ jobs:
118118 rules: {
119119 "no-unused-vars": "warn",
120120 "no-console": "off",
121- "@typescript-eslint/no-var-requires": 'off'
121+ "@typescript-eslint/no-var-requires": 'off',
122+ "@typescript-eslint/no-var-requires": "off",
123+ "no-prototype-builtins": "off",
124+ "@typescript-eslint/no-explicit-any": "off",
125+ "no-constant-condition": "off"
122126 }
123127 }
124128 ];
@@ -225,7 +229,7 @@ jobs:
225229 git gc --prune=now # Garbage collect and prune unreachable objects
226230
227231 echo "Installing ESLint dependencies..."
228- npm install --save-dev eslint @eslint/js globals
232+ npm install --save-dev eslint @eslint/js globals @typescript-eslint/eslint-plugin @typescript-eslint/parser
229233
230234 if [ ! -f "eslint.config.cjs" ]; then
231235 echo "Creating default ESLint config..."
@@ -243,7 +247,12 @@ jobs:
243247 },
244248 rules: {
245249 "no-unused-vars": "warn",
246- "no-console": "off"
250+ "no-console": "off",
251+ "@typescript-eslint/no-var-requires": 'off',
252+ "@typescript-eslint/no-var-requires": "off",
253+ "no-prototype-builtins": "off",
254+ "@typescript-eslint/no-explicit-any": "off",
255+ "no-constant-condition": "off"
247256 }
248257 }
249258 ];
@@ -318,7 +327,7 @@ jobs:
318327 git gc --prune=now # Garbage collect and prune unreachable objects
319328
320329 echo "Installing ESLint dependencies..."
321- npm install --save-dev eslint @eslint/js globals
330+ npm install --save-dev eslint @eslint/js globals @typescript-eslint/eslint-plugin @typescript-eslint/parser
322331
323332 if [ ! -f "eslint.config.cjs" ]; then
324333 echo "Creating default ESLint config..."
@@ -336,7 +345,12 @@ jobs:
336345 },
337346 rules: {
338347 "no-unused-vars": "warn",
339- "no-console": "off"
348+ "no-console": "off",
349+ "@typescript-eslint/no-var-requires": 'off',
350+ "@typescript-eslint/no-var-requires": "off",
351+ "no-prototype-builtins": "off",
352+ "@typescript-eslint/no-explicit-any": "off",
353+ "no-constant-condition": "off"
340354 }
341355 }
342356 ];
0 commit comments