diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 63655d2..59b4150 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 77164b8..82c6563 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,19 +1,22 @@ --- - 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 +permissions: + contents: read - steps: - - name: Pull Request Labeler - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: ".github/labeler.yml" - sync-labels: true +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 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index c6340d6..975aec1 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -5,7 +5,8 @@ on: # yamllint disable-line rule:truthy push: null pull_request: null -permissions: {} +permissions: + contents: read jobs: build: @@ -27,7 +28,8 @@ jobs: fetch-depth: 0 - name: Super-linter - uses: super-linter/super-linter@v7.1.0 # x-release-please-version + uses: super-linter/super-linter@v7.2.1 # x-release-please-version env: # To report GitHub Actions status checks GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MARKDOWN_CONFIG_FILE: .markdown-lint.yaml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 70a4435..9235835 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -3,6 +3,9 @@ name: Pre-commit on: [push, pull_request] +permissions: + contents: read + jobs: pre-commit: runs-on: ubuntu-latest @@ -14,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.3.0 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" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e33713..9066b2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..544138b --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "singleQuote": true +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d58b79..2f6f75d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,7 @@ If you encounter a bug or have a feature request, please create an issue: ## How to Contribute -We welcome contributions in the form of bug fixes, new features, documentation improvements, and more. +We welcome contributions in the form of bugfixes, new features, documentation improvements, and more. ### 1. Fork the Repository 🔗 @@ -40,16 +40,16 @@ 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 @@ -57,16 +57,16 @@ Clone the forked repository to your local machine: 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 diff --git a/README.md b/README.md index f305910..3970e4d 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,20 @@ ## 📖 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 Openings For Dummies** | James Eade | For Dummies | -| **Learn Chess: A Gold-medal Winner Explains How to Play and Win at Chess** | John Nunn | Gambit Publications Ltd | -| **Learn Chess From The Greats** | Peter J. Tamburro, Jr. | Dover Publications | -| **MY 60 Memorable Games: Chess Tactics, Chess Strategies** | Bobby Fischer | Batsford GB | -| **My System: Winning Chess Strategies** | Aron Nimzowitsch | SnowBall Publishing | -| **The Usborne Complete Book of Chess** | Elizabeth Dalby | Usborne Publishing Ltd | +| 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) | +| **Chess Openings For Dummies** | James Eade | For Dummies | +| **Learn Chess: A Gold-medal Winner Explains How to Play and Win at Chess** | John Nunn | Gambit Publications Ltd | +| **Learn Chess From The Greats** | Peter J. Tamburro, Jr. | Dover Publications | +| **Learn To Play Chess Like A Boss** | Patrick Wolff | Penguin Random House Dorling Kindersley | +| **MY 60 Memorable Games: Chess Tactics, Chess Strategies** | Bobby Fischer | Batsford GB | +| **My System: Winning Chess Strategies** | Aron Nimzowitsch | SnowBall Publishing | +| **The Caro-Kann The Easy Way** | Thomas Engqvist | Batsford Chess | +| **The Life and Games of Mikhail Tal** | Everyman Chess Classic | Everyman Chess | +| **The Usborne Complete Book of Chess** | Elizabeth Dalby | Usborne Publishing Ltd | ## 📅 Calendars @@ -48,7 +52,11 @@ ## 🃏 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 | +| 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 | + +## Sponsor Our Developers 🪙 💵 💰 💳 🏧 + +[![John Bampton](assets/sponsor-jbampton.png)](https://github.com/sponsors/jbampton) diff --git a/_config.yml b/_config.yml index ae14154..44d00b6 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ --- remote_theme: pages-themes/modernist@v0.2.0 plugins: -- jekyll-remote-theme + - jekyll-remote-theme diff --git a/assets/social-preview.png b/assets/social-preview.png index bb65434..ed0c41d 100644 Binary files a/assets/social-preview.png and b/assets/social-preview.png differ diff --git a/assets/sponsor-jbampton.png b/assets/sponsor-jbampton.png new file mode 100644 index 0000000..1b0e926 Binary files /dev/null and b/assets/sponsor-jbampton.png differ