8000 Add `pre-commit` config for `eslint` by mattkram · Pull Request #259 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

Add pre-commit config for eslint #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
May 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 7, 2022
commit 50fd83332970705fba26d566311d2fabe56293db
14 changes: 6 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,15 @@ repos:


- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v8.4.0'
rev: v8.4.0
hooks:
- id: eslint
files: pyscriptjs/src/.*\.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
- 'eslint'
- 'eslint-plugin-svelte3'
- 'typescript'
- '@typescript-eslint/eslint-plugin'
- '@typescript-eslint/parser'
- eslint
- eslint-plugin-svelte3
- typescript
- '@typescript-eslint/eslint-plugin'
- '@typescript-eslint/parser'
# - '@tsconfig/svelte'


0