Skip to content

Commit 8f399ec

Browse files
committed
delete tsconfig.eslint.json files
including JS files in a tsconfig was a strange hack that won't even work anymore, it looks like @typescript-eslint/parser v8 refuses to acknowledge the .js files. move tsconfig.workers.json and let autodetection magic work.
1 parent 095d58a commit 8f399ec

File tree

20 files changed

+14
-160
lines changed

20 files changed

+14
-160
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ module.exports = {
1111
},
1212
parser: "@typescript-eslint/parser",
1313
parserOptions: {
14-
ecmaVersion: 2018,
15-
project: "./tsconfig.eslint.json",
14+
ecmaVersion: 2022,
15+
project: true,
1616
},
1717
plugins: ["@typescript-eslint", "prettier", "simple-import-sort", "import"],
1818
extends: [

packages/amino/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/cli/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/cosmwasm-stargate/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/crypto/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/encoding/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/faucet-client/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/faucet/tsconfig.eslint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/json-rpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test-safari": "yarn pack-web && karma start --single-run --browsers Safari",
3838
"test": "yarn build-or-skip && yarn test-node",
3939
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
40-
"build": "rm -rf ./build && tsc && tsc -p tsconfig.workers.json",
40+
"build": "rm -rf ./build && tsc && tsc -p src/workers/tsconfig.json",
4141
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
4242
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
4343
},
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "../..",
5+
"outDir": "../../build",
6+
"rootDir": ".."
7+
},
8+
"exclude": [
9+
"../*.ts"
10+
]
11+
}

0 commit comments

Comments
 (0)