Skip to content

Commit f6acb7f

Browse files
authored
Merge pull request #52 from evoWeb/feature/runTest-update
[TASK] Update runTests.sh
2 parents f063279 + 58d8b99 commit f6acb7f

16 files changed

Lines changed: 3279 additions & 3526 deletions

.editorconfig

Lines changed: 33 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -7,70 +7,58 @@ root = true
77
[*]
88
charset = utf-8
99
end_of_line = lf
10-
insert_final_newline = true
11-
trim_trailing_whitespace = true
12-
13-
# CSS-Files
14-
[*.css]
15-
indent_style = space
16-
indent_size = 4
17-
18-
# HTML-Files
19-
[*.html]
2010
indent_style = space
2111
indent_size = 4
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
2214

23-
# TMPL-Files
24-
[*.tmpl]
25-
indent_style = space
26-
indent_size = 4
15+
# TS/JS-Files
16+
[*.{ts,js,mjs}]
17+
indent_size = 2
2718

28-
# JS-Files
29-
[*.js]
30-
indent_style = space
31-
indent_size = 4
19+
# JSON-Files
20+
[*.json]
21+
indent_style = tab
3222

33-
# PHP-Files
34-
[*.php]
35-
indent_style = space
23+
# ReST-Files
24+
[*.{rst,rst.txt}]
3625
indent_size = 4
26+
max_line_length = 80
3727

38-
# MD-Files
28+
# Markdown-Files
3929
[*.md]
40-
indent_style = space
41-
indent_size = 4
4230
max_line_length = 80
4331

44-
# ReST-Files
45-
[*.{rst,rst.txt}]
46-
indent_style = space
47-
indent_size = 3
48-
max_line_length = 80
32+
# YAML-Files
33+
[*.{yaml,yml}]
34+
indent_size = 2
4935

50-
# TypoScript
51-
[*.typoscript]
52-
indent_style = space
53-
indent_size = 4
36+
# NEON-Files
37+
[*.neon]
38+
indent_size = 2
39+
indent_style = tab
5440

55-
# YML-Files
56-
[{*.yml,*.yaml}]
57-
indent_style = space
41+
# stylelint
42+
[.stylelintrc]
5843
indent_size = 2
5944

6045
# package.json
6146
[package.json]
62-
indent_style = space
6347
indent_size = 2
6448

65-
# composer.json
66-
[composer.json]
67-
indent_style = space
68-
indent_size = 4
49+
# TypoScript
50+
[*.{typoscript,tsconfig}]
51+
indent_size = 2
6952

70-
[*.neon]
53+
# XLF-Files
54+
[*.{xlf,xliff}]
55+
indent_size = 2
56+
57+
# SQL-Files
58+
[*.sql]
7159
indent_style = tab
60+
indent_size = 2
7261

73-
# Makefile
74-
[{Makefile,**.mk}]
75-
# Use tabs for indentation (Makefiles require tabs)
62+
# .htaccess
63+
[{_.htaccess,.htaccess}]
7664
indent_style = tab

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: build
22

33
on:
44
push:
5-
branches: [ develop, main ]
5+
branches: [ feature/runTest-update, develop, main ]
66
tags: [ '*' ]
77
pull_request:
88
branches: [ develop ]
@@ -16,10 +16,10 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: "Run the xliff lint"
19-
run: Build/Scripts/additionalTests.sh -s lintXliff
19+
run: Build/Scripts/runTests.sh -s lintScss
2020

2121
- name: "Test building the documentation"
22-
run: Build/Scripts/additionalTests.sh -s checkRstRenderingSingle
22+
run: Build/Scripts/runTests.sh -s checkRstRenderingSingle
2323

2424
testsuite:
2525
name: All php tests for TYPO3 ${{ matrix.packages.core }} with PHP ${{ matrix.packages.php }}
@@ -164,10 +164,14 @@ jobs:
164164
-p ${{ matrix.packages.php }} \
165165
-s phpstan
166166
167-
- name: Cleanup
167+
- name: "Run the xliff lint"
168168
run: |
169-
Build/Scripts/runTests.sh -s clean
170-
Build/Scripts/additionalTests.sh -s clean
169+
Build/Scripts/runTests.sh \
170+
-p ${{ matrix.packages.php }} \
171+
-n -s normalizeXliff
172+
173+
- name: Cleanup
174+
run: Build/Scripts/runTests.sh -s clean
171175

172176
TERUpload:
173177
needs: [ resources, testsuite ]

Build/.stylelintrc

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"plugins": [
3+
"stylelint-order",
4+
"stylelint-scss"
5+
],
6+
"customSyntax": "postcss-scss",
7+
"rules": {
8+
"at-rule-empty-line-before": [
9+
"always",
10+
{
11+
"except": [
12+
"blockless-after-same-name-blockless",
13+
"first-nested"
14+
],
15+
"ignore": [
16+
"after-comment"
17+
]
18+
}
19+
],
20+
"at-rule-name-case": "lower",
21+
"at-rule-name-space-after": "always-single-line",
22+
"at-rule-semicolon-newline-after": "always",
23+
"block-closing-brace-empty-line-before": "never",
24+
"block-closing-brace-newline-after": "always",
25+
"block-closing-brace-newline-before": "always-multi-line",
26+
"block-closing-brace-space-before": "always-single-line",
27+
"block-no-empty": true,
28+
"block-opening-brace-newline-after": "always-multi-line",
29+
"block-opening-brace-space-after": "always-single-line",
30+
"block-opening-brace-space-before": "always",
31+
"color-hex-case": "lower",
32+
"color-hex-length": "short",
33+
"color-no-invalid-hex": true,
34+
"comment-empty-line-before": [
35+
"always",
36+
{
37+
"except": [
38+
"first-nested"
39+
],
40+
"ignore": [
41+
"stylelint-commands"
42+
]
43+
}
44+
],
45+
"comment-no-empty": true,
46+
"comment-whitespace-inside": "always",
47+
"custom-property-empty-line-before": "never",
48+
"declaration-bang-space-after": "never",
49+
"declaration-bang-space-before": "always",
50+
"declaration-block-no-duplicate-properties": true,
51+
"declaration-block-no-shorthand-property-overrides": true,
52+
"declaration-block-semicolon-newline-after": "always-multi-line",
53+
"declaration-block-semicolon-space-after": "always-single-line",
54+
"declaration-block-semicolon-space-before": "never",
55+
"declaration-block-single-line-max-declarations": 1,
56+
"declaration-block-trailing-semicolon": "always",
57+
"declaration-colon-newline-after": "always-multi-line",
58+
"declaration-colon-space-after": "always-single-line",
59+
"declaration-colon-space-before": "never",
60+
"declaration-empty-line-before": "never",
61+
"font-family-no-duplicate-names": true,
62+
"function-calc-no-unspaced-operator": true,
63+
"function-comma-newline-after": "always-multi-line",
64+
"function-comma-space-after": "always-single-line",
65+
"function-comma-space-before": "never",
66+
"function-linear-gradient-no-nonstandard-direction": true,
67+
"function-max-empty-lines": 0,
68+
"function-name-case": "lower",
69+
"function-parentheses-newline-inside": "always-multi-line",
70+
"function-parentheses-space-inside": "never-single-line",
71+
"function-whitespace-after": "always",
72+
"indentation": 4,
73+
"keyframe-declaration-no-important": true,
74+
"length-zero-no-unit": true,
75+
"max-empty-lines": 1,
76+
"media-feature-colon-space-after": "always",
77+
"media-feature-colon-space-before": "never",
78+
"media-feature-name-case": "lower",
79+
"media-feature-name-no-unknown": true,
80+
"media-feature-parentheses-space-inside": "never",
81+
"media-feature-range-operator-space-after": "always",
82+
"media-feature-range-operator-space-before": "always",
83+
"media-query-list-comma-newline-after": "always-multi-line",
84+
"media-query-list-comma-space-after": "always-single-line",
85+
"media-query-list-comma-space-before": "never",
86+
"no-empty-source": true,
87+
"no-eol-whitespace": true,
88+
"no-extra-semicolons": true,
89+
"no-invalid-double-slash-comments": true,
90+
"no-missing-end-of-source-newline": true,
91+
"number-leading-zero": "never",
92+
"number-no-trailing-zeros": true,
93+
"property-case": "lower",
94+
"property-no-unknown": [
95+
true,
96+
{
97+
"ignoreProperties": [
98+
"animation-timeline",
99+
"animation-range"
100+
]
101+
}
102+
],
103+
"rule-empty-line-before": [
104+
"always-multi-line",
105+
{
106+
"except": [
107+
"first-nested"
108+
],
109+
"ignore": [
110+
"after-comment"
111+
]
112+
}
113+
],
114+
"selector-attribute-brackets-space-inside": "never",
115+
"selector-attribute-operator-space-after": "never",
116+
"selector-attribute-operator-space-before": "never",
117+
"selector-combinator-space-after": "always",
118+
"selector-combinator-space-before": "always",
119+
"selector-descendant-combinator-no-non-space": true,
120+
"selector-list-comma-newline-after": "always",
121+
"selector-list-comma-space-before": "never",
122+
"selector-max-empty-lines": 0,
123+
"selector-pseudo-class-case": "lower",
124+
"selector-pseudo-class-no-unknown": true,
125+
"selector-pseudo-class-parentheses-space-inside": "never",
126+
"selector-pseudo-element-case": "lower",
127+
"selector-pseudo-element-colon-notation": "single",
128+
"selector-pseudo-element-no-unknown": true,
129+
"selector-type-case": "lower",
130+
"selector-type-no-unknown": [
131+
true,
132+
{
133+
"ignore": [
134+
"custom-elements"
135+
]
136+
}
137+
],
138+
"shorthand-property-no-redundant-values": true,
139+
"string-no-newline": true,
140+
"unit-case": "lower",
141+
"unit-no-unknown": true,
142+
"value-list-comma-newline-after": "always-multi-line",
143+
"value-list-comma-space-after": "always-single-line",
144+
"value-list-comma-space-before": "never",
145+
"value-list-max-empty-lines": 0
146+
}
147+
}

0 commit comments

Comments
 (0)