Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 33 additions & 45 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,70 +7,58 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# CSS-Files
[*.css]
indent_style = space
indent_size = 4

# HTML-Files
[*.html]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# TMPL-Files
[*.tmpl]
indent_style = space
indent_size = 4
# TS/JS-Files
[*.{ts,js,mjs}]
indent_size = 2

# JS-Files
[*.js]
indent_style = space
indent_size = 4
# JSON-Files
[*.json]
indent_style = tab

# PHP-Files
[*.php]
indent_style = space
# ReST-Files
[*.{rst,rst.txt}]
indent_size = 4
max_line_length = 80

# MD-Files
# Markdown-Files
[*.md]
indent_style = space
indent_size = 4
max_line_length = 80

# ReST-Files
[*.{rst,rst.txt}]
indent_style = space
indent_size = 3
max_line_length = 80
# YAML-Files
[*.{yaml,yml}]
indent_size = 2

# TypoScript
[*.typoscript]
indent_style = space
indent_size = 4
# NEON-Files
[*.neon]
indent_size = 2
indent_style = tab

# YML-Files
[{*.yml,*.yaml}]
indent_style = space
# stylelint
[.stylelintrc]
indent_size = 2

# package.json
[package.json]
indent_style = space
indent_size = 2

# composer.json
[composer.json]
indent_style = space
indent_size = 4
# TypoScript
[*.{typoscript,tsconfig}]
indent_size = 2

[*.neon]
# XLF-Files
[*.{xlf,xliff}]
indent_size = 2

# SQL-Files
[*.sql]
indent_style = tab
indent_size = 2

# Makefile
[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
# .htaccess
[{_.htaccess,.htaccess}]
indent_style = tab
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build

on:
push:
branches: [ develop, main ]
branches: [ feature/runTest-update, develop, main ]
tags: [ '*' ]
pull_request:
branches: [ develop ]
Expand All @@ -16,10 +16,10 @@ jobs:
uses: actions/checkout@v4

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

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

testsuite:
name: All php tests for TYPO3 ${{ matrix.packages.core }} with PHP ${{ matrix.packages.php }}
Expand Down Expand Up @@ -164,10 +164,14 @@ jobs:
-p ${{ matrix.packages.php }} \
-s phpstan

- name: Cleanup
- name: "Run the xliff lint"
run: |
Build/Scripts/runTests.sh -s clean
Build/Scripts/additionalTests.sh -s clean
Build/Scripts/runTests.sh \
-p ${{ matrix.packages.php }} \
-n -s normalizeXliff

- name: Cleanup
run: Build/Scripts/runTests.sh -s clean

TERUpload:
needs: [ resources, testsuite ]
Expand Down
147 changes: 147 additions & 0 deletions Build/.stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"plugins": [
"stylelint-order",
"stylelint-scss"
],
"customSyntax": "postcss-scss",
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"stylelint-commands"
]
}
],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"custom-property-empty-line-before": "never",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-empty-line-before": "never",
"font-family-no-duplicate-names": true,
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": "always-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-whitespace-after": "always",
"indentation": 4,
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-case": "lower",
"media-feature-name-no-unknown": true,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always-multi-line",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"no-empty-source": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"property-case": "lower",
"property-no-unknown": [
true,
{
"ignoreProperties": [
"animation-timeline",
"animation-range"
]
}
],
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"selector-max-empty-lines": 0,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "single",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": [
true,
{
"ignore": [
"custom-elements"
]
}
],
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"unit-case": "lower",
"unit-no-unknown": true,
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"value-list-max-empty-lines": 0
}
}
Loading