Run lint through formatter
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/validate-typescript.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/validate-typescript.yml
									
									
									
									
										vendored
									
									
								
							| @@ -36,4 +36,4 @@ jobs: | |||||||
|     - name: Run TypeScript |     - name: Run TypeScript | ||||||
|       run: yarn typescript |       run: yarn typescript | ||||||
|     - name: Run ESLint |     - name: Run ESLint | ||||||
|       run: yarn lint |       run: yarn lint-ci | ||||||
|   | |||||||
| @@ -27,6 +27,7 @@ | |||||||
|     "test": "jest", |     "test": "jest", | ||||||
|     "typescript": "tsc --noEmit", |     "typescript": "tsc --noEmit", | ||||||
|     "lint": "eslint \"**/*.{js,ts,tsx}\"", |     "lint": "eslint \"**/*.{js,ts,tsx}\"", | ||||||
|  |     "lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js", | ||||||
|     "prepare": "bob build", |     "prepare": "bob build", | ||||||
|     "release": "release-it", |     "release": "release-it", | ||||||
|     "example": "yarn --cwd example", |     "example": "yarn --cwd example", | ||||||
| @@ -49,6 +50,7 @@ | |||||||
|     "registry": "https://registry.npmjs.org/" |     "registry": "https://registry.npmjs.org/" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|  |     "@firmnav/eslint-github-actions-formatter": "^1.0.1", | ||||||
|     "@react-native-community/eslint-config": "^2.0.0", |     "@react-native-community/eslint-config": "^2.0.0", | ||||||
|     "@react-native-community/eslint-plugin": "^1.1.0", |     "@react-native-community/eslint-plugin": "^1.1.0", | ||||||
|     "@release-it/conventional-changelog": "^2.0.0", |     "@release-it/conventional-changelog": "^2.0.0", | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							| @@ -2,6 +2,11 @@ | |||||||
| # yarn lockfile v1 | # 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": | "@babel/code-frame@7.12.11": | ||||||
|   version "7.12.11" |   version "7.12.11" | ||||||
|   resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" |   resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" | ||||||
| @@ -1016,6 +1021,13 @@ | |||||||
|     minimatch "^3.0.4" |     minimatch "^3.0.4" | ||||||
|     strip-json-comments "^3.1.1" |     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": | "@hapi/address@2.x.x": | ||||||
|   version "2.1.4" |   version "2.1.4" | ||||||
|   resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5" |   resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user