diff --git a/.eslintrc.base.js b/.eslintrc.js similarity index 92% rename from .eslintrc.base.js rename to .eslintrc.js index b76dd7be36..3749906c5c 100644 --- a/.eslintrc.base.js +++ b/.eslintrc.js @@ -61,6 +61,12 @@ module.exports = { format: ["strictCamelCase"], leadingUnderscore: "allow", }, + { + // For object literal keys we want to allow things like numbers (e.g. 35), + // type URLs (e.g. "/cosmos.feegrant.v1beta1.MsgGrantAllowance") or test data (e.g. "0.14ucoin2") + selector: "objectLiteralProperty", + format: [null], + }, ], "@typescript-eslint/no-dynamic-delete": "warn", "@typescript-eslint/no-empty-function": "off",