You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,12 @@ make docker
121
121
122
122
Layer5 uses ES-Lint to maintain code quality & consistency in our UI Code.
123
123
124
+
Run the following command before commiting the changes:
125
+
126
+
```
127
+
make lint
128
+
```
129
+
124
130
# <aname="maintaining"> Reviews</a>
125
131
126
132
All contributors are invited to review pull requests. See this short video on [how to review a pull request](https://www.youtube.com/watch?v=isLfo7jfE6g&feature=youtu.be).
Copy file name to clipboardExpand all lines: README.md
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,37 +37,44 @@ Make sure you have `npm` on `node@16` and above. The CI workflows checks for in
37
37
38
38
To set up the project, run the following command to install dependencies:
39
39
40
-
Please note that at this time, `npm install` will also build the project as the first step. This is to ensure that this is building correctly before moving to a task.
41
-
42
40
```
43
-
setup:
44
-
npm install
41
+
make setup
45
42
```
46
43
47
44
To check if your code meets the formatting standards, you can run:
48
45
49
46
```
50
-
format-check:
51
-
npm run format:check
47
+
make format-check
48
+
```
49
+
50
+
To automatically fix formatting issues, you can run:
51
+
52
+
```
53
+
make format-fix
52
54
```
53
55
54
-
To automatically fix formatting issues, you can run
56
+
To test the sistent component locally, you can run:
55
57
56
58
```
57
-
format-fix:
58
-
npm run format:write
59
+
make build
59
60
```
60
61
61
-
To test the sistent component locally, you can run
0 commit comments