Skip to content

Commit

Permalink
Merge pull request #10 from xeptore/master
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
martinmcwhorter committed May 27, 2021
2 parents c3f8172 + b9ce146 commit fbde556
Show file tree
Hide file tree
Showing 31 changed files with 14,577 additions and 6,019 deletions.
18 changes: 14 additions & 4 deletions .eslintrc.json
Expand Up @@ -4,12 +4,17 @@
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "import", "unicorn"],
"plugins": [
"@typescript-eslint",
"prettier",
"import",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
Expand All @@ -31,13 +36,18 @@
},
"overrides": [
{
"files": ["*.test.ts"],
"files": [
"*.test.ts"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
}
],
"settings": {
"import/extensions": [".ts", ".js"]
"import/extensions": [
".ts",
".js"
]
}
}
1 change: 1 addition & 0 deletions .husky/.gitignore
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true
3 changes: 2 additions & 1 deletion .prettierrc
Expand Up @@ -2,5 +2,6 @@
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 120
"printWidth": 120,
"arrowParens": "avoid"
}
4 changes: 2 additions & 2 deletions commitlint.config.js
@@ -1,6 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', ['deps']]
}
'scope-enum': [2, 'always', ['deps']],
},
};
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -2,5 +2,5 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: true,
collectCoverageFrom: ['src/**/*.ts']
collectCoverageFrom: ['src/**/*.ts'],
};

0 comments on commit fbde556

Please sign in to comment.