Skip to content

Commit

Permalink
Feature: Format files using Prettier code formatter (#737)
Browse files Browse the repository at this point in the history
* chore: Prettier

Add Prettier to format files

* chore: Pre-commit

Format staged files using pre-commit hook

* style: Format

Format files using Prettier code formatter

Co-authored-by: Evgenii <evg.bazhanov@yahoo.com>
  • Loading branch information
marcobiedermann and Ebazhanov committed Nov 10, 2020
1 parent dda96dc commit 8f797e2
Show file tree
Hide file tree
Showing 62 changed files with 4,218 additions and 2,872 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
name: Hello new contributor
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# pr-message: 'Hello @${{ github.actor }} , thank you for submitting a pull request, we appreciate it a lot! If you feel this repository helped you to achieve your goals, warm us with a cup of :coffee:. 🙂'
issue-message: 'Hello @${{ github.actor }} , thank you for submitting an issue! 👍 We highly appreciate if you work on it as well.'
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# pr-message: 'Hello @${{ github.actor }} , thank you for submitting a pull request, we appreciate it a lot! If you feel this repository helped you to achieve your goals, warm us with a cup of :coffee:. 🙂'
issue-message: 'Hello @${{ github.actor }} , thank you for submitting an issue! 👍 We highly appreciate if you work on it as well.'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
.DS_Store
*.bak
node_modules
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
}
382 changes: 191 additions & 191 deletions AngularJS/angularjs-quiz.md

Large diffs are not rendered by default.

14 changes: 10 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# Introduction

## Write something nice here
>First of all, thank you for considering contributing to this repository. People like you help others to reach their needs.

> First of all, thank you for considering contributing to this repository. People like you help others to reach their needs.
## When I want to create PR request
- Any changes or new questions even without an answer can be a great help! Please do not hesitate to create any new PR, as we do not have a strict requirements for that matter.

## If you have troubles with creating Pull Request
- Any changes or new questions even without an answer can be a great help! Please do not hesitate to create any new PR, as we do not have a strict requirements for that matter.

## If you have troubles with creating Pull Request

- read discussion here [/pull/151](https://github.com/Ebazhanov/in-quiz-questions/pull/151)

## If I found something weird or incorrect, what should I do?
- You can create a PR to your liking and add any improvements, so we can quickly merge it

- You can create a PR to your liking and add any improvements, so we can quickly merge it

## How can I get on the list of contributors?

- after your PR is merged, you will be automatically become a contributor and will be appeared in the Readme.md as the contributor.

## Sponsor this project

I put a lot of efforts and time into making this repo. If my answers helped you in anyway, please consider treating me with a cup of hot coffee (fine the link under 'Sponsor' section)
120 changes: 65 additions & 55 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
theme: jekyll-theme-leap-day
theme: jekyll-theme-leap-day
7 changes: 5 additions & 2 deletions adobe-illustrator/adobe-illustrator-quiz.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Adobe Illustrator Assessment
---------------------
## Adobe Illustrator Assessment

#### Q1. What would happen to the fill color of the object shown below if you copied and pasted it into another Illustrator file where the Document Color Mode was set to CMYK?

Expand Down Expand Up @@ -30,6 +29,7 @@ Adobe Illustrator Assessment
- [ ] switching to a different tool

#### Q5. Which effect was used to give depth to the outline of California below?

A map of California has a light beige main color and a small dark shadow.

- [ ] 3D Extrude & Bevel
Expand All @@ -45,6 +45,7 @@ A map of California has a light beige main color and a small dark shadow.
- [ ] Press Command+Shift+A (Mac) or Ctrl+Shift+A (Windows) and click the object you want to deselect.

#### Q7. You need to change the fill color of all the info circles in the map below. The circles were not created from a symbol. Other than Global Edit, which command would help you accomplish this task efficiently?

A map of Southern California includes many info circles shaded in light blue.

- [ ] Recolor Artwork
Expand All @@ -53,6 +54,7 @@ A map of Southern California includes many info circles shaded in light blue.
- [ ] Live Paint

#### Q8. How can you reverse the direction of all the arrows on the spiral in the image below?

A red lines spirals clockwise in, towards the center. Arrows along the line point in that direction.

- [ ] Select Object > Path > Reverse Path Direction.
Expand Down Expand Up @@ -187,6 +189,7 @@ A red lines spirals clockwise in, towards the center. Arrows along the line poin
- [ ] Not all the fonts in the Alana family are activated.

#### Q27. What command would you apply to make objects beneath the selected artwork visible inside the circle?

A yellow rectangle has a circular selection in the center.

- [ ] Make Pattern
Expand Down

0 comments on commit 8f797e2

Please sign in to comment.