-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @amorino/eslint-config | ||
|
||
These are personal configurations for projects using: | ||
- [Next.JS](https://github.com/amorino/eslint-config/tree/main/packages/eslint-config-next) | ||
- [React Native](https://github.com/amorino/eslint-config/tree/main/packages/eslint-config-native) | ||
|
||
They use the base configuration: | ||
- [TypeScript](https://github.com/amorino/eslint-config/tree/main/packages/eslint-config-base) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# TypeScript | ||
[![Version][version-badge]][package] | ||
|
||
## Installation | ||
|
||
``` | ||
yarn add --dev eslint prettier @amorino/eslint-config-base | ||
``` | ||
|
||
*Note: I'm using `yarn` to install deps. Feel free to change commands to use `npm` 3+ and `npx` if you like* | ||
|
||
## Usage | ||
|
||
Add to your eslint config (`.eslintrc`, or `eslintConfig` field in `package.json`): | ||
|
||
```json | ||
{ | ||
"extends": "@amorino/eslint-config-base" | ||
} | ||
``` | ||
|
||
[version-badge]: https://img.shields.io/npm/v/@amorino/eslint-config-base.svg?style=flat-square | ||
[package]: https://www.npmjs.com/package/@amorino/eslint-config-base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# React Native | ||
[![Version][version-badge]][package] | ||
|
||
## Installation | ||
|
||
``` | ||
yarn add --dev eslint prettier @amorino/eslint-config-native | ||
``` | ||
|
||
*Note: I'm using `yarn` to install deps. Feel free to change commands to use `npm` 3+ and `npx` if you like* | ||
|
||
|
||
## Usage | ||
|
||
Add to your eslint config (`.eslintrc`, or `eslintConfig` field in `package.json`): | ||
|
||
```json | ||
{ | ||
"extends": "@amorino/eslint-config-native" | ||
} | ||
``` | ||
|
||
[version-badge]: https://img.shields.io/npm/v/@amorino/eslint-config-base.svg?style=flat-square | ||
[package]: https://www.npmjs.com/package/@amorino/eslint-config-base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Next.JS | ||
[![Version][version-badge]][package] | ||
|
||
## Installation | ||
|
||
``` | ||
yarn add --dev eslint prettier @amorino/eslint-config-next | ||
``` | ||
|
||
*Note: I'm using `yarn` to install deps. Feel free to change commands to use `npm` 3+ and `npx` if you like* | ||
|
||
|
||
## Usage | ||
|
||
Add to your eslint config (`.eslintrc`, or `eslintConfig` field in `package.json`): | ||
|
||
```json | ||
{ | ||
"extends": "@amorino/eslint-config-next" | ||
} | ||
``` | ||
[version-badge]: https://img.shields.io/npm/v/@amorino/eslint-config-base.svg?style=flat-square | ||
[package]: https://www.npmjs.com/package/@amorino/eslint-config-base |