Ver código fonte

meta: update linter config to cover more files (#4706)

* fix missing lint

fixes https://github.com/transloadit/uppy/pull/4704#issuecomment-1735929961

* Update package.json

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

---------

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
Mikael Finstad 1 ano atrás
pai
commit
4282f3dc89
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 0
      .github/workflows/linters.yml
  2. 1 1
      package.json

+ 2 - 0
.github/workflows/linters.yml

@@ -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

+ 1 - 1
package.json

@@ -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",