Skip to content

Commit

Permalink
🧹 chore(none): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Apr 25, 2024
1 parent 1148eff commit 2409f53
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 57 deletions.
32 changes: 16 additions & 16 deletions sources/@roots/bud-eslint/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ import {bind} from '@roots/bud-framework/extension/decorators'
import Plugin from 'eslint-webpack-plugin'

export type Options = {
cache: EslintPluginOptions['cache']
cacheLocation: EslintPluginOptions['cacheLocation']
context: EslintPluginOptions['context']
eslintPath: EslintPluginOptions['eslintPath']
extensions: EslintPluginOptions['extensions']
failOnError: EslintPluginOptions['failOnError']
failOnWarning: EslintPluginOptions['failOnWarning']
fix: EslintPluginOptions['fix']
formatter: EslintPluginOptions['formatter']
lintDirtyModulesOnly: EslintPluginOptions['lintDirtyModulesOnly']
overrideConfig: EslintPluginOptions['overrideConfig']
resolvePluginsRelativeTo: EslintPluginOptions['resolvePluginsRelativeTo']
threads: EslintPluginOptions['threads']
useEslintrc: EslintPluginOptions['useEslintrc']
} &
EslintPluginOptions & Record<string, unknown>
cache: EslintPluginOptions['cache']
cacheLocation: EslintPluginOptions['cacheLocation']
context: EslintPluginOptions['context']
eslintPath: EslintPluginOptions['eslintPath']
extensions: EslintPluginOptions['extensions']
failOnError: EslintPluginOptions['failOnError']
failOnWarning: EslintPluginOptions['failOnWarning']
fix: EslintPluginOptions['fix']
formatter: EslintPluginOptions['formatter']
lintDirtyModulesOnly: EslintPluginOptions['lintDirtyModulesOnly']
overrideConfig: EslintPluginOptions['overrideConfig']
resolvePluginsRelativeTo: EslintPluginOptions['resolvePluginsRelativeTo']
threads: EslintPluginOptions['threads']
useEslintrc: EslintPluginOptions['useEslintrc']
} & EslintPluginOptions &
Record<string, unknown>

export type Api = {
config: Options[`overrideConfig`]
Expand Down
5 changes: 1 addition & 4 deletions sources/@roots/bud-minify/src/minify-js/extension.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ type BudMinimizeJSPublicInterface = {
`mangle`
>,
) => BudMinimizeJSPublicApi
} & StrictPublicExtensionApi<
BudMinimizeJSPublicApi,
BudMinimizeJSOptions
>
} & StrictPublicExtensionApi<BudMinimizeJSPublicApi, BudMinimizeJSOptions>

/**
* Terser configuration
Expand Down
5 changes: 1 addition & 4 deletions sources/@roots/bud-postcss/src/extension/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ type BudPostCssPublicInterface = {
use(
plugins: OptionCallbackValue<Options, `order`>,
): BudPostCssPublicInterface
} & StrictPublicExtensionApi<
BudPostCssOptionsApi,
Options
>
} & StrictPublicExtensionApi<BudPostCssOptionsApi, Options>

@options<Options>({
config: false,
Expand Down
8 changes: 3 additions & 5 deletions sources/@roots/bud-sass/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ type Options = {
* {@link Options.warnRuleAsWarning}
*/
warnRuleAsWarning: SassLoaderOptions[`warnRuleAsWarning`] | undefined
} & Record<string, unknown> & SassLoaderOptions
} & Record<string, unknown> &
SassLoaderOptions

export type BudSassApi = {
/**
Expand Down Expand Up @@ -65,10 +66,7 @@ export type BudSassApi = {
* @see {@link Options.additionalData}
*/
registerGlobal: (additionalData: Array<string> | string) => BudSassApi
} & StrictPublicExtensionApi<
BudSassOptions,
Options
>
} & StrictPublicExtensionApi<BudSassOptions, Options>

@options<Options>({
additionalData: undefined,
Expand Down
32 changes: 16 additions & 16 deletions sources/@roots/bud-stylelint/src/extension/base/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ import {bind, options} from '@roots/bud-framework/extension/decorators'
import Plugin from 'stylelint-webpack-plugin'

export type Options = {
cache: Plugin.Options[`cache`]
cacheLocation: Plugin.Options[`cacheLocation`]
config: Plugin.Options[`config`]
configFile: Plugin.Options[`configFile`]
context: Plugin.Options[`context`]
extensions: Plugin.Options[`extensions`]
failOnError: Plugin.Options[`failOnError`]
failOnWarning: Plugin.Options[`failOnWarning`]
files: Plugin.Options[`files`]
fix: Plugin.Options[`fix`]
formatter: Plugin.Options[`formatter`]
lintDirtyModulesOnly: Plugin.Options[`lintDirtyModulesOnly`]
stylelintPath: Plugin.Options[`stylelintPath`]
threads: Plugin.Options[`threads`]
} &
Plugin.Options & Record<string, unknown>
cache: Plugin.Options[`cache`]
cacheLocation: Plugin.Options[`cacheLocation`]
config: Plugin.Options[`config`]
configFile: Plugin.Options[`configFile`]
context: Plugin.Options[`context`]
extensions: Plugin.Options[`extensions`]
failOnError: Plugin.Options[`failOnError`]
failOnWarning: Plugin.Options[`failOnWarning`]
files: Plugin.Options[`files`]
fix: Plugin.Options[`fix`]
formatter: Plugin.Options[`formatter`]
lintDirtyModulesOnly: Plugin.Options[`lintDirtyModulesOnly`]
stylelintPath: Plugin.Options[`stylelintPath`]
threads: Plugin.Options[`threads`]
} & Plugin.Options &
Record<string, unknown>

export type Api = {
extends(
Expand Down
4 changes: 1 addition & 3 deletions sources/@roots/bud-support/src/utilities/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,7 @@ function getFileTarget(file: {name?: string}) {
return `base`
}

function isNormalInspectResult(
file?: InspectResult,
): file is {
function isNormalInspectResult(file?: InspectResult): file is {
absolutePath: string
name: string
sha1: string
Expand Down
5 changes: 1 addition & 4 deletions sources/@roots/bud-swc/src/extension/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ type BudSWCPublicInterface = {
target: BudSWCOptions[`jsc`][`target`]
transform: BudSWCOptions[`jsc`][`transform`]
typescript: BudJSCPublicInterface
} & StrictPublicExtensionApi<
BudSWCApi,
BudSWCOptions
>
} & StrictPublicExtensionApi<BudSWCApi, BudSWCOptions>

@options<BudSWCOptions>({
env: undefined,
Expand Down
5 changes: 1 addition & 4 deletions sources/@roots/bud-tailwindcss/src/extension/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ type BudTailwindOptionsPublicInterface = {
key: K,
theme: ThemeConfig[K],
): BudTailwindOptionsPublicInterface
} & StrictPublicExtensionApi<
BudTailwindOptionsApi,
Options
>
} & StrictPublicExtensionApi<BudTailwindOptionsApi, Options>

/**
* TailwindCSS configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@ export interface SettingsBlocksPropertiesComplete {
*/
radius?: boolean
}
} & SettingsPropertiesAppearanceTools & SettingsPropertiesColor &
} & SettingsPropertiesAppearanceTools &
SettingsPropertiesColor &
SettingsPropertiesCustom &
SettingsPropertiesLayout &
SettingsPropertiesSpacing &
Expand Down

0 comments on commit 2409f53

Please sign in to comment.