Skip to content

Commit

Permalink
replace prettier with biome
Browse files Browse the repository at this point in the history
  • Loading branch information
vorant94 committed Jul 23, 2024
1 parent 0aa9527 commit efe4686
Show file tree
Hide file tree
Showing 223 changed files with 17,825 additions and 18,284 deletions.
1 change: 0 additions & 1 deletion .docker/proxy/example.env

This file was deleted.

16 changes: 0 additions & 16 deletions .docker/proxy/templates/default.conf.template

This file was deleted.

5 changes: 0 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@ packages/blog/public/client/main.js

**/.DS_Store

.docker/*
!.docker/proxy
.docker/proxy/*
!.docker/proxy/example.env
!.docker/proxy/templates
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = tab
tab_width = 2
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Setup

runs:
using: 'composite'
using: "composite"
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache: "npm"

- run: npm ci --ignore-scripts --no-audit
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI/CD

on:
push:
branches: ['master']
branches: ["master"]
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deps-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Dependencies check

on:
schedule:
- cron: '0 0 1 * *'
- cron: "0 0 1 * *"
workflow_dispatch:

jobs:
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@ packages/blog/public/client/style.css
packages/blog/public/client/main.js

**/.DS_Store

.docker/*
!.docker/proxy
.docker/proxy/*
!.docker/proxy/example.env
!.docker/proxy/templates
20 changes: 0 additions & 20 deletions .prettierignore

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierrc.mjs

This file was deleted.

31 changes: 31 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"formatter": {
"attributePosition": "multiline"
},
"files": {
"ignore": [
"**/.idea",
"**/node_modules",
"**/dist",
"**/.env",
"**/test-results/",
"**/playwright-report/",
"**/blob-report/",
"**/playwright/.cache/",
"packages/blog/public/client/style.css",
"packages/blog/public/client/main.js",
"**/.DS_Store"
]
},
"overrides": [
{
"include": ["tsconfig.*.json"],
"json": {
"parser": {
"allowComments": true
}
}
}
]
}
15 changes: 2 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
services:
proxy:
image: nginx:1.25-alpine
container_name: proxy
hostname: proxy
restart: unless-stopped
env_file: ./.docker/proxy/.env
ports:
- '80:80'
volumes:
- './.docker/proxy/templates:/etc/nginx/templates'
depends_on:
- blog

blog:
build:
dockerfile: ./packages/blog/Dockerfile
container_name: blog
hostname: blog
restart: unless-stopped
env_file: ./packages/blog/.env
ports:
- "3000:3000"
Loading

0 comments on commit efe4686

Please sign in to comment.