style(schema): lint (#7025)

This commit is contained in:
Daniel Roe 2022-08-29 11:42:05 +01:00 committed by GitHub
parent 0087e7bbe0
commit 75053c29c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -762,5 +762,5 @@ export default defineUntypedSchema({
* @type {typeof import('../src/types/config').AppConfig}
* @version 3
*/
appConfig: {},
appConfig: {},
})

View File

@ -61,7 +61,7 @@ export default defineUntypedSchema({
*/
analyze: {
$resolve: (val, get) => {
if(val !== true) {
if (val !== true) {
return val ?? false
}
const rootDir = get('rootDir')

View File

@ -5,7 +5,7 @@ import { SchemaDefinition } from 'untyped'
/**
* @version 2
*/
export default <SchemaDefinition> {
export default <SchemaDefinition>{
/**
* Directory name that holds all the assets and generated pages for a `static` build.
*/

View File

@ -19,7 +19,7 @@ export default defineUntypedSchema({
*/
analyze: {
$resolve: (val, get) => {
if(val !== true) {
if (val !== true) {
return val ?? false
}
const rootDir = get('rootDir')
@ -265,7 +265,7 @@ export default defineUntypedSchema({
execute: undefined,
postcssOptions: {
config: {
$resolve: (val, get) => val ?? get('postcss.config')
$resolve: (val, get) => val ?? get('postcss.config')
},
plugins: {
$resolve: (val, get) => val ?? get('postcss.plugins')