From 83fee73ae6874b3be501f4a2f875031c3e34c768 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Fri, 3 Apr 2020 06:37:57 -0700 Subject: [PATCH] eslint-config: add version badge and add homepage for eslint-config (#28506) Summary: Add version badge to README of eslint-config, and add specific url for the homepage so people looking at the npm package can find out where the package is from. ## Changelog [Internal] [Changed] - Add version badge to README of eslint-config Pull Request resolved: https://github.com/facebook/react-native/pull/28506 Test Plan: Not required as the only changes are made in README and homepage prop of package.json Differential Revision: D20837085 Pulled By: cpojer fbshipit-source-id: 820d3b44b069780ec8764c6152d2e7fd5220933c --- packages/eslint-config-react-native-community/README.md | 6 ++++++ packages/eslint-config-react-native-community/package.json | 1 + 2 files changed, 7 insertions(+) diff --git a/packages/eslint-config-react-native-community/README.md b/packages/eslint-config-react-native-community/README.md index 20423bd14b..d0dd6a118d 100644 --- a/packages/eslint-config-react-native-community/README.md +++ b/packages/eslint-config-react-native-community/README.md @@ -1,5 +1,7 @@ # eslint-config-react-native-community +[![Version][version-badge]][package] + ## Installation ``` @@ -17,3 +19,7 @@ Add to your eslint config (`.eslintrc`, or `eslintConfig` field in `package.json "extends": "@react-native-community" } ``` + +[version-badge]: https://img.shields.io/npm/v/@react-native-community/eslint-config.svg?style=flat-square +[package]: https://www.npmjs.com/package/@react-native-community/eslint-config + diff --git a/packages/eslint-config-react-native-community/package.json b/packages/eslint-config-react-native-community/package.json index 411292dfa2..5a43302d45 100644 --- a/packages/eslint-config-react-native-community/package.json +++ b/packages/eslint-config-react-native-community/package.json @@ -8,6 +8,7 @@ "type": "git", "url": "git@github.com:facebook/react-native.git" }, + "homepage": "https://github.com/facebook/react-native/tree/master/packages/eslint-config-react-native-community#readme", "dependencies": { "@react-native-community/eslint-plugin": "^1.0.0", "@typescript-eslint/eslint-plugin": "^2.25.0",