sourabpramanik / payload-auth-plugin

Authentication plugin for Payload CMS
https://npmjs.com/package/payload-auth-plugin
MIT License
67 stars 4 forks source link

Init Trunk and fix ESLint issues #12

Closed gewenyu99 closed 4 months ago

gewenyu99 commented 4 months ago

Hi there, I opened a PR for you to try Trunk Code Quality.

Code Quality will do these things:

Somethings we could do further with Code Quality

I enabled the following linters, automatically suggested by Code Quality to cover more of your code.

  1. General-purpose linters:

    • prettier@3.3.3 (Code formatter for multiple languages)
  2. Language-specific linters:

    • eslint@8.57.0 (JavaScript/TypeScript)
    • markdownlint@0.41.0 (Markdown)
    • yamllint@1.35.1 (YAML)
  3. Security and vulnerability scanners:

    • checkov@3.2.208 (Infrastructure as Code security)
    • osv-scanner@1.8.2 (Open Source Vulnerability scanner)
    • trivy@0.53.0 (Container and filesystem vulnerability scanner)
    • trufflehog@3.80.1 (Secrets scanner)
  4. Docker-specific linter:

    • hadolint@2.12.0 (Dockerfile linter)
  5. Git-related tools:

    • git-diff-check (Git diff checker)
  6. CI/CD specific linters:

    • actionlint@1.7.1 (GitHub Actions workflow linter)

New commands

Lmk if you have questions!

sourabpramanik commented 4 months ago

@gewenyu99 Thanks for the PR