Skip to content

Commit

Permalink
[package] update dependencies from template repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed May 6, 2024
1 parent 507c7ed commit 498eea1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 37 deletions.
17 changes: 2 additions & 15 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
root: true

parser: '@typescript-eslint/parser'
parserOptions:
project: true

settings:
import/resolver:
typescript: true
Expand All @@ -16,32 +11,24 @@ ignorePatterns:
plugins:
- '@typescript-eslint'
- 'prettier'
- 'import'

extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended-type-checked'
- 'plugin:@typescript-eslint/stylistic-type-checked'
- 'plugin:@typescript-eslint/strict-type-checked'
- 'standard-with-typescript'
- 'plugin:promise/recommended'
- 'plugin:import/recommended'
- 'plugin:import/typescript'
- 'plugin:n/recommended'
- 'plugin:prettier/recommended'
- 'plugin:jsdoc/recommended-typescript-error'
- 'plugin:vitest/all'
- 'plugin:vitest/legacy-all'
- 'love'

rules:
'@typescript-eslint/consistent-type-definitions': ['error', 'type']
'@typescript-eslint/non-nullable-type-assertion-style': 'off'
'@typescript-eslint/promise-function-async': 'off'
'@typescript-eslint/strict-boolean-expressions': ['error', allowNullableObject: true]
# covered by import/no-extraneous-dependencies
'n/no-extraneous-import': 'off'
'import/no-default-export': 'error'
# disabled since it's already covered by the 'import/no-unresolved'
'n/no-missing-import': 'off'
'import/no-unresolved': 'error'
'jsdoc/check-param-names': ['error', checkDestructured: false]
'jsdoc/require-hyphen-before-param-description': 'error'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
paths-ignore:
- 'docs/**'
- '*.md'
schedule:
- cron: 0 20 * * *
# schedule:
# - cron: 0 20 * * *

jobs:
test:
Expand Down
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"cSpell.words": [
"onvif"
]
"eslint.workingDirectories": [{ "mode": "auto" }]
}
28 changes: 11 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,37 +55,31 @@
"trailingComma": "none"
},
"devDependencies": {
"@2bad/tsconfig": "2.0.1",
"@2bad/tsconfig": "3.0.0",
"@swc/cli": "0.3.12",
"@swc/core": "1.4.12",
"@types/node": "20.12.5",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@vitest/coverage-v8": "1.4.0",
"eslint": "8.57.0",
"@swc/core": "1.4.17",
"@types/node": "20.12.8",
"@vitest/coverage-v8": "1.6.0",
"eslint-config-love": "46.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard-with-typescript": "43.0.1",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.3",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-vitest": "0.4.1",
"eslint-plugin-vitest": "0.5.4",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"tsc-alias": "1.8.8",
"typescript": "5.4.4",
"typescript": "5.4.5",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
"vitest": "1.6.0"
},
"packageManager": "npm@10.5.1",
"packageManager": "npm@10.7.0",
"engines": {
"node": ">=20"
},
"volta": {
"node": "20.12.1",
"npm": "10.5.1"
"node": "20.12.2",
"npm": "10.7.0"
}
}

0 comments on commit 498eea1

Please sign in to comment.