diff --git a/.eslintrc.json b/.eslintrc.json index dc77e888..5bba7289 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,7 +38,6 @@ "plugin:@typescript-eslint/recommended" ], "rules": { - "@typescript-eslint/no-floating-promises": "warn", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-warning-comments": "off", @@ -58,7 +57,6 @@ }, "parserOptions": { "ecmaVersion": 2018, - "project": "./tsconfig.json", "sourceType": "module" } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9163b365..0920f298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [5.1.1](https://github.com/google/gts/compare/v5.1.0...v5.1.1) (2023-10-04) + + +### Bug Fixes + +* revert feat: no-floating-promises ([44de7f7](https://github.com/google/gts/commit/44de7f705cea94d4781e4eb4b2d71a4ee4f0e89d)) + ## [5.1.0](https://github.com/google/gts/compare/v5.0.1...v5.1.0) (2023-09-29) diff --git a/package-lock.json b/package-lock.json index 31e86eef..d380e76d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gts", - "version": "5.1.0", + "version": "5.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gts", - "version": "5.1.0", + "version": "5.1.1", "license": "Apache-2.0", "dependencies": { "@typescript-eslint/eslint-plugin": "5.62.0", @@ -37,7 +37,7 @@ "@types/json5": "0.0.30", "@types/mocha": "^10.0.0", "@types/ncp": "^2.0.4", - "@types/node": "20.7.1", + "@types/node": "20.8.2", "@types/prettier": "^2.1.1", "@types/rimraf": "^3.0.0", "@types/sinon": "^10.0.0", @@ -611,9 +611,9 @@ } }, "node_modules/@types/node": { - "version": "20.7.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.7.1.tgz", - "integrity": "sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==", + "version": "20.8.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz", + "integrity": "sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==", "dev": true }, "node_modules/@types/normalize-package-data": { diff --git a/package.json b/package.json index 491ff2cc..f9316de7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gts", - "version": "5.1.0", + "version": "5.1.1", "description": "Google TypeScript Style", "repository": "google/gts", "main": "build/src/index.js", @@ -68,7 +68,7 @@ "@types/json5": "0.0.30", "@types/mocha": "^10.0.0", "@types/ncp": "^2.0.4", - "@types/node": "20.7.1", + "@types/node": "20.8.2", "@types/prettier": "^2.1.1", "@types/rimraf": "^3.0.0", "@types/sinon": "^10.0.0", diff --git a/src/cli.ts b/src/cli.ts index 49671caa..4f8f137b 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -169,7 +169,6 @@ if (cli.input.length < 1) { usage(); } -// eslint-disable-next-line @typescript-eslint/no-floating-promises run(cli.input[0], cli.input.slice(1)).then(success => { if (!success) { // eslint-disable-next-line no-process-exit