Skip to content

Commit 14c4a39

Browse files
committed
Merge branch 'master' into beta
2 parents 06e9006 + 62a5fc4 commit 14c4a39

File tree

4 files changed

+22
-82
lines changed

4 files changed

+22
-82
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![Code Coverage][coverage-badge]][coverage-link]
1212
[![Version][package-badge]][package-link]
1313
[![Maintenance][maintenance-badge]][maintenance-link]
14-
[![Node Version][node-badge]][node-link]
14+
[![Node Version][node-badge]][node-link] <br>
1515
[![MIT License][license-badge]][license-link]
1616
[![Code Style][prettier-badge]][prettier-link]
1717
[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@commitlint/prompt": "^11.0.0",
5555
"@types/jest": "^26.0.14",
5656
"@typescript-eslint/eslint-plugin": "^4.4.0",
57-
"@typescript-eslint/parser": "^4.3.0",
57+
"@typescript-eslint/parser": "^4.4.0",
5858
"arrify": "^2.0.1",
5959
"chalk": "^4.1.0",
6060
"commitizen": "^4.2.1",
@@ -63,7 +63,7 @@
6363
"cross-env": "^7.0.0",
6464
"cross-spawn": "^7.0.1",
6565
"doctoc": "^1.4.0",
66-
"eslint": "^7.10.0",
66+
"eslint": "^7.11.0",
6767
"eslint-config-airbnb-typescript": "^11.0.0",
6868
"eslint-config-kentcdodds": "^15.0.0",
6969
"eslint-config-prettier": "^6.12.0",

src/config/helpers/build-eslint.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const {rules} = require('eslint-config-airbnb-typescript/lib/shared')
1+
const {
2+
rules: airbnbRules,
3+
} = require('eslint-config-airbnb-typescript/lib/shared')
24

35
const {hasAnyDep} = require('../../utils')
46
const {testMatch} = require('../jest.config')
@@ -44,12 +46,12 @@ const buildConfig = ({withReact = false} = {}) => {
4446
'import/no-extraneous-dependencies': [
4547
'error',
4648
{
47-
devDependencies: rules[
49+
devDependencies: airbnbRules[
4850
'import/no-extraneous-dependencies'
4951
][1].devDependencies.concat([
5052
'jest/**',
5153
'e2e/**',
52-
'**/prettier.config.js',
54+
'**/*.config.{js,ts}',
5355
]),
5456
optionalDependencies: false,
5557
},

yarn.lock

+14-76
Original file line numberDiff line numberDiff line change
@@ -1519,24 +1519,16 @@
15191519
eslint-scope "^5.0.0"
15201520
eslint-utils "^2.0.0"
15211521

1522-
"@typescript-eslint/parser@^4.2.0", "@typescript-eslint/parser@^4.3.0":
1523-
version "4.3.0"
1524-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.3.0.tgz#684fc0be6551a2bfcb253991eec3c786a8c063a3"
1525-
integrity sha512-JyfRnd72qRuUwItDZ00JNowsSlpQGeKfl9jxwO0FHK1qQ7FbYdoy5S7P+5wh1ISkT2QyAvr2pc9dAemDxzt75g==
1522+
"@typescript-eslint/parser@^4.2.0", "@typescript-eslint/parser@^4.4.0":
1523+
version "4.4.0"
1524+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.4.0.tgz#65974db9a75f23b036f17b37e959b5f99b659ec0"
1525+
integrity sha512-yc14iEItCxoGb7W4Nx30FlTyGpU9r+j+n1LUK/exlq2eJeFxczrz/xFRZUk2f6yzWfK+pr1DOTyQnmDkcC4TnA==
15261526
dependencies:
1527-
"@typescript-eslint/scope-manager" "4.3.0"
1528-
"@typescript-eslint/types" "4.3.0"
1529-
"@typescript-eslint/typescript-estree" "4.3.0"
1527+
"@typescript-eslint/scope-manager" "4.4.0"
1528+
"@typescript-eslint/types" "4.4.0"
1529+
"@typescript-eslint/typescript-estree" "4.4.0"
15301530
debug "^4.1.1"
15311531

1532-
"@typescript-eslint/[email protected]":
1533-
version "4.3.0"
1534-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.3.0.tgz#c743227e087545968080d2362cfb1273842cb6a7"
1535-
integrity sha512-cTeyP5SCNE8QBRfc+Lgh4Xpzje46kNUhXYfc3pQWmJif92sjrFuHT9hH4rtOkDTo/si9Klw53yIr+djqGZS1ig==
1536-
dependencies:
1537-
"@typescript-eslint/types" "4.3.0"
1538-
"@typescript-eslint/visitor-keys" "4.3.0"
1539-
15401532
"@typescript-eslint/[email protected]":
15411533
version "4.4.0"
15421534
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.4.0.tgz#2f3dd27692a12cc9a046a90ba6a9d8cb7731190a"
@@ -1550,11 +1542,6 @@
15501542
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727"
15511543
integrity sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==
15521544

1553-
"@typescript-eslint/[email protected]":
1554-
version "4.3.0"
1555-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.3.0.tgz#1f0b2d5e140543e2614f06d48fb3ae95193c6ddf"
1556-
integrity sha512-Cx9TpRvlRjOppGsU6Y6KcJnUDOelja2NNCX6AZwtVHRzaJkdytJWMuYiqi8mS35MRNA3cJSwDzXePfmhU6TANw==
1557-
15581545
"@typescript-eslint/[email protected]":
15591546
version "4.4.0"
15601547
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.4.0.tgz#63440ef87a54da7399a13bdd4b82060776e9e621"
@@ -1587,20 +1574,6 @@
15871574
semver "^7.3.2"
15881575
tsutils "^3.17.1"
15891576

1590-
"@typescript-eslint/[email protected]":
1591-
version "4.3.0"
1592-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.3.0.tgz#0edc1068e6b2e4c7fdc54d61e329fce76241cee8"
1593-
integrity sha512-ZAI7xjkl+oFdLV/COEz2tAbQbR3XfgqHEGy0rlUXzfGQic6EBCR4s2+WS3cmTPG69aaZckEucBoTxW9PhzHxxw==
1594-
dependencies:
1595-
"@typescript-eslint/types" "4.3.0"
1596-
"@typescript-eslint/visitor-keys" "4.3.0"
1597-
debug "^4.1.1"
1598-
globby "^11.0.1"
1599-
is-glob "^4.0.1"
1600-
lodash "^4.17.15"
1601-
semver "^7.3.2"
1602-
tsutils "^3.17.1"
1603-
16041577
"@typescript-eslint/[email protected]":
16051578
version "4.4.0"
16061579
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.4.0.tgz#16a2df7c16710ddd5406b32b86b9c1124b1ca526"
@@ -1622,14 +1595,6 @@
16221595
dependencies:
16231596
eslint-visitor-keys "^1.1.0"
16241597

1625-
"@typescript-eslint/[email protected]":
1626-
version "4.3.0"
1627-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.3.0.tgz#0e5ab0a09552903edeae205982e8521e17635ae0"
1628-
integrity sha512-xZxkuR7XLM6RhvLkgv9yYlTcBHnTULzfnw4i6+z2TGBLy9yljAypQaZl9c3zFvy7PNI7fYWyvKYtohyF8au3cw==
1629-
dependencies:
1630-
"@typescript-eslint/types" "4.3.0"
1631-
eslint-visitor-keys "^2.0.0"
1632-
16331598
"@typescript-eslint/[email protected]":
16341599
version "4.4.0"
16351600
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.4.0.tgz#0a9118344082f14c0f051342a74b42dfdb012640"
@@ -1857,27 +1822,7 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
18571822
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.1.tgz#b83ca89c5d42d69031f424cad49aada0236c6957"
18581823
integrity sha512-KWcq3xN8fDjSB+IMoh2VaXVhRI0BBGxoYp3rx7Pkb6z0cFjYR9Q9l4yZqqals0/zsioCmocC5H6UvsGD4MoIBA==
18591824

1860-
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.3:
1861-
version "6.12.3"
1862-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
1863-
integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
1864-
dependencies:
1865-
fast-deep-equal "^3.1.1"
1866-
fast-json-stable-stringify "^2.0.0"
1867-
json-schema-traverse "^0.4.1"
1868-
uri-js "^4.2.2"
1869-
1870-
ajv@^6.10.0:
1871-
version "6.12.0"
1872-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7"
1873-
integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==
1874-
dependencies:
1875-
fast-deep-equal "^3.1.1"
1876-
fast-json-stable-stringify "^2.0.0"
1877-
json-schema-traverse "^0.4.1"
1878-
uri-js "^4.2.2"
1879-
1880-
ajv@^6.12.4:
1825+
ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4:
18811826
version "6.12.5"
18821827
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.5.tgz#19b0e8bae8f476e5ba666300387775fb1a00a4da"
18831828
integrity sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==
@@ -3897,10 +3842,10 @@ eslint-visitor-keys@^2.0.0:
38973842
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
38983843
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
38993844

3900-
eslint@^7.10.0:
3901-
version "7.10.0"
3902-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.10.0.tgz#494edb3e4750fb791133ca379e786a8f648c72b9"
3903-
integrity sha512-BDVffmqWl7JJXqCjAK6lWtcQThZB/aP1HXSH1JKwGwv0LQEdvpR7qzNrUT487RM39B5goWuboFad5ovMBmD8yA==
3845+
eslint@^7.11.0:
3846+
version "7.11.0"
3847+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.11.0.tgz#aaf2d23a0b5f1d652a08edacea0c19f7fadc0b3b"
3848+
integrity sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw==
39043849
dependencies:
39053850
"@babel/code-frame" "^7.0.0"
39063851
"@eslint/eslintrc" "^0.1.3"
@@ -3912,7 +3857,7 @@ eslint@^7.10.0:
39123857
enquirer "^2.3.5"
39133858
eslint-scope "^5.1.1"
39143859
eslint-utils "^2.1.0"
3915-
eslint-visitor-keys "^1.3.0"
3860+
eslint-visitor-keys "^2.0.0"
39163861
espree "^7.3.0"
39173862
esquery "^1.2.0"
39183863
esutils "^2.0.2"
@@ -4500,14 +4445,7 @@ glob-parent@^3.1.0:
45004445
is-glob "^3.1.0"
45014446
path-dirname "^1.0.0"
45024447

4503-
glob-parent@^5.0.0:
4504-
version "5.1.0"
4505-
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2"
4506-
integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==
4507-
dependencies:
4508-
is-glob "^4.0.1"
4509-
4510-
glob-parent@^5.1.0, glob-parent@~5.1.0:
4448+
glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0:
45114449
version "5.1.1"
45124450
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
45134451
integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==

0 commit comments

Comments
 (0)