-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:guardian/commercial-core into main
- Loading branch information
Showing
29 changed files
with
1,648 additions
and
1,795 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 |
---|---|---|
@@ -1,20 +1,28 @@ | ||
; This file is for unifying the coding style for different editors and IDEs | ||
; See editorconfig.org | ||
# based on https://github.com/guardian/configs/blob/main/.editorconfig | ||
|
||
; top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
# For [accessibility reasons](https://alexandersandberg.com/tabs-for-accessibility/) | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[package.json] | ||
# `npm` autoformats `package.json` every time you install a new dependency. | ||
indent_size = 2 | ||
|
||
# Because `yml` | ||
[*.yml] | ||
indent_style = space | ||
indent_size = 4 | ||
indent_size = 2 | ||
|
||
[*.md] | ||
# Using tabs to indent pre-formatted code in markdown makes the spacing too extreme | ||
# when rendered on GitHub, so we revert back to spaces here. | ||
indent_style = space | ||
indent_size = 4 |
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,11 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"jest": true, | ||
"browser": true, | ||
"node": true | ||
}, | ||
"extends": ["@guardian/eslint-config-typescript"], | ||
"globals": { "googletag": "readonly" }, | ||
"ignorePatterns": ["dist", "coverage", "src/__vendor"] | ||
} |
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,15 +1,15 @@ | ||
name: 'Lint PR' | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
semantic-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v1.2.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
semantic-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v3.2.3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.