Skip to content

Commit dfd8b7f

Browse files
authored
Merge pull request #27 from ableneo/chore(update-packages)
chore(update-packages): update packages
2 parents ef04e00 + 9540536 commit dfd8b7f

File tree

15 files changed

+7555
-3521
lines changed

15 files changed

+7555
-3521
lines changed

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,40 +47,40 @@
4747
"contributors:generate": "all-contributors generate"
4848
},
4949
"devDependencies": {
50-
"@babel/cli": "^7.6.0",
51-
"@babel/core": "^7.6.0",
52-
"@babel/preset-env": "^7.6.0",
53-
"@commitlint/cli": "^8.2.0",
54-
"@commitlint/config-conventional": "^8.2.0",
55-
"@commitlint/prompt-cli": "^8.2.0",
56-
"@commitlint/travis-cli": "^8.2.0",
57-
"@types/jest": "^24.0.18",
58-
"@types/node": "^12.7.5",
59-
"@types/react": "^16.9.2",
60-
"@types/react-dom": "^16.9.0",
61-
"@typescript-eslint/eslint-plugin": "^2.3.0",
62-
"@typescript-eslint/parser": "^2.3.0",
63-
"all-contributors-cli": "^6.9.1",
50+
"@babel/cli": "^7.8.4",
51+
"@babel/core": "^7.9.0",
52+
"@babel/preset-env": "^7.9.0",
53+
"@commitlint/cli": "^8.3.5",
54+
"@commitlint/config-conventional": "^8.3.4",
55+
"@commitlint/prompt-cli": "^8.3.5",
56+
"@commitlint/travis-cli": "^8.3.5",
57+
"@types/jest": "^25.1.4",
58+
"@types/node": "^13.9.3",
59+
"@types/react": "^16.9.25",
60+
"@types/react-dom": "^16.9.5",
61+
"@typescript-eslint/eslint-plugin": "^2.24.0",
62+
"@typescript-eslint/parser": "^2.24.0",
63+
"all-contributors-cli": "^6.14.0",
6464
"awesome-typescript-loader": "^5.2.1",
65-
"babel-plugin-emotion": "^10.0.19",
66-
"babel-preset-react-app": "^9.0.2",
67-
"concurrently": "^4.1.2",
65+
"babel-plugin-emotion": "^10.0.29",
66+
"babel-preset-react-app": "^9.1.2",
67+
"concurrently": "^5.1.0",
6868
"docz": "^1.3.2",
6969
"docz-theme-default": "^1.0.4",
70-
"eslint": "^6.4.0",
71-
"eslint-config-react-app": "^5.0.2",
72-
"gh-pages": "^2.1.1",
73-
"husky": "^3.0.5",
74-
"hygen": "^4.0.9",
70+
"eslint": "^6.8.0",
71+
"eslint-config-react-app": "^5.2.1",
72+
"gh-pages": "^2.2.0",
73+
"husky": "^4.2.3",
74+
"hygen": "^5.0.3",
7575
"imagemin-lint-staged": "^0.4.0",
76-
"lerna": "^3.16.4",
77-
"lint-staged": "^9.2.5",
78-
"prettier": "^1.18.2",
79-
"react-scripts": "^3.1.2",
76+
"lerna": "^3.20.2",
77+
"lint-staged": "^10.0.8",
78+
"prettier": "^2.0.1",
79+
"react-scripts": "^3.4.1",
8080
"source-map-loader": "^0.2.4",
81-
"typescript": "3.6.3",
82-
"webpack": "^4.40.2",
83-
"webpack-cli": "^3.3.9"
81+
"typescript": "3.8.3",
82+
"webpack": "^4.42.0",
83+
"webpack-cli": "^3.3.11"
8484
},
8585
"optionalDependencies": {
8686
"react": ">=16.9.0",

packages/eslint-config-ableneo/package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
"prettier": "^1.17.0"
3232
},
3333
"dependencies": {
34-
"@typescript-eslint/eslint-plugin": "^2.3.0",
35-
"@typescript-eslint/parser": "^2.3.0",
36-
"babel-eslint": "^10.0.3",
37-
"eslint-config-prettier": "^6.3.0",
38-
"eslint-config-react-app": "^5.0.2",
39-
"eslint-import-resolver-typescript": "^1.1.1",
40-
"eslint-plugin-flowtype": "^4.3.0",
41-
"eslint-plugin-import": "^2.18.2",
42-
"eslint-plugin-jest": "^22.17.0",
34+
"@typescript-eslint/eslint-plugin": "^2.24.0",
35+
"@typescript-eslint/parser": "^2.24.0",
36+
"babel-eslint": "^10.1.0",
37+
"eslint-config-prettier": "^6.10.1",
38+
"eslint-config-react-app": "^5.2.1",
39+
"eslint-import-resolver-typescript": "^2.0.0",
40+
"eslint-plugin-flowtype": "^4.6.0",
41+
"eslint-plugin-import": "^2.20.1",
42+
"eslint-plugin-jest": "^23.8.2",
4343
"eslint-plugin-jsx-a11y": "^6.2.3",
44-
"eslint-plugin-prettier": "^3.1.1",
45-
"eslint-plugin-react": "^7.14.3",
46-
"eslint-plugin-react-hooks": "^2.0.1",
44+
"eslint-plugin-prettier": "^3.1.2",
45+
"eslint-plugin-react": "^7.19.0",
46+
"eslint-plugin-react-hooks": "^2.5.1",
4747
"merge": "^1.2.1"
4848
},
4949
"scripts": {
@@ -63,13 +63,14 @@
6363
"prepublishOnly": "yarn run build"
6464
},
6565
"devDependencies": {
66-
"@babel/core": "7.5.4",
67-
"@babel/preset-env": "7.5.4",
66+
"@babel/core": "7.9.0",
67+
"@babel/preset-env": "7.9.0",
6868
"babel-eslint": "^10.0.3",
69+
"docz": "^2.2.0",
6970
"eslint": "^6.4.0",
70-
"prettier": "1.18.2",
71+
"prettier": "2.0.1",
7172
"prop-types": "15.7.2",
72-
"react": "16.9.0"
73+
"react": "16.13.1"
7374
},
7475
"engines": {
7576
"node": "^6.14.0 || ^8.10.0 || >=9.10.0"

packages/eslint-config-ableneo/src/__snapshots__/eslintrc.test.js.snap

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Object {
1111
"node": true,
1212
},
1313
"globals": Object {},
14+
"ignorePatterns": Array [],
1415
"parser": "./node_modules/babel-eslint/lib/index.js",
1516
"parserOptions": Object {
1617
"ecmaFeatures": Object {
@@ -48,6 +49,9 @@ Object {
4849
"@typescript-eslint/class-name-casing": Array [
4950
"error",
5051
],
52+
"@typescript-eslint/comma-spacing": Array [
53+
"off",
54+
],
5155
"@typescript-eslint/consistent-type-assertions": Array [
5256
"error",
5357
],
@@ -84,6 +88,9 @@ Object {
8488
"@typescript-eslint/no-extra-parens": Array [
8589
"off",
8690
],
91+
"@typescript-eslint/no-extra-semi": Array [
92+
"off",
93+
],
8794
"@typescript-eslint/no-inferrable-types": Array [
8895
"error",
8996
],
@@ -126,6 +133,9 @@ Object {
126133
"@typescript-eslint/semi": Array [
127134
"off",
128135
],
136+
"@typescript-eslint/space-before-function-paren": Array [
137+
"off",
138+
],
129139
"@typescript-eslint/triple-slash-reference": Array [
130140
"error",
131141
],
@@ -334,12 +344,18 @@ Object {
334344
"indent-legacy": Array [
335345
"off",
336346
],
337-
"jest/no-alias-methods": Array [
347+
"jest/expect-expect": Array [
348+
"warn",
349+
],
350+
"jest/no-commented-out-tests": Array [
338351
"warn",
339352
],
340353
"jest/no-disabled-tests": Array [
341354
"warn",
342355
],
356+
"jest/no-export": Array [
357+
"error",
358+
],
343359
"jest/no-focused-tests": Array [
344360
"error",
345361
],
@@ -352,9 +368,21 @@ Object {
352368
"jest/no-jest-import": Array [
353369
"error",
354370
],
371+
"jest/no-mocks-import": Array [
372+
"error",
373+
],
374+
"jest/no-standalone-expect": Array [
375+
"error",
376+
],
377+
"jest/no-test-callback": Array [
378+
"error",
379+
],
355380
"jest/no-test-prefixes": Array [
356381
"error",
357382
],
383+
"jest/no-try-expect": Array [
384+
"error",
385+
],
358386
"jest/valid-describe": Array [
359387
"error",
360388
],
@@ -1103,9 +1131,6 @@ Object {
11031131
"react/style-prop-object": Array [
11041132
"warn",
11051133
],
1106-
"require-atomic-updates": Array [
1107-
"error",
1108-
],
11091134
"require-yield": Array [
11101135
"warn",
11111136
],

packages/eslint-config-ableneo/src/test/config/__snapshots__/config.test.js.snap

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Object {
1111
"node": true,
1212
},
1313
"globals": Object {},
14+
"ignorePatterns": Array [],
1415
"noInlineConfig": undefined,
1516
"parser": "[parser]",
1617
"parserOptions": Object {
@@ -50,6 +51,9 @@ Object {
5051
"@typescript-eslint/class-name-casing": Array [
5152
"error",
5253
],
54+
"@typescript-eslint/comma-spacing": Array [
55+
"off",
56+
],
5357
"@typescript-eslint/consistent-type-assertions": Array [
5458
"error",
5559
],
@@ -86,6 +90,9 @@ Object {
8690
"@typescript-eslint/no-extra-parens": Array [
8791
"off",
8892
],
93+
"@typescript-eslint/no-extra-semi": Array [
94+
"off",
95+
],
8996
"@typescript-eslint/no-inferrable-types": Array [
9097
"error",
9198
],
@@ -128,6 +135,9 @@ Object {
128135
"@typescript-eslint/semi": Array [
129136
"off",
130137
],
138+
"@typescript-eslint/space-before-function-paren": Array [
139+
"off",
140+
],
131141
"@typescript-eslint/triple-slash-reference": Array [
132142
"error",
133143
],
@@ -336,12 +346,18 @@ Object {
336346
"indent-legacy": Array [
337347
"off",
338348
],
339-
"jest/no-alias-methods": Array [
349+
"jest/expect-expect": Array [
350+
"warn",
351+
],
352+
"jest/no-commented-out-tests": Array [
340353
"warn",
341354
],
342355
"jest/no-disabled-tests": Array [
343356
"warn",
344357
],
358+
"jest/no-export": Array [
359+
"error",
360+
],
345361
"jest/no-focused-tests": Array [
346362
"error",
347363
],
@@ -354,9 +370,21 @@ Object {
354370
"jest/no-jest-import": Array [
355371
"error",
356372
],
373+
"jest/no-mocks-import": Array [
374+
"error",
375+
],
376+
"jest/no-standalone-expect": Array [
377+
"error",
378+
],
379+
"jest/no-test-callback": Array [
380+
"error",
381+
],
357382
"jest/no-test-prefixes": Array [
358383
"error",
359384
],
385+
"jest/no-try-expect": Array [
386+
"error",
387+
],
360388
"jest/valid-describe": Array [
361389
"error",
362390
],
@@ -1105,9 +1133,6 @@ Object {
11051133
"react/style-prop-object": Array [
11061134
"warn",
11071135
],
1108-
"require-atomic-updates": Array [
1109-
"error",
1110-
],
11111136
"require-yield": Array [
11121137
"warn",
11131138
],

packages/eslint-config-ableneo/src/test/config/default.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("default config", () => {
77

88
expect(report.errorCount).toBe(0);
99
expect(report.warningCount).toBe(0);
10-
report.results.forEach(res => {
10+
report.results.forEach((res) => {
1111
expect(res.messages).toEqual([]);
1212
});
1313
});
@@ -48,7 +48,7 @@ describe("default config", () => {
4848

4949
expect(report.errorCount).toBe(0);
5050
expect(report.warningCount).toBe(0);
51-
report.results.forEach(res => {
51+
report.results.forEach((res) => {
5252
expect(res.messages).toEqual([]);
5353
});
5454
});

0 commit comments

Comments
 (0)