update eslint-plugin-github (#48)

* update eslint-plugin-github

* remove non-existent eslint rules

* fix a lint error
This commit is contained in:
Naoki Oketani
2020-03-14 19:21:06 +09:00
committed by GitHub
parent 7f304403a6
commit 56cc033b69
4 changed files with 932 additions and 332 deletions

View File

@@ -32,7 +32,6 @@
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-object-literal-type-assertion": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-useless-constructor": "error",
@@ -40,7 +39,6 @@
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-interface": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",

1257
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -38,8 +38,9 @@
"@typescript-eslint/parser": "^2.23.0",
"@zeit/ncc": "^0.21.1",
"eslint": "^6.8.0",
"eslint-plugin-github": "^2.0.0",
"eslint-plugin-github": "^3.4.1",
"eslint-plugin-jest": "^23.8.2",
"graphql": "^14.6.0",
"jest": "^25.1.0",
"jest-circus": "^25.1.0",
"js-yaml": "^3.13.1",

View File

@@ -2,7 +2,7 @@ import {spawnSync, SpawnSyncReturns} from 'child_process'
import stripAnsi from 'strip-ansi'
export class Audit {
stdout: string = ''
stdout = ''
private status: number | null = null
public async run(): Promise<void> {