Skip to content

Commit 542c5fb

Browse files
ci: integrate prettier check in github workflow (#185)
# Description This PR integrates the prettier check in the github workflow to ensure the code respects the correct formatting standards Fixes #177 🦕 --------- Co-authored-by: Ivan Shymko <[email protected]>
1 parent e7e8f35 commit 542c5fb

Some content is hidden

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

55 files changed

+5622
-4801
lines changed

.github/workflows/linter.yml renamed to .github/workflows/eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Linter
1+
name: Run Linter & Formatter
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
linter:
10+
eslint:
1111

1212
runs-on: ubuntu-latest
1313

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "es5",
3+
"semi": true,
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 2
7+
}

0 commit comments

Comments
 (0)