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
The frontend JavaScript code Submitty uses is linted using [eslint](https://eslint.org/).
129
+
The frontend JavaScript code Submitty uses is linted using [eslint](https://eslint.org/). As with the PHP linter, `submitty_test` can be used as an alias for the `SUBMITTY_TEST.sh` script.
130
130
131
-
You can run eslint on your host system or on vagrant by navigating into the `site/`
131
+
```bash
132
+
submitty_test js-lint
133
+
```
134
+
135
+
Alternatively, you can run eslint on your host system or on vagrant by navigating into the `site/`
132
136
directory and running:
133
137
134
138
```bash
@@ -152,9 +156,13 @@ See also: [JavaScript Style Guide](/developer/coding_style_guide/javascript)
152
156
153
157
## CSS Linting
154
158
155
-
CSS is linted using [stylelint](https://stylelint.io/) in Submitty to enforce a consistent code style.
159
+
CSS is linted using [stylelint](https://stylelint.io/) in Submitty to enforce a consistent code style. As with the PHP linter, `submitty_test` can be used as an alias for the `SUBMITTY_TEST.sh` script.
160
+
161
+
```bash
162
+
submitty_test css-lint
163
+
```
156
164
157
-
You can run stylelint on your host system or on vagrant by navigating into the `site/`
165
+
Alternatively, you can run stylelint on your host system or on vagrant by navigating into the `site/`
0 commit comments