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
This commit is contained in:
Jesse Katsumata 2020-04-03 06:37:57 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 3a11f0536e
Коммит 83fee73ae6
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

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

Просмотреть файл

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