Run lint through formatter

This commit is contained in:
Marc Rousavy 2021-02-23 14:17:10 +01:00
parent 3a8ba79a0c
commit 27ec27abcd
3 changed files with 15 additions and 1 deletions

View File

@ -36,4 +36,4 @@ jobs:
- name: Run TypeScript
run: yarn typescript
- name: Run ESLint
run: yarn lint
run: yarn lint-ci

View File

@ -27,6 +27,7 @@
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js",
"prepare": "bob build",
"release": "release-it",
"example": "yarn --cwd example",
@ -49,6 +50,7 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@firmnav/eslint-github-actions-formatter": "^1.0.1",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/eslint-plugin": "^1.1.0",
"@release-it/conventional-changelog": "^2.0.0",

View File

@ -2,6 +2,11 @@
# yarn lockfile v1
"@actions/core@^1.2.0":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.6.tgz#a78d49f41a4def18e88ce47c2cac615d5694bf09"
integrity sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==
"@babel/code-frame@7.12.11":
version "7.12.11"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
@ -1016,6 +1021,13 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@firmnav/eslint-github-actions-formatter@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@firmnav/eslint-github-actions-formatter/-/eslint-github-actions-formatter-1.0.1.tgz#dbedcc4d8a799faf9b709417981039819980aab0"
integrity sha512-KbhZwNPFuwoRWspUfoJISOeGZHGSm7tvdOC+uOUlbcY9LNmusRHHmBcq3KaorvW9WmmiOS/2EOo0nafFZ0gpEQ==
dependencies:
"@actions/core" "^1.2.0"
"@hapi/address@2.x.x":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"