Skip to content

Commit

Permalink
chore: bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.3.0
Browse files Browse the repository at this point in the history
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.18.0 to 8.3.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.3.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and benfdking committed Sep 1, 2024
1 parent e41a358 commit 2f8ea1e
Show file tree
Hide file tree
Showing 13 changed files with 94 additions and 103 deletions.
13 changes: 0 additions & 13 deletions js/packages/eslint-config-shared/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,6 @@ module.exports = {
},
],

'@typescript-eslint/member-delimiter-style': [
'warn',
{
multiline: {
delimiter: 'none',
requireLast: false,
},
singleline: {
delimiter: 'semi',
requireLast: false,
},
},
],
'@typescript-eslint/no-unused-vars': 'warn',

'react/function-component-definition': ['off'],
Expand Down
4 changes: 2 additions & 2 deletions js/packages/eslint-config-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"main": "index.js",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
Expand Down
1 change: 1 addition & 0 deletions js/packages/quary-extension-ui/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/components/ui
4 changes: 2 additions & 2 deletions js/packages/quary-extension-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/vscode-webview": "^1.57.5",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ const mapChartFileSourceToForm = (
}
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const FormSchema = z.union([
z.object({
type: z.literal('rawSql'),
Expand Down
4 changes: 2 additions & 2 deletions js/packages/quary-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@
"@types/sql.js": "^1.4.9",
"@types/vscode": "^1.92.0",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-web": "^0.0.56",
"@vscode/vsce": "^3.0.0",
"assert": "^2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export class AuthenticationProviderQuary
}

return Ok(await response.json())
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
return Err('Network error during login')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { PreInitServices } from './services'
/**
* Define the types of edits that can be made to the document.
*/
interface ChartEdit extends Pick<ChartFile, 'config'> {}
interface SourceEdit extends Pick<ChartFile, 'source'> {}
type ChartEdit = Pick<ChartFile, 'config'>
type SourceEdit = Pick<ChartFile, 'source'>

interface ChartDocumentDelegate {
getFileData(): Promise<Uint8Array>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { PreInitServices } from './services'
/**
* Define the types of edits that can be made to the document.
*/
interface Edit extends DashboardFile {}
type Edit = DashboardFile

interface DashboardDocumentDelegate {
getFileData(): Promise<Uint8Array>
Expand Down
5 changes: 3 additions & 2 deletions js/packages/quary-extension/src/web/panels.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { WebviewPanel } from 'vscode'
import * as vscode from 'vscode'

// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const JS_STRING = require('../ui/assets/index.js.txt').default
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const CSS_STRING = require('../ui/assets/index.css.txt').default

export const HTML_STRING = `<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export class PathBasedSqlite extends Sqlite implements ServicesDatabase {
try {
const read = await fileReader(fullPath)
buffer = Buffer.from(read)
} catch (error) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (e) {
buffer = Buffer.from('')
await writer(fullPath, buffer)
}
Expand Down
2 changes: 1 addition & 1 deletion js/packages/quary-extension/src/web/servicesRustWasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
} from '../rust_wasm/quary_wasm_bindgen'
import { ServicesFiles } from './servicesFiles'

// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const wasm = require('../rust_wasm/quary_wasm_bindgen_bg.wasm')

const init = () => {
Expand Down
Loading

0 comments on commit 2f8ea1e

Please sign in to comment.