10000 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
Show file tree
Hide file tree
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
Try to add some local path changes
  • Loading branch information
mattkram committed May 7, 2022
commit e54663bf749157429d0aca808859a7b2d9dafbe4
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ repos:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
args: [--resolve-plugins-relative-to, ./pyscriptjs]
additional_dependencies:
- 'eslint'
- 'eslint-plugin-svelte3'
Expand Down
2 changes: 1 addition & 1 deletion pyscriptjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
// "extends": "@tsconfig/svelte/tsconfig.json",

"include": ["src/**/*"],
"include": ["pyscriptjs/src/**/*"],
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
"compilerOptions": {
"moduleResolution": "node",
Expand Down
0