📝 Add .cursorrules with engineering and development guidelines #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Github's super linter | |
| # https://github.com/github/super-linter | |
| name: Super Linter | |
| on: [push, pull_request] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| name: Lint Code Base | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| with: | |
| # Full git history is needed to get a proper | |
| # list of changed files within `super-linter` | |
| fetch-depth: 0 | |
| - name: Run Super-Linter | |
| uses: github/super-linter/slim@v6 | |
| env: | |
| VALIDATE_ALL_CODEBASE: false | |
| DEFAULT_BRANCH: main | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LINTER_RULES_PATH: / | |
| # Turn off the ones we run with pre-commit | |
| VALIDATE_PYTHON_FLAKE8: false | |
| VALIDATE_PYTHON_BLACK: false | |
| VALIDATE_PYTHON_ISORT: false | |
| VALIDATE_PYTHON_MYPY: false | |
| VALIDATE_MARKDOWN: false | |
| VALIDATE_YAML: false | |
| VALIDATE_JSON: false | |
| VALIDATE_PYTHON_PYLINT: false | |
| VALIDATE_PYTHON_RUFF: false | |
| # Don't run JSCPD - it's never useful, it's very verbose, and it's slow | |
| VALIDATE_JSCPD: false | |
| # Don't run gitleaks - it tells me things I already know (we have secrets in settings) | |
| VALIDATE_GITLEAKS: false |