-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: merge with master, fix conflicts
- Loading branch information
Showing
11 changed files
with
1,959 additions
and
3,825 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
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,7 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"EditorConfig.EditorConfig", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
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,43 @@ | ||
# Contributing | ||
|
||
Thanks for contributing! | ||
|
||
## Getting Started | ||
|
||
Ensure you're using the Node version specified in [.nvmrc](./.nvmrc) and run the following to | ||
bootstrap the project: | ||
|
||
```sh | ||
yarn | ||
``` | ||
|
||
To start the library build and `example` project, run the following commands in separate terminals: | ||
|
||
```sh | ||
# Start the library build | ||
yarn start | ||
|
||
# Start the example build | ||
cd ./example | ||
yarn | ||
yarn start | ||
``` | ||
|
||
To start Storybook run the following command: | ||
|
||
```sh | ||
yarn storybook | ||
``` | ||
|
||
## Standards | ||
|
||
- Commits use the [Conventional Commits](https://conventionalcommits.org/) standard | ||
- yarn to manage dependencies | ||
- Use a tool (e.g. nvm or fnm) to use the correct Node.js version | ||
- Prettier & EditorConfig for code style | ||
- ESLint for quality | ||
- Husky for Git hooks | ||
|
||
## VS Code | ||
|
||
If you're using VS Code please make sure you install the [recommended extensions](./.vscode/extensions.json). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/* eslint no-console: 0 */ | ||
import React from 'react'; | ||
|
||
import { | ||
ReactCompareSlider, | ||
ReactCompareSliderHandle, | ||
|
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
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
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
Oops, something went wrong.