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
* feat: add prettier config
* style: Prettier all the things!
* fix: slightly update ESLint config now that we have Prettier
Some rules are just not relevant anymore. I would think most of them but let's be conservative. I only removed the ones that reported (stylistic) problems.
* feat: add a Prettier check in CI
* fix: re-position some $FlowIgnore comments
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+45-45Lines changed: 45 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ development more awesome by contributing to the `web-ext` tool. Here are links t
10
10
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
11
11
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
12
12
13
-
14
13
-[Picking an issue](#picking-an-issue)
15
14
-[Installation](#installation)
16
15
-[Develop all the things](#develop-all-the-things)
@@ -36,8 +35,6 @@ development more awesome by contributing to the `web-ext` tool. Here are links t
36
35
37
36
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
38
37
39
-
40
-
41
38
# Picking an issue
42
39
43
40
If you're looking for a small task to work on so you can get familiar with the
@@ -46,7 +43,6 @@ process of contributing patches, have a read through these
46
43
47
44
If you'd like to work on a bug, please comment on it to let the maintainers know. If someone else has already commented and taken up that bug, please refrain from working on it and submitting a PR without asking the maintainers as it leads to unnecessary duplication of effort.
48
45
49
-
50
46
# Installation
51
47
52
48
To get started on a patch, first install `web-ext` from [source](README.md#installation-from-source).
@@ -230,18 +226,19 @@ This section will show you how to add a new commands and options.
230
226
their options. The commands are defined in `src/program.js` in the `main` function.
231
227
For example, the `build` command is defined like this:
232
228
233
-
````javascript
234
-
program
235
-
.command(
236
-
'build',
237
-
'Create a web extension package from source',
238
-
commands.build, {
239
-
'as-needed': {
240
-
describe:'Watch for file changes and re-build as needed',
241
-
type:'boolean',
242
-
},
243
-
})
244
-
````
229
+
```javascript
230
+
program.command(
231
+
'build',
232
+
'Create a web extension package from source',
233
+
commands.build,
234
+
{
235
+
'as-needed': {
236
+
describe:'Watch for file changes and re-build as needed',
237
+
type:'boolean',
238
+
},
239
+
}
240
+
);
241
+
```
245
242
246
243
The first argument to `program.command()` is the command name, the second is the
247
244
description (shown for `--help`), the third is a callback that executes the
@@ -257,20 +254,21 @@ converted from hyphenated words to [camelCase](https://en.wikipedia.org/wiki/Cam
257
254
words. So, the
258
255
`--as-needed` and `--source-dir` options would be passed like:
0 commit comments