Skip to content

Commit fbde556

Browse files
Merge pull request #10 from xeptore/master
Upgrade dependencies
2 parents c3f8172 + b9ce146 commit fbde556

31 files changed

+14577
-6019
lines changed

.eslintrc.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
"node": true
55
},
66
"parser": "@typescript-eslint/parser",
7-
"plugins": ["@typescript-eslint", "prettier", "import", "unicorn"],
7+
"plugins": [
8+
"@typescript-eslint",
9+
"prettier",
10+
"import",
11+
"unicorn"
12+
],
813
"extends": [
914
"eslint:recommended",
1015
"plugin:@typescript-eslint/eslint-recommended",
1116
"plugin:@typescript-eslint/recommended",
12-
"prettier/@typescript-eslint",
17+
"plugin:prettier/recommended",
1318
"plugin:import/errors",
1419
"plugin:import/warnings",
1520
"plugin:import/typescript"
@@ -31,13 +36,18 @@
3136
},
3237
"overrides": [
3338
{
34-
"files": ["*.test.ts"],
39+
"files": [
40+
"*.test.ts"
41+
],
3542
"rules": {
3643
"@typescript-eslint/no-non-null-assertion": "off"
3744
}
3845
}
3946
],
4047
"settings": {
41-
"import/extensions": [".ts", ".js"]
48+
"import/extensions": [
49+
".ts",
50+
".js"
51+
]
4252
}
4353
}

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

.husky/prepare-commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
exec < /dev/tty && git cz --hook || true

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"singleQuote": true,
33
"tabWidth": 2,
44
"useTabs": false,
5-
"printWidth": 120
5+
"printWidth": 120,
6+
"arrowParens": "avoid"
67
}

commitlint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
extends: ['@commitlint/config-conventional'],
33
rules: {
4-
'scope-enum': [2, 'always', ['deps']]
5-
}
4+
'scope-enum': [2, 'always', ['deps']],
5+
},
66
};

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
44
collectCoverage: true,
5-
collectCoverageFrom: ['src/**/*.ts']
5+
collectCoverageFrom: ['src/**/*.ts'],
66
};

0 commit comments

Comments
 (0)