-
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.
adds readme
- Loading branch information
Showing
3 changed files
with
37 additions
and
17 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,17 @@ | ||
# @datawheel/eslint-config | ||
|
||
A set of common eslint rules to use on Datawheel javascript projects. | ||
|
||
## Usage | ||
|
||
You will need to install this package's `peerDependencies` for it to work correctly. | ||
To install both this package and its `peerDependencies` at once, you can use this command: | ||
|
||
```bash | ||
npx install-peerdeps --dev @datawheel/eslint-config | ||
``` | ||
|
||
Check the documentation for the [`install-peerdeps` package](https://www.npmjs.com/package/install-peerdeps) for more options. | ||
|
||
To enable this config file, add `"extends": "@datawheel"` to your [eslint config file](https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-file-formats). | ||
The easiest way is to set it under the `"eslintConfig"` key in the `package.json` file of your project. |
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
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