mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 05:37:11 +00:00
Adjust eslint config to make it work again
This commit is contained in:
parent
41a3d64a3e
commit
68a7a1ccfb
10
.eslintrc.js
10
.eslintrc.js
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -65,7 +73,7 @@ module.exports = {
|
||||
// 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],
|
||||
format: null,
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/no-dynamic-delete": "warn",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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",
|
||||
|
@ -1,4 +1,12 @@
|
||||
// The master version of this file is in the repo root. Eslint seems to have
|
||||
// problems using symbolic links for the config file, so we copy it to the packages.
|
||||
// To update:
|
||||
// 1. Go to the repo root
|
||||
// 2. Make edits in .eslintrc.js
|
||||
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es6: true,
|
||||
jasmine: true,
|
||||
@ -61,6 +69,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