-
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
1 parent
5b879e3
commit 352724d
Showing
1 changed file
with
30 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 |
---|---|---|
@@ -1 +1,31 @@ | ||
# ESLint Configurations for Humanscape | ||
|
||
### Installation & Usage | ||
|
||
1. Install `@humanscape/eslint-config`. | ||
|
||
Using `npm` | ||
|
||
`$ npm install --save-dev @humanscape/eslint-config` | ||
|
||
Using `yarn` | ||
|
||
`$ yarn add -D @humanscape/eslint-config` | ||
|
||
2. Add some ESLint config to `package.json`. | ||
|
||
``` | ||
{ | ||
"eslintConfig": { | ||
"extends": "@humanscape" | ||
} | ||
} | ||
``` | ||
|
||
or your preferred config file. (ex. `.eslintrc`) | ||
|
||
``` | ||
{ | ||
"extends": "@humanscape" | ||
} | ||
``` |