diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a4c6dde2..5612dba9 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -37,20 +37,3 @@ jobs: - name: Run ESLint run: npx eslint . --ext .js,.jsx,.ts,.tsx - - stylelint: - name: Stylelint - needs: check-changes - if: needs.changes.outputs.stylelint == 'true' - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: ${{ github.head_ref }} - - - name: Install npm Modules - uses: ./.github/actions/install-npm-modules - - - name: Run Stylelint - run: npx stylelint "**/*.css" diff --git a/.markdownlint.yml b/.markdownlint.yml deleted file mode 100644 index 5365c1aa..00000000 --- a/.markdownlint.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -########################### -########################### -## Markdown Linter rules ## -########################### -########################### - -# Linter rules doc: -# - https://github.com/DavidAnson/markdownlint -# -# Note: -# To comment out a single error: -# -# any violations you want -# -# - -############### -# Rules by id # -############### -MD013: false -MD033: false -MD041: false -################# -# Rules by tags # -################# diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f822e432..99e25a61 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,10 +7,6 @@ repos: rev: 1.2.3 hooks: - id: databooks-meta - # - repo: https://github.com/pre-commit/mirrors-prettier - # rev: v3.0.0-alpha.3 - # hooks: - # - id: prettier - repo: https://github.com/psf/black rev: 22.10.0 hooks: @@ -33,44 +29,10 @@ repos: rev: 5.12.0 hooks: - id: isort - - repo: https://github.com/markdownlint/markdownlint - rev: v0.12.0 - hooks: - - id: markdownlint - args: [-r, "~MD033, ~MD013"] - repo: https://github.com/nbQA-dev/nbQA rev: 1.5.3 hooks: - id: nbqa-check-ast exclude: .*indent.ipynb - # - id: nbqa-flake8 - id: nbqa-isort - # - id: nbqa-mypy - # - id: nbqa-pylint - id: nbqa-pyupgrade - # - id: nbqa-yapf - # - id: nbqa-autopep8 - # exclude: .*sum_1to(20|100).ipynb - # - id: nbqa-pydocstyle - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 - hooks: - - id: check-added-large-files - - id: check-json - exclude: .eslintrc.json|tsconfig.json - # - id: pretty-format-json - # args: [--autofix] - - id: check-merge-conflict - - id: check-toml - - id: check-xml - - id: check-yaml - - id: debug-statements - - id: detect-aws-credentials - args: [--allow-missing-credentials] - - id: detect-private-key - - id: end-of-file-fixer - exclude: \.svg$ - - id: no-commit-to-branch - args: [--branch, main] - - id: requirements-txt-fixer - - id: trailing-whitespace diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index b43f8af1..00000000 --- a/.stylelintignore +++ /dev/null @@ -1,5 +0,0 @@ -/my-website -/src/components/InteractiveCodeEditor/styles.module.css -/src/components/BrowserWindow/styles.module.css - -build diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index 80fe070e..00000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": ["stylelint-config-standard", "stylelint-config-prettier"], - "rules": { - "selector-class-pattern": null - } -} diff --git a/.yamllint.yml b/.yamllint.yml deleted file mode 100644 index bf0ab012..00000000 --- a/.yamllint.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -yaml-files: - - "*.yaml" - - "*.yml" - - ".yamllint" - -ignore: | - .git - node_modules - build - .docusaurus - /my-website - -rules: - braces: enable - brackets: enable - colons: enable - commas: enable - comments: - level: warning - comments-indentation: - level: warning - document-end: disable - document-start: - level: warning - empty-lines: enable - empty-values: disable - float-values: disable - hyphens: enable - indentation: enable - key-duplicates: enable - key-ordering: disable - line-length: disable - new-line-at-end-of-file: enable - new-lines: enable - octal-values: disable - quoted-strings: disable - trailing-spaces: enable