Skip to content

Commit 3127c26

Browse files
authored
Fix linting errors in the eslint plugin (Azure#11254)
1 parent 880a07c commit 3127c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/tools/eslint-plugin-azure-sdk/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"parser": "@typescript-eslint/parser",
2222
"rules": {
2323
"@typescript-eslint/indent": "off",
24-
"@typescript-eslint/no-magic-numbers": ["error", { "ignore": [0] }],
24+
"@typescript-eslint/no-magic-numbers": ["error", { "ignore": [0], "ignoreArrayIndexes": true }],
2525
"@typescript-eslint/no-explicit-any": "off",
2626
"@typescript-eslint/no-non-null-assertion": "off",
2727
"arrow-body-style": ["error", "as-needed"],

0 commit comments

Comments
 (0)