chore: add 'no-empty-function': 'error' to eslint.config.mjs (#17656)

This commit is contained in:
yusheng chen
2025-04-09 12:10:17 +08:00
committed by GitHub
parent f1e4d5ed6c
commit f633d1ee92
16 changed files with 32 additions and 34 deletions

View File

@@ -7,10 +7,11 @@ import type {
IPaginationProps,
PageButtonProps,
} from './type'
import { noop } from 'lodash-es'
const defaultState: IPagination = {
currentPage: 0,
setCurrentPage: () => {},
setCurrentPage: noop,
truncableText: '...',
truncableClassName: '',
pages: [],