-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce eslint and prettier and GHA checks (#21)
* introduce eslint and prettier * add GHA CI * run prettier again
- Loading branch information
Showing
60 changed files
with
4,257 additions
and
2,067 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,24 @@ | ||
name: Generate Check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "20" | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run Generate | ||
run: yarn generate |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Prettier Check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "20" | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run Prettier | ||
run: yarn prettier --check . |
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,10 +1,10 @@ | ||
import { defineAppConfig } from '#imports' | ||
import { defineAppConfig } from "#imports"; | ||
|
||
export default defineAppConfig({ | ||
title: 'Integritee', | ||
title: "Integritee", | ||
theme: { | ||
colors: { | ||
primary: '#ff0000', | ||
primary: "#ff0000", | ||
}, | ||
}, | ||
}) | ||
}); |
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,3 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; |
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,24 +1,26 @@ | ||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('@/assets/fonts/Inter-Regular.woff2') format('woff2'), | ||
url('@/assets/fonts/Inter-Regular.woff') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
font-family: "Inter"; | ||
src: | ||
url("@/assets/fonts/Inter-Regular.woff2") format("woff2"), | ||
url("@/assets/fonts/Inter-Regular.woff") format("woff"); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('@/assets/fonts/Inter-Medium.woff2') format('woff2'), | ||
url('@/assets/fonts/Inter-Medium.woff') format('woff'); | ||
font-weight: 500; | ||
font-style: normal; | ||
font-family: "Inter"; | ||
src: | ||
url("@/assets/fonts/Inter-Medium.woff2") format("woff2"), | ||
url("@/assets/fonts/Inter-Medium.woff") format("woff"); | ||
font-weight: 500; | ||
font-style: normal; | ||
} | ||
|
||
|
||
@font-face { | ||
font-family: 'WhyteInktrap'; | ||
src: url('@/assets/fonts/WhyteInktrap-Medium.woff2') format('woff2'), | ||
url('@/assets/fonts/WhyteInktrap-Medium.woff') format('woff'); | ||
font-weight: 500; | ||
font-style: normal; | ||
} | ||
font-family: "WhyteInktrap"; | ||
src: | ||
url("@/assets/fonts/WhyteInktrap-Medium.woff2") format("woff2"), | ||
url("@/assets/fonts/WhyteInktrap-Medium.woff") format("woff"); | ||
font-weight: 500; | ||
font-style: normal; | ||
} |
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
Oops, something went wrong.