mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Add objectLiteralProperty to .eslintrc.base.js; rename to .eslintrc.js
This commit is contained in:
parent
910aa4976c
commit
41a3d64a3e
@ -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",
|
Loading…
x
Reference in New Issue
Block a user