Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/attitude/eslint-config-with-attitude
Opinionated eslint rules for React Native apps
https://github.com/attitude/eslint-config-with-attitude
config eslint eslint-config esnext flow import promise react react-native rules standard
Last synced: about 4 hours ago
JSON representation
Opinionated eslint rules for React Native apps
- Host: GitHub
- URL: https://github.com/attitude/eslint-config-with-attitude
- Owner: attitude
- License: mit
- Created: 2019-10-15T07:36:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:12:37.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T22:21:50.243Z (15 days ago)
- Topics: config, eslint, eslint-config, esnext, flow, import, promise, react, react-native, rules, standard
- Language: JavaScript
- Size: 151 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-eslint-config
Opinionated eslint rules for React Native apps## Usage
Due [Issue#3458](https://github.com/eslint/eslint/issues/3458) you must install the peer dependencies.
#### Option A
You can follow same process as described in [what Airbnb is doing with eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb). Just list dependencies using
```
npm info "eslint-config-with-attitude" peerDependencies
```#### Option B
Use bin executable script included within this repository to link/unlink peer dependencies after installing this package. (Requires PHP available on the machine. Sorry Ia am still not friend with Node on the CLI side.)
```
yarn eslint-config-with-attitude-linker link
```---
## Upgrading
1. Run unlink before upgrading:
```
yarn eslint-config-with-attitude-linker unlink
```
2. Upgrade e.g by re-adding the package:
```
yarn add eslint-config-with-attitude
```
3. Run link after upgrading:
```
yarn eslint-config-with-attitude-linker link
```