Skip to content

Commit 3df32af

Browse files
committed
chore: upgrade dependencies
1 parent 55f6719 commit 3df32af

File tree

5 files changed

+290
-339
lines changed

5 files changed

+290
-339
lines changed

+jest.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22
module.exports = {
33
extends: ['plugin:jest/recommended', 'plugin:jest/style'],
44
rules: {
5+
'jest/expect-expect': 'off',
56
'jest/consistent-test-it': ['error', { fn: 'test', withinDescribe: 'test' }],
67
'jest/lowercase-name': 'error',
7-
'jest/no-commented-out-tests': 'error',
88
'jest/no-duplicate-hooks': 'error',
99
'jest/no-empty-title': 'error',
1010
'jest/no-expect-resolves': 'error',
11-
'jest/no-export': 'error',
12-
'jest/no-mocks-import': 'error',
13-
'jest/no-test-callback': 'error',
1411
'jest/no-test-return-statement': 'error',
1512
'jest/no-truthy-falsy': 'error',
16-
'jest/no-try-expect': 'error',
1713
'jest/prefer-spy-on': 'error',
1814
'jest/prefer-todo': 'error',
15+
'jest/valid-title': 'error',
1916
},
2017
};

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v1
12+
- name: Use Node.js 10
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 10
1316
- run: yarn --frozen-lockfile
1417
- run: yarn lint

bases/base.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,7 @@ module.exports = {
128128
'unicorn/no-process-exit': 'off',
129129
'unicorn/prefer-reflect-apply': 'off',
130130
// TODO: unicorn/custom-error-definition - not supports class properties
131-
'unicorn/expiring-todo-comments': [
132-
'error',
133-
// TODO: https://github.com/sindresorhus/eslint-plugin-unicorn/pull/400
134-
{ allowWarningComments: true },
135-
],
131+
'unicorn/expiring-todo-comments': 'error',
136132
'unicorn/filename-case': [
137133
'error',
138134
{ cases: { kebabCase: true, camelCase: true, pascalCase: true } },
@@ -142,8 +138,6 @@ module.exports = {
142138
'error',
143139
{
144140
checkFilenames: true,
145-
checkProperties: false,
146-
147141
extendDefaultReplacements: false,
148142
// Generated from https://github.com/sindresorhus/eslint-plugin-unicorn/blob/c3326d218ee11bd32e0cf167774641749fe70d6b/rules/prevent-abbreviations.js
149143
// with following excludes: ["e", "env", "dev", "prod", "arg", "args", "db", "prop", "lib", "dir", "dirs", "ref", "refs", "pkg", "doc", "docs", "src", "props", "attr", "attrs"]

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@
3434
"@typescript-eslint/eslint-plugin": "^2.9.0",
3535
"@typescript-eslint/parser": "^2.9.0",
3636
"eslint-config-airbnb-base": "^14.0.0",
37-
"eslint-config-prettier": "^6.3.0",
37+
"eslint-config-prettier": "^6.7.0",
3838
"eslint-plugin-eslint-comments": "^3.1.2",
3939
"eslint-plugin-import": "^2.18.2",
40-
"eslint-plugin-jest": "^22.17.0",
40+
"eslint-plugin-jest": "^23.1.1",
4141
"eslint-plugin-node": "^10.0.0",
4242
"eslint-plugin-prefer-arrow": "1.1.6",
4343
"eslint-plugin-prefer-class-properties": "1.0.0",
4444
"eslint-plugin-promise": "^4.2.1",
45-
"eslint-plugin-unicorn": "^12.0.1"
45+
"eslint-plugin-unicorn": "^14.0.1"
4646
},
4747
"devDependencies": {
4848
"@ark120202/typescript-config": "^2.1.0",
49-
"@types/eslint": "^6.1.1",
50-
"@types/node": "^12.7.8",
51-
"eslint": "^6.4.0",
49+
"@types/eslint": "^6.1.3",
50+
"@types/node": "^12.12.14",
51+
"eslint": "^6.7.2",
5252
"npm-run-all": "^4.1.5",
53-
"prettier": "^1.18.2",
54-
"typescript": "^3.6.3"
53+
"prettier": "^1.19.1",
54+
"typescript": "^3.7.2"
5555
},
5656
"peerDependencies": {
5757
"eslint": "^6.0.0",

0 commit comments

Comments
 (0)