Skip to content

Commit e76a08e

Browse files
Updated packages: (#90)
* Updated packages: - "@types/eslint": "^7.2.0", - "@types/jest": "^26.0.0", - "@types/node": "^14.0.13", - "@typescript-eslint/parser": "^3.4.0", - "eslint": "^7.3.1", - "eslint-config-airbnb-base": "^14.2.0", - "eslint-plugin-jest": "^23.17.1", - "eslint-plugin-prettier": "^3.1.4", - "jest": "^26.1.0", - "prettier": "2.0.5", - "ts-jest": "^26.1.1" * Run prettier after bumping its version
1 parent 9270f87 commit e76a08e

File tree

4 files changed

+413
-488
lines changed

4 files changed

+413
-488
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@
3030
"eslint": ">=0.8.0"
3131
},
3232
"devDependencies": {
33-
"@types/eslint": "^6.8.1",
34-
"@types/jest": "^25.2.3",
35-
"@types/node": "^10.17.26",
36-
"@typescript-eslint/parser": "^3.2.0",
37-
"eslint": "^7.2.0",
38-
"eslint-config-airbnb-base": "^14.1.0",
33+
"@types/eslint": "^7.2.0",
34+
"@types/jest": "^26.0.0",
35+
"@types/node": "^14.0.13",
36+
"@typescript-eslint/parser": "^3.4.0",
37+
"eslint": "^7.3.1",
38+
"eslint-config-airbnb-base": "^14.2.0",
3939
"eslint-config-prettier": "^6.11.0",
4040
"eslint-plugin-import": "^2.21.2",
41-
"eslint-plugin-jest": "^23.13.2",
41+
"eslint-plugin-jest": "^23.17.1",
4242
"eslint-plugin-jest-formatting": "file:.",
43-
"eslint-plugin-prettier": "^3.1.3",
44-
"jest": "^26.0.1",
45-
"prettier": "1.18.2",
43+
"eslint-plugin-prettier": "^3.1.4",
44+
"jest": "^26.1.0",
45+
"prettier": "2.0.5",
4646
"typescript": "^3.9.5",
47-
"ts-jest": "^26.0.0"
47+
"ts-jest": "^26.1.1"
4848
},
4949
"engines": {
5050
"node": "^10.12.0 || >=12.0.0"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const rules = {
131131
'padding-around-expect-groups': createRule(paddingConfigs.expect),
132132
'padding-around-test-blocks': createRule(paddingConfigs.test),
133133
'padding-around-all': createRule(
134-
[].concat(...Object.keys(paddingConfigs).map(k => paddingConfigs[k])),
134+
[].concat(...Object.keys(paddingConfigs).map((k) => paddingConfigs[k])),
135135
),
136136

137137
// ===========================================================================

src/rules/padding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const nodeMatchesType = (
219219
// If it's an array recursively check if any of the statement types match
220220
// the node
221221
if (Array.isArray(statementType)) {
222-
return statementType.some(type =>
222+
return statementType.some((type) =>
223223
nodeMatchesType(innerStatementNode, type, paddingContext),
224224
);
225225
}

0 commit comments

Comments
 (0)