Skip to content

Commit 574c1e4

Browse files
dependabot[bot]mcous
andauthoredAug 3, 2024··
chore(deps-dev): bump the lint group with 2 updates (#397)
* chore(deps-dev): bump the lint group with 2 updates Bumps the lint group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 7.18.0 to 8.0.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.18.0 to 8.0.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major dependency-group: lint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major dependency-group: lint ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Michael Cousins <michael@cousins.io>
1 parent 48ecc0b commit 574c1e4

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed
 

‎.eslintrc.cjs

+1-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
es6: true,
66
},
77
extends: ['standard', 'plugin:svelte/recommended', 'prettier'],
8-
plugins: ['svelte', 'simple-import-sort', 'json-files'],
8+
plugins: ['svelte', 'simple-import-sort'],
99
rules: {
1010
'simple-import-sort/imports': 'error',
1111
'simple-import-sort/exports': 'error',
@@ -31,14 +31,6 @@ module.exports = {
3131
'plugin:@typescript-eslint/stylistic',
3232
'prettier',
3333
],
34-
rules: {
35-
'@typescript-eslint/ban-types': [
36-
'error',
37-
{ types: { '{}': false }, extendDefaults: true },
38-
],
39-
'@typescript-eslint/no-explicit-any': 'off',
40-
'import/export': 'off',
41-
},
4234
},
4335
],
4436
parserOptions: {

‎.github/dependabot.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ updates:
2929
versions: ['>=9']
3030
- dependency-name: 'eslint-plugin-n'
3131
versions: ['>=17']
32+
- dependency-name: 'eslint-plugin-promise'
33+
versions: ['>=7']
3234

3335
# Update GitHub Actions dependencies
3436
- package-ecosystem: 'github-actions'

‎package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,15 @@
9797
"@sveltejs/vite-plugin-svelte": "^3.1.1",
9898
"@testing-library/jest-dom": "^6.3.0",
9999
"@testing-library/user-event": "^14.5.2",
100-
"@typescript-eslint/eslint-plugin": "^7.16.0",
101-
"@typescript-eslint/parser": "^7.16.0",
100+
"@typescript-eslint/eslint-plugin": "^8.0.0",
101+
"@typescript-eslint/parser": "^8.0.0",
102102
"@vitest/coverage-v8": "^2.0.2",
103103
"all-contributors-cli": "^6.26.1",
104104
"doctoc": "^2.2.1",
105105
"eslint": "^8.57.0",
106106
"eslint-config-prettier": "^9.1.0",
107107
"eslint-config-standard": "^17.1.0",
108108
"eslint-plugin-import": "^2.29.1",
109-
"eslint-plugin-json-files": "^4.1.0",
110109
"eslint-plugin-n": "^16.6.2",
111110
"eslint-plugin-promise": "^6.4.0",
112111
"eslint-plugin-simple-import-sort": "^12.1.1",

‎src/__tests__/types.test-d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ describe('types', () => {
9090
expectTypeOf(subject.fireEvent.click).toMatchTypeOf<
9191
(
9292
element: Element | Node | Document | Window,
93+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
9394
options?: {}
9495
) => Promise<boolean>
9596
>()

0 commit comments

Comments
 (0)
Please sign in to comment.