Skip to content

Commit 74192f8

Browse files
authored
chore: bump dependencies (typescript-eslint#1208)
1 parent e2008e3 commit 74192f8

22 files changed

+656
-591
lines changed

.all-contributorsrc

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,34 @@
5858
"profile": "https://github.com/j-f1",
5959
"contributions": []
6060
},
61+
{
62+
"login": "a-tarasyuk",
63+
"name": "Alexander T.",
64+
"avatar_url": "https://avatars0.githubusercontent.com/u/509265?v=4",
65+
"profile": "https://github.com/a-tarasyuk",
66+
"contributions": []
67+
},
6168
{
6269
"login": "uniqueiniquity",
6370
"name": "Ben Lichtman",
6471
"avatar_url": "https://avatars1.githubusercontent.com/u/9092011?v=4",
6572
"profile": "https://github.com/uniqueiniquity",
6673
"contributions": []
6774
},
75+
{
76+
"login": "scottohara",
77+
"name": "Scott O'Hara",
78+
"avatar_url": "https://avatars3.githubusercontent.com/u/289327?v=4",
79+
"profile": "https://github.com/scottohara",
80+
"contributions": []
81+
},
82+
{
83+
"login": "JoshuaKGoldberg",
84+
"name": "Josh Goldberg",
85+
"avatar_url": "https://avatars1.githubusercontent.com/u/3335181?v=4",
86+
"profile": "https://github.com/JoshuaKGoldberg",
87+
"contributions": []
88+
},
6889
{
6990
"login": "kaicataldo",
7091
"name": "Kai Cataldo",
@@ -86,13 +107,6 @@
86107
"profile": "https://github.com/mysticatea",
87108
"contributions": []
88109
},
89-
{
90-
"login": "JoshuaKGoldberg",
91-
"name": "Josh Goldberg",
92-
"avatar_url": "https://avatars1.githubusercontent.com/u/3335181?v=4",
93-
"profile": "https://github.com/JoshuaKGoldberg",
94-
"contributions": []
95-
},
96110
{
97111
"login": "azz",
98112
"name": "Lucas Azzola",
@@ -114,13 +128,6 @@
114128
"profile": "https://github.com/ikatyang",
115129
"contributions": []
116130
},
117-
{
118-
"login": "scottohara",
119-
"name": "Scott O'Hara",
120-
"avatar_url": "https://avatars3.githubusercontent.com/u/289327?v=4",
121-
"profile": "https://github.com/scottohara",
122-
"contributions": []
123-
},
124131
{
125132
"login": "macklinu",
126133
"name": "mackie",
@@ -177,27 +184,41 @@
177184
"profile": "https://github.com/octogonz",
178185
"contributions": []
179186
},
187+
{
188+
"login": "Retsam",
189+
"name": "Retsam",
190+
"avatar_url": "https://avatars0.githubusercontent.com/u/2281166?v=4",
191+
"profile": "https://github.com/Retsam",
192+
"contributions": []
193+
},
180194
{
181195
"login": "mightyiam",
182196
"name": "Shahar Dawn Or",
183197
"avatar_url": "https://avatars2.githubusercontent.com/u/635591?v=4",
184198
"profile": "https://github.com/mightyiam",
185199
"contributions": []
186200
},
187-
{
188-
"login": "a-tarasyuk",
189-
"name": "Alexander T.",
190-
"avatar_url": "https://avatars0.githubusercontent.com/u/509265?v=4",
191-
"profile": "https://github.com/a-tarasyuk",
192-
"contributions": []
193-
},
194201
{
195202
"login": "webschik",
196203
"name": "Denys Kniazevych",
197204
"avatar_url": "https://avatars2.githubusercontent.com/u/1665314?v=4",
198205
"profile": "https://github.com/webschik",
199206
"contributions": []
200207
},
208+
{
209+
"login": "Validark",
210+
"name": "Niles",
211+
"avatar_url": "https://avatars2.githubusercontent.com/u/15217173?v=4",
212+
"profile": "https://github.com/Validark",
213+
"contributions": []
214+
},
215+
{
216+
"login": "pablobirukov",
217+
"name": "Pavel Birukov ",
218+
"avatar_url": "https://avatars2.githubusercontent.com/u/1861546?v=4",
219+
"profile": "https://github.com/pablobirukov",
220+
"contributions": []
221+
},
201222
{
202223
"login": "flying-sheep",
203224
"name": "Philipp A.",

CONTRIBUTORS.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,42 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/all-contri
1616
<tr>
1717
<td align="center"><a href="https://github.com/nzakas"><img src="https://avatars3.githubusercontent.com/u/38546?v=4" width="100px;" alt="Nicholas C. Zakas"/><br /><sub><b>Nicholas C. Zakas</b></sub></a><br /></td>
1818
<td align="center"><a href="https://github.com/j-f1"><img src="https://avatars2.githubusercontent.com/u/25517624?v=4" width="100px;" alt="Jed Fox"/><br /><sub><b>Jed Fox</b></sub></a><br /></td>
19+
<td align="center"><a href="https://github.com/a-tarasyuk"><img src="https://avatars0.githubusercontent.com/u/509265?v=4" width="100px;" alt="Alexander T."/><br /><sub><b>Alexander T.</b></sub></a><br /></td>
1920
<td align="center"><a href="https://github.com/uniqueiniquity"><img src="https://avatars1.githubusercontent.com/u/9092011?v=4" width="100px;" alt="Ben Lichtman"/><br /><sub><b>Ben Lichtman</b></sub></a><br /></td>
20-
<td align="center"><a href="https://github.com/kaicataldo"><img src="https://avatars2.githubusercontent.com/u/7041728?v=4" width="100px;" alt="Kai Cataldo"/><br /><sub><b>Kai Cataldo</b></sub></a><br /></td>
21-
<td align="center"><a href="https://github.com/Pajn"><img src="https://avatars1.githubusercontent.com/u/817422?v=4" width="100px;" alt="Rasmus Eneman"/><br /><sub><b>Rasmus Eneman</b></sub></a><br /></td>
21+
<td align="center"><a href="https://github.com/scottohara"><img src="https://avatars3.githubusercontent.com/u/289327?v=4" width="100px;" alt="Scott O'Hara"/><br /><sub><b>Scott O'Hara</b></sub></a><br /></td>
2222
</tr>
2323
<tr>
24-
<td align="center"><a href="https://github.com/mysticatea"><img src="https://avatars2.githubusercontent.com/u/1937871?v=4" width="100px;" alt="Toru Nagashima"/><br /><sub><b>Toru Nagashima</b></sub></a><br /></td>
2524
<td align="center"><a href="https://github.com/JoshuaKGoldberg"><img src="https://avatars1.githubusercontent.com/u/3335181?v=4" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /></td>
25+
<td align="center"><a href="https://github.com/kaicataldo"><img src="https://avatars2.githubusercontent.com/u/7041728?v=4" width="100px;" alt="Kai Cataldo"/><br /><sub><b>Kai Cataldo</b></sub></a><br /></td>
26+
<td align="center"><a href="https://github.com/Pajn"><img src="https://avatars1.githubusercontent.com/u/817422?v=4" width="100px;" alt="Rasmus Eneman"/><br /><sub><b>Rasmus Eneman</b></sub></a><br /></td>
27+
<td align="center"><a href="https://github.com/mysticatea"><img src="https://avatars2.githubusercontent.com/u/1937871?v=4" width="100px;" alt="Toru Nagashima"/><br /><sub><b>Toru Nagashima</b></sub></a><br /></td>
2628
<td align="center"><a href="https://github.com/azz"><img src="https://avatars3.githubusercontent.com/u/1297597?v=4" width="100px;" alt="Lucas Azzola"/><br /><sub><b>Lucas Azzola</b></sub></a><br /></td>
27-
<td align="center"><a href="https://github.com/dannyfritz"><img src="https://avatars1.githubusercontent.com/u/315788?v=4" width="100px;" alt="Danny Fritz"/><br /><sub><b>Danny Fritz</b></sub></a><br /></td>
28-
<td align="center"><a href="https://github.com/ikatyang"><img src="https://avatars1.githubusercontent.com/u/8341033?v=4" width="100px;" alt="Ika"/><br /><sub><b>Ika</b></sub></a><br /></td>
2929
</tr>
3030
<tr>
31-
<td align="center"><a href="https://github.com/scottohara"><img src="https://avatars3.githubusercontent.com/u/289327?v=4" width="100px;" alt="Scott O'Hara"/><br /><sub><b>Scott O'Hara</b></sub></a><br /></td>
31+
<td align="center"><a href="https://github.com/dannyfritz"><img src="https://avatars1.githubusercontent.com/u/315788?v=4" width="100px;" alt="Danny Fritz"/><br /><sub><b>Danny Fritz</b></sub></a><br /></td>
32+
<td align="center"><a href="https://github.com/ikatyang"><img src="https://avatars1.githubusercontent.com/u/8341033?v=4" width="100px;" alt="Ika"/><br /><sub><b>Ika</b></sub></a><br /></td>
3233
<td align="center"><a href="https://github.com/macklinu"><img src="https://avatars1.githubusercontent.com/u/2344137?v=4" width="100px;" alt="mackie"/><br /><sub><b>mackie</b></sub></a><br /></td>
3334
<td align="center"><a href="https://github.com/lukyth"><img src="https://avatars3.githubusercontent.com/u/7040242?v=4" width="100px;" alt="Kanitkorn Sujautra"/><br /><sub><b>Kanitkorn Sujautra</b></sub></a><br /></td>
3435
<td align="center"><a href="https://github.com/ldrick"><img src="https://avatars3.githubusercontent.com/u/3674067?v=4" width="100px;" alt="Ricky Lippmann"/><br /><sub><b>Ricky Lippmann</b></sub></a><br /></td>
35-
<td align="center"><a href="https://github.com/SimenB"><img src="https://avatars1.githubusercontent.com/u/1404810?v=4" width="100px;" alt="Simen Bekkhus"/><br /><sub><b>Simen Bekkhus</b></sub></a><br /></td>
3636
</tr>
3737
<tr>
38+
<td align="center"><a href="https://github.com/SimenB"><img src="https://avatars1.githubusercontent.com/u/1404810?v=4" width="100px;" alt="Simen Bekkhus"/><br /><sub><b>Simen Bekkhus</b></sub></a><br /></td>
3839
<td align="center"><a href="https://github.com/gavinbarron"><img src="https://avatars2.githubusercontent.com/u/7122716?v=4" width="100px;" alt="Gavin Barron"/><br /><sub><b>Gavin Barron</b></sub></a><br /></td>
3940
<td align="center"><a href="https://github.com/platinumazure"><img src="https://avatars0.githubusercontent.com/u/284282?v=4" width="100px;" alt="Kevin Partington"/><br /><sub><b>Kevin Partington</b></sub></a><br /></td>
4041
<td align="center"><a href="https://github.com/duailibe"><img src="https://avatars3.githubusercontent.com/u/1574588?v=4" width="100px;" alt="Lucas Duailibe"/><br /><sub><b>Lucas Duailibe</b></sub></a><br /></td>
4142
<td align="center"><a href="https://github.com/octogonz"><img src="https://avatars0.githubusercontent.com/u/4673363?v=4" width="100px;" alt="Pete Gonzalez"/><br /><sub><b>Pete Gonzalez</b></sub></a><br /></td>
42-
<td align="center"><a href="https://github.com/mightyiam"><img src="https://avatars2.githubusercontent.com/u/635591?v=4" width="100px;" alt="Shahar Dawn Or"/><br /><sub><b>Shahar Dawn Or</b></sub></a><br /></td>
4343
</tr>
4444
<tr>
45-
<td align="center"><a href="https://github.com/a-tarasyuk"><img src="https://avatars0.githubusercontent.com/u/509265?v=4" width="100px;" alt="Alexander T."/><br /><sub><b>Alexander T.</b></sub></a><br /></td>
45+
<td align="center"><a href="https://github.com/Retsam"><img src="https://avatars0.githubusercontent.com/u/2281166?v=4" width="100px;" alt="Retsam"/><br /><sub><b>Retsam</b></sub></a><br /></td>
46+
<td align="center"><a href="https://github.com/mightyiam"><img src="https://avatars2.githubusercontent.com/u/635591?v=4" width="100px;" alt="Shahar Dawn Or"/><br /><sub><b>Shahar Dawn Or</b></sub></a><br /></td>
4647
<td align="center"><a href="https://github.com/webschik"><img src="https://avatars2.githubusercontent.com/u/1665314?v=4" width="100px;" alt="Denys Kniazevych"/><br /><sub><b>Denys Kniazevych</b></sub></a><br /></td>
48+
<td align="center"><a href="https://github.com/Validark"><img src="https://avatars2.githubusercontent.com/u/15217173?v=4" width="100px;" alt="Niles"/><br /><sub><b>Niles</b></sub></a><br /></td>
49+
<td align="center"><a href="https://github.com/pablobirukov"><img src="https://avatars2.githubusercontent.com/u/1861546?v=4" width="100px;" alt="Pavel Birukov "/><br /><sub><b>Pavel Birukov </b></sub></a><br /></td>
50+
</tr>
51+
<tr>
4752
<td align="center"><a href="https://github.com/flying-sheep"><img src="https://avatars0.githubusercontent.com/u/291575?v=4" width="100px;" alt="Philipp A."/><br /><sub><b>Philipp A.</b></sub></a><br /></td>
4853
<td align="center"><a href="https://github.com/g-plane"><img src="https://avatars1.githubusercontent.com/u/17216317?v=4" width="100px;" alt="Pig Fang"/><br /><sub><b>Pig Fang</b></sub></a><br /></td>
4954
<td align="center"><a href="https://github.com/ThomasdenH"><img src="https://avatars0.githubusercontent.com/u/3889750?v=4" width="100px;" alt="Thomas den Hollander"/><br /><sub><b>Thomas den Hollander</b></sub></a><br /></td>
50-
</tr>
51-
<tr>
5255
<td align="center"><a href="https://github.com/madbence"><img src="https://avatars2.githubusercontent.com/u/296735?v=4" width="100px;" alt="Bence Dányi"/><br /><sub><b>Bence Dányi</b></sub></a><br /></td>
5356
</tr>
5457
</table>

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"cz": "git-cz",
2323
"check:docs": "lerna run check:docs",
2424
"check:configs": "lerna run check:configs",
25-
"generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate",
25+
"generate-contributors": "yarn ts-node --transpile-only ./tools/generate-contributors.ts && yarn all-contributors generate",
2626
"format": "prettier --write \"./**/*.{ts,js,json,md}\"",
2727
"format-check": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
2828
"integration-tests": "./tests/integration/run-all-tests.sh",
@@ -53,33 +53,32 @@
5353
"@commitlint/cli": "^8.1.0",
5454
"@commitlint/config-conventional": "^8.1.0",
5555
"@commitlint/travis-cli": "^8.1.0",
56-
"@types/jest": "^24.0.18",
57-
"@types/node": "^12.7.2",
58-
"all-contributors-cli": "^6.8.1",
56+
"@types/jest": "^24.0.23",
57+
"@types/node": "^12.12.7",
58+
"all-contributors-cli": "^6.11.0",
5959
"cz-conventional-changelog": "^3.0.2",
60-
"eslint": "^6.2.2",
60+
"eslint": "^6.6.0",
6161
"eslint-plugin-eslint-comments": "^3.1.2",
6262
"eslint-plugin-eslint-plugin": "^2.1.0",
6363
"eslint-plugin-import": "^2.18.2",
64-
"eslint-plugin-jest": "^22.15.2",
65-
"glob": "^7.1.4",
66-
"husky": "^3.0.4",
64+
"eslint-plugin-jest": "^23.0.4",
65+
"husky": "^3.0.9",
6766
"isomorphic-fetch": "^2.2.1",
6867
"jest": "^24.9.0",
69-
"lerna": "^3.16.4",
70-
"lint-staged": "^9.2.5",
68+
"lerna": "^3.18.4",
69+
"lint-staged": "^9.4.3",
7170
"opencollective-postinstall": "^2.0.2",
72-
"prettier": "^1.18.2",
71+
"prettier": "^1.19.1",
7372
"ts-jest": "^24.0.0",
74-
"ts-node": "^8.3.0",
75-
"tslint": "^5.19.0",
76-
"typescript": ">=3.2.1 <3.8.0 || >3.7.0-dev.0"
73+
"ts-node": "^8.5.0",
74+
"tslint": "^5.20.1",
75+
"typescript": ">=3.2.1 <3.8.0"
7776
},
7877
"collective": {
7978
"type": "opencollective",
8079
"url": "https://opencollective.com/typescript-eslint"
8180
},
8281
"resolutions": {
83-
"typescript": "^3.7.0-dev.20191021"
82+
"typescript": "^3.7.2"
8483
}
8584
}

packages/eslint-plugin/docs/rules/array-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Incorrect code for `"array-simple"`:
7474

7575
```ts
7676
const a: (string | number)[] = ['a', 'b'];
77-
const b: ({ prop: string })[] = [{ prop: 'a' }];
77+
const b: { prop: string }[] = [{ prop: 'a' }];
7878
const c: (() => void)[] = [() => {}];
7979
const d: Array<MyType> = ['a', 'b'];
8080
const e: Array<string> = ['a', 'b'];

packages/eslint-plugin/docs/rules/no-floating-promises.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ await promise;
3131
async function returnsPromise() {
3232
return 'value';
3333
}
34-
returnsPromise().then(() => {}, () => {});
34+
returnsPromise().then(
35+
() => {},
36+
() => {},
37+
);
3538

3639
Promise.reject('value').catch(() => {});
3740
```

packages/eslint-plugin/docs/rules/no-type-alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ type Foo = [number] | [number, number];
500500

501501
type Foo = [number] & [number, number];
502502

503-
type Foo = [number] | [number, number] & [string, string];
503+
type Foo = [number] | ([number, number] & [string, string]);
504504
```
505505

506506
Examples of **incorrect** code for the `{ "allowTupleTypes": "in-unions" }` option:

packages/eslint-plugin/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,27 @@
3030
"main": "dist/index.js",
3131
"scripts": {
3232
"build": "tsc -b tsconfig.build.json",
33-
"check:docs": "../../node_modules/.bin/ts-node --files ./tools/validate-docs/index.ts",
34-
"check:configs": "../../node_modules/.bin/ts-node --files ./tools/validate-configs/index.ts",
33+
"check:docs": "../../node_modules/.bin/ts-node --files --transpile-only ./tools/validate-docs/index.ts",
34+
"check:configs": "../../node_modules/.bin/ts-node --files --transpile-only ./tools/validate-configs/index.ts",
3535
"clean": "tsc -b tsconfig.build.json --clean",
3636
"format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore",
37-
"generate:configs": "../../node_modules/.bin/ts-node --files tools/generate-configs.ts",
37+
"generate:configs": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-configs.ts",
3838
"lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'",
3939
"test": "jest --coverage",
4040
"typecheck": "tsc -p tsconfig.json --noEmit"
4141
},
4242
"dependencies": {
4343
"@typescript-eslint/experimental-utils": "2.7.0",
44-
"eslint-utils": "^1.4.2",
44+
"eslint-utils": "^1.4.3",
4545
"functional-red-black-tree": "^1.0.1",
46-
"regexpp": "^2.0.1",
46+
"regexpp": "^3.0.0",
4747
"tsutils": "^3.17.1"
4848
},
4949
"devDependencies": {
5050
"@types/json-schema": "^7.0.3",
51-
"@types/marked": "^0.6.5",
51+
"@types/marked": "^0.7.1",
5252
"@types/prettier": "^1.18.2",
53-
"chalk": "^2.4.2",
53+
"chalk": "^3.0.0",
5454
"marked": "^0.7.0",
5555
"prettier": "*",
5656
"typescript": "*"

packages/eslint-plugin/src/rules/indent.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ export default util.createRule<Options, MessageIds>({
239239
type: AST_NODE_TYPES.ObjectExpression,
240240
properties: (node.members as (
241241
| TSESTree.TSEnumMember
242-
| TSESTree.TypeElement)[]).map(
242+
| TSESTree.TypeElement
243+
)[]).map(
243244
member =>
244245
TSPropertySignatureToProperty(member) as TSESTree.Property,
245246
),

packages/eslint-plugin/src/rules/interface-name-prefix.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ type ParsedOptions =
99
allowUnderscorePrefix: boolean;
1010
};
1111
type Options = [
12-
13-
| 'never'
14-
| 'always'
15-
| {
16-
prefixWithI?: 'never';
17-
}
18-
| {
19-
prefixWithI: 'always';
20-
allowUnderscorePrefix?: boolean;
21-
},
12+
| 'never'
13+
| 'always'
14+
| {
15+
prefixWithI?: 'never';
16+
}
17+
| {
18+
prefixWithI: 'always';
19+
allowUnderscorePrefix?: boolean;
20+
},
2221
];
2322
type MessageIds = 'noPrefix' | 'alwaysPrefix';
2423

packages/eslint-plugin/src/rules/space-before-function-paren.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ type Option = 'never' | 'always';
99
type FuncOption = Option | 'ignore';
1010

1111
export type Options = [
12-
13-
| Option
14-
| Partial<{
15-
anonymous: FuncOption;
16-
named: FuncOption;
17-
asyncArrow: FuncOption;
18-
}>,
12+
| Option
13+
| Partial<{
14+
anonymous: FuncOption;
15+
named: FuncOption;
16+
asyncArrow: FuncOption;
17+
}>,
1918
];
2019
export type MessageIds = 'unexpected' | 'missing';
2120

packages/eslint-plugin/src/rules/triple-slash-reference.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ export default util.createRule<Options, MessageIds>({
5252
create(context, [{ lib, path, types }]) {
5353
let programNode: TSESTree.Node;
5454
const sourceCode = context.getSourceCode();
55-
const references: ({
55+
const references: {
5656
comment: TSESTree.Comment;
5757
importName: string;
58-
})[] = [];
58+
}[] = [];
5959

6060
function hasMatchingReference(source: TSESTree.Literal): void {
6161
references.forEach(reference => {

packages/eslint-plugin/tools/validate-docs/parse-readme.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ function parseReadme(): marked.Tokens.Table {
99
);
1010
const readme = marked.lexer(readmeRaw, {
1111
gfm: true,
12-
tables: true,
1312
silent: false,
1413
});
1514

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy