Skip to content

Commit

Permalink
meta: update linter config to cover more files (#4706)
Browse files Browse the repository at this point in the history
* fix missing lint

fixes #4704 (comment)

* Update package.json

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>

---------

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
  • Loading branch information
mifi and aduh95 authored Sep 28, 2023
1 parent 574209c commit 4282f3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ on:
paths-ignore:
- '.github/**'
- '!.github/workflows/linters.yml'
- '!.github/CONTRIBUTING.md'
pull_request:
# We want all branches so we configure types to be the GH default again
types: [ opened, synchronize, reopened ]
paths-ignore:
- '.github/**'
- '!.github/workflows/linters.yml'
- '!.github/CONTRIBUTING.md'

env:
YARN_ENABLE_GLOBAL_CACHE: false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"dev:with-companion": "npm-run-all --parallel start:companion dev",
"dev": "yarn workspace @uppy-dev/dev dev",
"lint:fix": "yarn run lint -- --fix",
"lint:markdown": "remark -f -q . -i .remarkignore",
"lint:markdown": "remark -f -q -i .remarkignore . .github/CONTRIBUTING.md",
"lint:staged": "lint-staged",
"lint:css": "stylelint ./packages/**/*.scss",
"lint:css:fix": "stylelint ./packages/**/*.scss --fix",
Expand Down

0 comments on commit 4282f3d

Please sign in to comment.