-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updating ESLint rules * Updating formatting * Updating formatting * Adding format:check * Update .eslintrc.js * Update .eslintrc.js * Update .prettierignore * Update .eslintrc.js Co-authored-by: Volodymyr Kolesnykov <[email protected]> * Update .eslintrc.js * Update .eslintrc.js * Update dependabot.yml * Update dependabot.yml --------- Co-authored-by: Volodymyr Kolesnykov <[email protected]>
- Loading branch information
1 parent
a800826
commit dd0b0fc
Showing
36 changed files
with
1,460 additions
and
1,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require( '@automattic/eslint-plugin-wpvip/init' ); | ||
|
||
module.exports = { | ||
extends: [ | ||
'plugin:@automattic/wpvip/recommended', | ||
'plugin:@automattic/wpvip/cli', | ||
'plugin:@automattic/wpvip/weak-testing', | ||
'plugin:@automattic/wpvip/typescript', | ||
], | ||
rules: { | ||
camelcase: 'warn', | ||
'jest/no-mocks-import': 'warn', | ||
'no-await-in-loop': 'warn', | ||
'no-console': 0, | ||
'security/detect-object-injection': 0, | ||
'security/detect-non-literal-fs-filename': 0, | ||
'promise/no-multiple-resolved': 0, | ||
'no-unused-vars': 'off', | ||
'@typescript-eslint/no-unused-vars': 'warn', | ||
}, | ||
root: true, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/CHANGELOG.md | ||
/__fixtures__/ | ||
/dist/ | ||
/flow-typed/ | ||
/npm-shrinkwrap.json | ||
/CONTRIBUTING.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import * as Types from '../../../graphqlTypes'; | ||
|
||
export type GetAppSlowlogsQueryVariables = Types.Exact<{ | ||
appId?: Types.InputMaybe<Types.Scalars['Int']['input']>; | ||
envId?: Types.InputMaybe<Types.Scalars['Int']['input']>; | ||
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>; | ||
after?: Types.InputMaybe<Types.Scalars['String']['input']>; | ||
}>; | ||
export type GetAppSlowlogsQueryVariables = Types.Exact< { | ||
appId?: Types.InputMaybe< Types.Scalars[ 'Int' ][ 'input' ] >; | ||
envId?: Types.InputMaybe< Types.Scalars[ 'Int' ][ 'input' ] >; | ||
limit?: Types.InputMaybe< Types.Scalars[ 'Int' ][ 'input' ] >; | ||
after?: Types.InputMaybe< Types.Scalars[ 'String' ][ 'input' ] >; | ||
} >; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,49 @@ | ||
export function appDestroy({ name, phase }?: { | ||
name: any; | ||
phase?: string; | ||
}): any; | ||
export function appRebuild({ name, phase, warnings }?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
}): any; | ||
export function appRestart({ name, phase, warnings }?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
}): any; | ||
export function appStart({ name, phase, warnings }?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
}): any; | ||
export function appStop({ name, phase }?: { | ||
name: any; | ||
phase?: string; | ||
}): any; | ||
export function appDestroy( { name, phase }?: { name: any; phase?: string } ): any; | ||
export function appRebuild( { | ||
name, | ||
phase, | ||
warnings, | ||
}?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
} ): any; | ||
export function appRestart( { | ||
name, | ||
phase, | ||
warnings, | ||
}?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
} ): any; | ||
export function appStart( { | ||
name, | ||
phase, | ||
warnings, | ||
}?: { | ||
name: any; | ||
phase?: string; | ||
warnings?: {}; | ||
} ): any; | ||
export function appStop( { name, phase }?: { name: any; phase?: string } ): any; | ||
export function crash(): string; | ||
export function experimental(on?: boolean): string; | ||
export function experimental( on?: boolean ): string; | ||
export function init(): string; | ||
export function newContent(type?: string): string; | ||
export function noDockerDep(dep?: string): string; | ||
export function poweroff({ phase }?: { | ||
phase?: string; | ||
}): any; | ||
export function print({ text, color }?: { | ||
text: any; | ||
color?: string; | ||
}): any; | ||
export function printFont({ text, color, font }?: { | ||
text: any; | ||
color?: string; | ||
font?: string; | ||
}): any; | ||
export function releaseChannel(channel?: string): string; | ||
export function secretToggle(on?: boolean): string; | ||
export function secretToggleDenied(on?: boolean): string; | ||
export function newContent( type?: string ): string; | ||
export function noDockerDep( dep?: string ): string; | ||
export function poweroff( { phase }?: { phase?: string } ): any; | ||
export function print( { text, color }?: { text: any; color?: string } ): any; | ||
export function printFont( { | ||
text, | ||
color, | ||
font, | ||
}?: { | ||
text: any; | ||
color?: string; | ||
font?: string; | ||
} ): any; | ||
export function releaseChannel( channel?: string ): string; | ||
export function secretToggle( on?: boolean ): string; | ||
export function secretToggleDenied( on?: boolean ): string; | ||
export function badToken(): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
import { LandoConfig } from "./lando"; | ||
import { LandoConfig } from './lando'; | ||
|
||
export function buildConfig(options: Partial<LandoConfig>): LandoConfig; | ||
export function dc(shell: any, bin: any, cmd: any, { compose, project, opts }: { | ||
compose: any; | ||
project: any; | ||
opts?: {}; | ||
}): any; | ||
export function getApp(files: any, userConfRoot: any): any; | ||
export function getLandoFiles(files?: any[], startFrom?: string): any; | ||
export function getTasks(config?: {}, argv?: {}, tasks?: any[]): any[]; | ||
export function setupCache(log: any, config: any): import("lando/lib/cache"); | ||
export function setupEngine(config: any, cache: any, events: any, log: any, shell: any, id: any): import("lando/lib/engine"); | ||
export function setupMetrics(log: any, config: any): import("lando/lib/metrics"); | ||
export function buildConfig( options: Partial< LandoConfig > ): LandoConfig; | ||
export function dc( | ||
shell: any, | ||
bin: any, | ||
cmd: any, | ||
{ | ||
compose, | ||
project, | ||
opts, | ||
}: { | ||
compose: any; | ||
project: any; | ||
opts?: {}; | ||
} | ||
): any; | ||
export function getApp( files: any, userConfRoot: any ): any; | ||
export function getLandoFiles( files?: any[], startFrom?: string ): any; | ||
export function getTasks( config?: {}, argv?: {}, tasks?: any[] ): any[]; | ||
export function setupCache( log: any, config: any ): import('lando/lib/cache'); | ||
export function setupEngine( | ||
config: any, | ||
cache: any, | ||
events: any, | ||
log: any, | ||
shell: any, | ||
id: any | ||
): import('lando/lib/engine'); | ||
export function setupMetrics( log: any, config: any ): import('lando/lib/metrics'); |
Oops, something went wrong.