mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +00:00
style(schema): lint (#7025)
This commit is contained in:
parent
0087e7bbe0
commit
75053c29c2
@ -762,5 +762,5 @@ export default defineUntypedSchema({
|
||||
* @type {typeof import('../src/types/config').AppConfig}
|
||||
* @version 3
|
||||
*/
|
||||
appConfig: {},
|
||||
appConfig: {},
|
||||
})
|
||||
|
@ -61,7 +61,7 @@ export default defineUntypedSchema({
|
||||
*/
|
||||
analyze: {
|
||||
$resolve: (val, get) => {
|
||||
if(val !== true) {
|
||||
if (val !== true) {
|
||||
return val ?? false
|
||||
}
|
||||
const rootDir = get('rootDir')
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user