Skip to content

Commit

Permalink
Run prettier (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Dec 10, 2024
1 parent fc904be commit f1521ad
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 39 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of the package manifests
- package-ecosystem: 'github-actions'
directory: '/' # Location of the package manifests
schedule:
interval: "daily" # Check for updates daily
interval: 'daily' # Check for updates daily
30 changes: 15 additions & 15 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: "Pull Request Labeler"
name: 'Pull Request Labeler'

on:
- pull_request_target
on:
- pull_request_target

jobs:
label:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Ensure write access for PRs
jobs:
label:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Ensure write access for PRs

steps:
- name: Pull Request Labeler
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler.yml"
sync-labels: true
steps:
- name: Pull Request Labeler
uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
configuration-path: '.github/labeler.yml'
sync-labels: true
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.13' # Specify your Python version
python-version: '3.13' # Specify your Python version

- name: Set Python Version Hash
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ repos:
- id: yamllint
name: run yamllint
description: Lint YAML files
args: ["-c", ".github/linters/.yamllint.yaml"]
args: ['-c', '.github/linters/.yamllint.yaml']
files: \.ya?ml$

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: ["--ignore-words", ".github/linters/codespell.txt"]
args: ['--ignore-words', '.github/linters/codespell.txt']

- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
Expand All @@ -53,7 +53,7 @@ repos:
rev: v9.1.2
hooks:
- id: oxipng
args: ["-o", "4", "--strip", "safe", "--alpha"]
args: ['-o', '4', '--strip', 'safe', '--alpha']

- repo: https://github.com/rhysd/actionlint
rev: v1.7.3
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
28 changes: 14 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,33 @@ Click the **"Fork"** button at the top right corner of the repository page to cr

Clone the forked repository to your local machine:

```bash
git clone https://github.com/your-username/social-chess.git
```
```bash
git clone https://github.com/your-username/social-chess.git
```

### 3. 🌿 Create a Branch

```bash
cd awesome-social-chess
git checkout -b add-new-feature
```
```bash
cd awesome-social-chess
git checkout -b add-new-feature
```

### 4. ✏️ Make Changes - Make necessary improvements, such as fixing bugs, enhancing documentation, or adding new features

### 5. 📝 Commit Changes

Use descriptive commit messages that clearly state the purpose of your changes.

```bash
git add .
git commit -m "Add feature: description of feature"
```
```bash
git add .
git commit -m "Add feature: description of feature"
```

### 6. ⬆️ Push Changes

```bash
git push origin add-new-feature
```
```bash
git push origin add-new-feature
```

### 7. 🔄 Create a Pull Request

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
## 📖 Books

| Title | Author(s) | Publisher |
|----------------------------------------------------------------------------|---------------------------------------------------|--------------------------------------|
| -------------------------------------------------------------------------- | ------------------------------------------------- | ------------------------------------ |
| **101 Questions On How To Play Chess** | Fred Wilson | Dover Game And Puzzle Activity Books |
| **Bobby Fischer Teaches Chess** | Bobby Fischer, Stuart Margulies, Donn Mosenfelder | Basic Systems Inc, Bantam Books |
| **Chess for Kids: How to Play and Win** | Richard James | Robinson; 2nd edition (2015) |
Expand All @@ -52,7 +52,7 @@
## 🃏 Cards

| Title | Description |
|-------------------------------------------|--------------------------------------------------------------------------------------|
| ----------------------------------------- | ------------------------------------------------------------------------------------ |
| **Chess Endgame Cards General: Benoni 1** | Standard size playing cards |
| **The Chess Deck** | 50 Cards For Mastering The Basics - Levy Rozman AKA GOTHAMCHESS: Large deck of cards |

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
remote_theme: pages-themes/[email protected]
plugins:
- jekyll-remote-theme
- jekyll-remote-theme

0 comments on commit f1521ad

Please sign in to comment.