Skip to content

Commit 3de3e0a

Browse files
committed
Format everything
1 parent d5159e4 commit 3de3e0a

File tree

293 files changed

+25841
-21912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+25841
-21912
lines changed

.drone.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@ platform:
1919
arch: amd64
2020

2121
steps:
22-
- name: Download submodules
23-
image: alpine/git
24-
commands:
25-
- git submodule update --init --recursive
26-
- name: Build Hestia package and install
27-
commands:
28-
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
29-
- name: Run system / user tests
30-
commands:
31-
- bats ./test/test.bats
32-
- name: Run restore tests
33-
commands:
34-
- bats ./test/restore.bats
35-
- name: Run config tests
36-
commands:
37-
- bats ./test/config-tests.bats
22+
- name: Download submodules
23+
image: alpine/git
24+
commands:
25+
- git submodule update --init --recursive
26+
- name: Build Hestia package and install
27+
commands:
28+
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
29+
- name: Run system / user tests
30+
commands:
31+
- bats ./test/test.bats
32+
- name: Run restore tests
33+
commands:
34+
- bats ./test/restore.bats
35+
- name: Run config tests
36+
commands:
37+
- bats ./test/config-tests.bats
3838

3939
trigger:
40-
event: [ pull_request, push ]
40+
event: [pull_request, push]
4141
ref:
42-
- refs/heads/staging/*
43-
- refs/heads/beta
44-
- refs/heads/release
45-
- refs/heads/main
46-
- refs/pull/*/head
42+
- refs/heads/staging/*
43+
- refs/heads/beta
44+
- refs/heads/release
45+
- refs/heads/main
46+
- refs/pull/*/head
4747

4848
---
4949
kind: pipeline
@@ -66,35 +66,35 @@ platform:
6666
arch: amd64
6767

6868
steps:
69-
- name: Download submodules
70-
image: alpine/git
71-
commands:
72-
- git submodule update --init --recursive
73-
- name: Build Hestia package install
74-
commands:
75-
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
76-
- name: Run system / user tests
77-
commands:
78-
- bats ./test/test.bats
79-
- name: Run restore tests
80-
commands:
81-
- bats ./test/restore.bats
82-
- name: Run Letsencrypt test against Staging
83-
commands:
84-
- cp /root/le-env.sh /tmp/hestia-le-env.sh
85-
- bats ./test/letsencrypt.bats
86-
- name: Run config tests
87-
commands:
88-
- bats ./test/config-tests.bats
69+
- name: Download submodules
70+
image: alpine/git
71+
commands:
72+
- git submodule update --init --recursive
73+
- name: Build Hestia package install
74+
commands:
75+
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
76+
- name: Run system / user tests
77+
commands:
78+
- bats ./test/test.bats
79+
- name: Run restore tests
80+
commands:
81+
- bats ./test/restore.bats
82+
- name: Run Letsencrypt test against Staging
83+
commands:
84+
- cp /root/le-env.sh /tmp/hestia-le-env.sh
85+
- bats ./test/letsencrypt.bats
86+
- name: Run config tests
87+
commands:
88+
- bats ./test/config-tests.bats
8989

9090
trigger:
91-
event: [ pull_request, push ]
91+
event: [pull_request, push]
9292
ref:
93-
- refs/heads/staging/*
94-
- refs/heads/beta
95-
- refs/heads/release
96-
- refs/heads/main
97-
- refs/pull/*/head
93+
- refs/heads/staging/*
94+
- refs/heads/beta
95+
- refs/heads/release
96+
- refs/heads/main
97+
- refs/pull/*/head
9898

9999
---
100100
kind: pipeline
@@ -109,10 +109,10 @@ steps:
109109
- name: Build
110110
image: debian:bullseye
111111
commands:
112-
- ln -snf /etc/localtime && echo CET > /etc/timezone
113-
- ./src/hst_autocompile.sh --dontinstalldeps --hestia --debug --cross --noinstall --keepbuild --debug '~localsrc'
114-
- mkdir -p ./hestia/
115-
- mv /tmp/hestiacp-src/deb/*.deb ./hestia/
112+
- ln -snf /etc/localtime && echo CET > /etc/timezone
113+
- ./src/hst_autocompile.sh --dontinstalldeps --hestia --debug --cross --noinstall --keepbuild --debug '~localsrc'
114+
- mkdir -p ./hestia/
115+
- mv /tmp/hestiacp-src/deb/*.deb ./hestia/
116116
- name: Upload
117117
image: appleboy/drone-scp
118118
settings:
@@ -128,4 +128,4 @@ steps:
128128
- ./hestia/*
129129

130130
trigger:
131-
event: [ promote]
131+
event: [promote]

.eslintrc.cjs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
module.exports = {
22
root: true,
33
parserOptions: {
4-
ecmaVersion: 'latest'
4+
ecmaVersion: "latest",
55
},
6-
extends: ['eslint:recommended', 'plugin:editorconfig/noconflict', 'prettier'],
7-
plugins: ['editorconfig'],
8-
ignorePatterns: ['*.cjs'],
6+
extends: ["eslint:recommended", "plugin:editorconfig/noconflict", "prettier"],
7+
plugins: ["editorconfig"],
8+
ignorePatterns: ["*.cjs"],
99
env: {
1010
browser: true,
11-
es2021: true
11+
es2021: true,
1212
},
1313
globals: {
14-
$: 'readonly',
15-
jQuery: 'readonly',
16-
App: 'readonly'
14+
$: "readonly",
15+
jQuery: "readonly",
16+
App: "readonly",
1717
},
1818
rules: {
19-
'no-unused-vars': 'off',
20-
'no-undef': 'off',
21-
'no-redeclare': 'off'
22-
}
19+
"no-unused-vars": "off",
20+
"no-undef": "off",
21+
"no-redeclare": "off",
22+
},
2323
};

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Support Question
4-
url: https://forum.hestiacp.com
5-
about: We use GitHub issues only to discuss about HestiaCP bugs and new features.
3+
- name: Support Question
4+
url: https://forum.hestiacp.com
5+
about: We use GitHub issues only to discuss about HestiaCP bugs and new features.

.github/actions/yarn-nm-install/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
# - vs @setup/node: https://github.com/actions/setup-node/issues/325 #
1010
########################################################################################
1111

12-
name: 'Yarn install'
13-
description: 'Run yarn install with node_modules linker and cache enabled'
12+
name: "Yarn install"
13+
description: "Run yarn install with node_modules linker and cache enabled"
1414

1515
runs:
16-
using: 'composite'
16+
using: "composite"
1717
steps:
1818
- name: Expose yarn config as "$GITHUB_OUTPUT"
1919
id: yarn-config
@@ -46,8 +46,8 @@ runs:
4646
yarn install --immutable --inline-builds
4747
env:
4848
# CI optimizations. Overrides yarnrc.yml options (or their defaults) in the CI action.
49-
YARN_ENABLE_GLOBAL_CACHE: 'false' # Use local cache folder to keep downloaded archives
50-
YARN_NM_MODE: 'hardlinks-local' # Hardlinks-(local|global) reduces io / node_modules size
49+
YARN_ENABLE_GLOBAL_CACHE: "false" # Use local cache folder to keep downloaded archives
50+
YARN_NM_MODE: "hardlinks-local" # Hardlinks-(local|global) reduces io / node_modules size
5151
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz # Very small speedup when lock does not change
5252
# Other environment variables
53-
HUSKY: '0' # By default do not run HUSKY install
53+
HUSKY: "0" # By default do not run HUSKY install

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
version: 2
22
updates:
3-
43
# Maintain dependencies for GitHub Actions
54
- package-ecosystem: "github-actions"
65
directory: "/"

.lintstagedrc.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
22
// Run Stylelint on CSS files
3-
'*.css': 'stylelint --fix',
3+
"*.css": "stylelint --fix",
44
// Run ESLint on TS, TSX, JS, JSX files
5-
'*.{ts,js}?(x)': 'eslint --fix',
5+
"*.{ts,js}?(x)": "eslint --fix",
66
// Run Prettier everywhere
7-
'*': 'prettier --write --ignore-unknown'
7+
"*": "prettier --write --ignore-unknown",
88
};

.stylelintrc.cjs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module.exports = {
2-
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
2+
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
33
rules: {
4-
'selector-class-pattern': null,
5-
'no-descending-specificity': null,
6-
'block-no-empty': null,
4+
"selector-class-pattern": null,
5+
"no-descending-specificity": null,
6+
"block-no-empty": null,
77

8-
'max-line-length': null,
9-
'declaration-block-no-shorthand-property-overrides': null,
10-
'selector-id-pattern': null
11-
}
12-
}
8+
"max-line-length": null,
9+
"declaration-block-no-shorthand-property-overrides": null,
10+
"selector-id-pattern": null,
11+
},
12+
};

0 commit comments

Comments
 (0)