Skip to content

Commit 3c125ce

Browse files
authored
Update eslint to 2.2.7 (#410)
1 parent 5b940eb commit 3c125ce

File tree

5 files changed

+162
-11
lines changed

5 files changed

+162
-11
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"parserOptions": {
66
"ecmaVersion": 9,
77
"sourceType": "module",
8-
"project": "./tsconfig.json"
8+
"project": "./tsconfig.eslint.json"
99
},
1010
"rules": {
1111
"eslint-comments/no-use": "off",

package-lock.json

Lines changed: 153 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@types/jest": "^24.0.11",
1717
"@types/node": "^11.13.5",
1818
"@types/signale": "^1.2.1",
19-
"@typescript-eslint/parser": "^1.9.0",
19+
"@typescript-eslint/parser": "^2.2.7",
2020
"concurrently": "^4.1.0",
2121
"eslint": "^5.16.0",
2222
"eslint-plugin-github": "^2.0.0",

packages/github/__tests__/github.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('@actions/github', () => {
1111

1212
beforeAll(async () => {
1313
// Start proxy server
14-
proxyServer = proxy() as http.Server
14+
proxyServer = proxy()
1515
await new Promise(resolve => {
1616
const port = Number(proxyUrl.split(':')[2])
1717
proxyServer.listen(port, () => resolve())

tsconfig.eslint.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"node_modules"
5+
]
6+
}

0 commit comments

Comments
 (0)