Skip to content

Commit

Permalink
eslint-config: add version badge and add homepage for eslint-config (#…
Browse files Browse the repository at this point in the history
…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: #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
  • Loading branch information
Naturalclar authored and facebook-github-bot committed Apr 3, 2020
1 parent 3a11f05 commit 83fee73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/eslint-config-react-native-community/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# eslint-config-react-native-community

[![Version][version-badge]][package]

## Installation

```
Expand All @@ -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

1 change: 1 addition & 0 deletions packages/eslint-config-react-native-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 83fee73

Please sign in to comment.