diff --git a/app/.eslintrc.js b/app/.eslintrc.cjs similarity index 100% rename from app/.eslintrc.js rename to app/.eslintrc.cjs diff --git a/app/package.json b/app/package.json index ddea0e45..8ab57474 100644 --- a/app/package.json +++ b/app/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite", "typecheck": "vue-tsc --noEmit", - "lint": "eslint . -c .eslintrc.js --fix --ext .ts,.vue,.tsx,.d.ts", + "lint": "eslint . -c .eslintrc.cjs --fix --ext .ts,.vue,.tsx,.d.ts", "build": "vite build", "preview": "vite preview", "gettext:extract": "vue-gettext-extract", diff --git a/app/src/components/StdDesign/StdDataDisplay/StdTable.vue b/app/src/components/StdDesign/StdDataDisplay/StdTable.vue index 78618bac..5403f895 100644 --- a/app/src/components/StdDesign/StdDataDisplay/StdTable.vue +++ b/app/src/components/StdDesign/StdDataDisplay/StdTable.vue @@ -172,7 +172,7 @@ function buildIndexMap(data: any, level: number = 0, index: number = 0, total: n }) } } -function orderPaginationChange(_pagination: Pagination, filters: never, sorter: SorterResult) { +function orderPaginationChange(_pagination: Pagination, _: never, sorter: SorterResult) { if (sorter) { selectedRowKeysBuffer.value = [] params.order_by = sorter.field diff --git a/app/src/components/StdDesign/StdDataEntry/index.tsx b/app/src/components/StdDesign/StdDataEntry/index.tsx index f9a4ae7e..dc92d74a 100644 --- a/app/src/components/StdDesign/StdDataEntry/index.tsx +++ b/app/src/components/StdDesign/StdDataEntry/index.tsx @@ -9,7 +9,7 @@ import type { StdDesignEdit } from '@/components/StdDesign/types' const fn = _.get // eslint-disable-next-line @typescript-eslint/no-explicit-any -function readonly(edit: StdDesignEdit, dataSource: any, dataIndex: any) { +function readonly(_: StdDesignEdit, dataSource: any, dataIndex: any) { return h('p', fn(dataSource, dataIndex)) } @@ -80,7 +80,7 @@ function selector(edit: StdDesignEdit, dataSource: any, dataIndex: any) { /> } // eslint-disable-next-line @typescript-eslint/no-explicit-any -function switcher(edit: StdDesignEdit, dataSource: any, dataIndex: any) { +function switcher(_: StdDesignEdit, dataSource: any, dataIndex: any) { return h(Switch, { 'checked': dataSource?.[dataIndex], // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/src/version.json b/app/src/version.json index f16e5ff5..82f76589 100644 --- a/app/src/version.json +++ b/app/src/version.json @@ -1 +1 @@ -{"version":"2.0.0-beta.4","build_id":67,"total_build":271} \ No newline at end of file +{"version":"2.0.0-beta.4","build_id":68,"total_build":272} \ No newline at end of file diff --git a/app/version.json b/app/version.json index f16e5ff5..82f76589 100644 --- a/app/version.json +++ b/app/version.json @@ -1 +1 @@ -{"version":"2.0.0-beta.4","build_id":67,"total_build":271} \ No newline at end of file +{"version":"2.0.0-beta.4","build_id":68,"total_build":272} \ No newline at end of file