Skip to content

Commit

Permalink
Merge branch 'main' into integration_test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant authored Mar 21, 2023
2 parents 70aaf50 + e371097 commit 3ded337
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 5 deletions.
3 changes: 2 additions & 1 deletion website/docs/linter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
sidebar_position: 91
description: Lint your config
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import styles from '../blog/2023-02-20-lint-your-feature-flags/styles.module.css';
import styles from '../static/docs/lint/styles.module.css';

# Lint your config

Expand Down
Binary file added website/static/docs/lint/circleci.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/docs/lint/gha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/docs/lint/gitlab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/docs/lint/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions website/static/docs/lint/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.gitlab {
background-image: url("gitlab.png");
background-repeat: no-repeat;
background-size: 35%;
padding-left: 2.8rem;
}

.github {
background-image: url("gha.png");
background-repeat: no-repeat;
background-size: 20%;
padding-left: 2.5rem;
}

.circleci {
background-image: url("circleci.png");
background-repeat: no-repeat;
background-size: 30%;
padding-left: 2.5rem;
}
10 changes: 6 additions & 4 deletions website/versioned_docs/version-v1.5.1/linter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
sidebar_position: 91
description: Lint your config
---



import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import styles from '../blog/2023-02-20-lint-your-feature-flags/styles.module.css';

# Lint your config

Expand Down Expand Up @@ -56,7 +58,7 @@ The command line has 2 arguments you should specify.
You can run `go-feature-flag-lint` using GitHub actions:

<Tabs groupId="code">
<TabItem value="githubaction" label="Github Action" attributes={{className: styles.github}}>
<TabItem value="githubaction" label="Github Action">

```yaml
name: "Build"
Expand All @@ -78,7 +80,7 @@ jobs:
```
</TabItem>
<TabItem value="circleci" label="CircleCi" attributes={{className: styles.circleci}}>
<TabItem value="circleci" label="CircleCi">
```yaml
version: 2.1
Expand All @@ -94,7 +96,7 @@ jobs:
```
</TabItem>
<TabItem value="gitlab" label="Gitlab" attributes={{className: styles.gitlab}}>
<TabItem value="gitlab" label="Gitlab">
```yaml
image: ubuntu
Expand Down

0 comments on commit 3ded337

Please sign in to comment.