Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 0557e1b

Browse files
committed
unarchive project
1 parent f36ed7b commit 0557e1b

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# `flake8-idom-hooks`
22

3-
This project has been renamed.
3+
A Flake8 plugin that enforces the ["rules of hooks"](https://reactjs.org/docs/hooks-rules.html) for [IDOM](https://github.com/idom-team/idom).
44

5-
See [flake8-idom](https://github.com/idom-team/flake8-idom) instead.
5+
The implementation is based on React's own ESLint [plugin for hooks](https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks).
6+
7+
# Install
8+
9+
```bash
10+
pip install flake8-idom-hooks
11+
```
12+
13+
# Developer Installation
14+
15+
```bash
16+
pip install -r requirements.txt
17+
pip install -e .
18+
```
19+
20+
Run the tests
21+
22+
```bash
23+
tox
24+
```

0 commit comments

Comments
 (0)