Skip to content

Commit 6907cf5

Browse files
Antreesybackportbot[bot]
authored andcommitted
chore(eslint): jsdoc rules
- jsdoc/tag-lines Signed-off-by: Maksim Sukharev <[email protected]>
1 parent 4dc97c0 commit 6907cf5

File tree

8 files changed

+8
-4
lines changed

8 files changed

+8
-4
lines changed

eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export default [
2424
'@typescript-eslint/no-unused-vars': 'off',
2525
'@typescript-eslint/no-use-before-define': 'off',
2626
'curly': 'off',
27-
'jsdoc/tag-lines': 'off',
2827
'import-extensions/extensions': 'off',
2928
'vue/first-attribute-linebreak': 'off',
3029
'vue/no-boolean-default': 'off',

src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function onShowServerLog() {
8686
8787
/**
8888
* Handle paste events with log entries
89+
*
8990
* @param event The keyboard event
9091
*/
9192
function onHandlePaste(event: ClipboardEvent) {

src/components/settings/SettingsDatetimeFormat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const dateTimeFormat = computed(() => settingsStore.dateTimeFormat)
7676
7777
/**
7878
*
79-
* @param v
79+
* @param v - How the log time should be displayed ('local' | 'raw' | 'utc' | 'relative')
8080
*/
8181
function setDateTimeFormat(v: IAppSettings['dateTimeFormat']) {
8282
return settingsStore

src/components/settings/SettingsSetLogLevel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const logLevel = computed(() => `${settingsStore.logLevel}`)
3838
3939
/**
4040
*
41-
* @param level
41+
* @param level - The loglevel which is currently set on the server (0 | 1 | 2 | 3 | 4)
4242
*/
4343
function setLogLevel(level: string) {
4444
const numericLevel = parseInt(level) as IAppSettings['logLevel']

src/components/table/LogTableHeader.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ import IconSortDescending from 'vue-material-design-icons/SortDescending.vue'
3838
interface Props {
3939
/**
4040
* Whether the column is sortable
41+
*
4142
* @default true
4243
*/
4344
sortable?: boolean
4445
/**
4546
* Current sorting
47+
*
4648
* @default ''
4749
*/
4850
sorted?: ISortingOptions

src/store/logging.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export const useLogStore = defineStore('logreader-logs', () => {
103103

104104
/**
105105
* Load entries from string
106+
*
106107
* @param text clipboard text content
107108
*/
108109
async function loadText(text: string) {

src/utils/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { useSettingsStore } from '../store/settings'
1212

1313
/**
1414
*
15-
* @param pinia
15+
* @param pinia Pinia instance
1616
*/
1717
export function useLogFormatting(pinia?: Pinia) {
1818
const settingsStore = useSettingsStore(pinia)

src/utils/logfile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export async function parseLogString(raw: string): Promise<ILogEntry[]> {
4040

4141
/**
4242
* Parse a raw (unknown type of) log entry into a modern log entry
43+
*
4344
* @param entry The raw log entry
4445
*/
4546
export function parseRawLogEntry(entry: IRawLogEntry): ILogEntry {

0 commit comments

Comments
 (0)