Sort out eslint

This commit is contained in:
willclarktech
2021-05-18 15:16:03 +02:00
parent 53924829ba
commit e2caf9bde0
59 changed files with 3095 additions and 59 deletions
+10 -2
View File
@@ -17,8 +17,8 @@
"scripts": {
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
"format-text": "prettier --write \"./*.md\"",
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
"lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"lint": "eslint --max-warnings 0 \"./**/*.ts\" \"./*.js\"",
"lint-fix": "eslint --fix --max-warnings 0 \"./**/*.ts\" \"./*.js\"",
"build": "rm -rf ./build && tsc",
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
"start": "yarn build-or-skip && ./bin/cosmwasm-cli",
@@ -63,10 +63,18 @@
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/babylon": "^6.16.3",
"@types/diff": "^4",
"@types/eslint-plugin-prettier": "^3",
"@types/jasmine": "^3.6.10",
"@types/node": "^15.0.1",
"@types/yargs": "^15.0.4",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.5",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jasmine": "^3.5",
"jasmine-spec-reporter": "^6",
"nyc": "^15.1.0",