mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
build: don't fix lint on ci
This commit is contained in:
parent
310c06ff04
commit
1eb55b41e8
@ -14,8 +14,9 @@
|
||||
"release:site": "cross-env TUSIMPLE=true npm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
||||
"lint": "npm run lint:code && npm run lint:type",
|
||||
"lint:type": "tsc -b --force tsconfig.esm.json",
|
||||
"lint:code": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
||||
"format": "npm run format:code && npm run format:md",
|
||||
"lint:code": "eslint \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
||||
"lint:fix": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
||||
"format": "npm run format:code && npm run format:md && npm run lint:fix",
|
||||
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
|
||||
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
|
||||
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
|
||||
|
@ -359,7 +359,7 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
render () {
|
||||
const { $slots, virtualScroll, clsPrefix } = this
|
||||
const { $slots, virtualScroll, clsPrefix, mergedTheme } = this
|
||||
return (
|
||||
<div
|
||||
ref="selfRef"
|
||||
@ -384,8 +384,8 @@ export default defineComponent({
|
||||
) : !this.empty ? (
|
||||
<NScrollbar
|
||||
ref="scrollbarRef"
|
||||
theme={this.mergedTheme.peers.Scrollbar}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Scrollbar}
|
||||
theme={mergedTheme.peers.Scrollbar}
|
||||
themeOverrides={mergedTheme.peerOverrides.Scrollbar}
|
||||
scrollable={this.scrollable}
|
||||
container={virtualScroll ? this.virtualListContainer : undefined}
|
||||
content={virtualScroll ? this.virtualListContent : undefined}
|
||||
@ -471,8 +471,8 @@ export default defineComponent({
|
||||
<div class={`${clsPrefix}-base-select-menu__empty`}>
|
||||
{renderSlot($slots, 'empty', undefined, () => [
|
||||
<NEmpty
|
||||
theme={this.mergedTheme.peers.Empty}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Empty}
|
||||
theme={mergedTheme.peers.Empty}
|
||||
themeOverrides={mergedTheme.peerOverrides.Empty}
|
||||
/>
|
||||
])}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user