summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorMarvNC <rotrobmin@gmail.com>2023-10-05 13:14:08 -0700
committerMarvNC <rotrobmin@gmail.com>2023-10-05 13:14:08 -0700
commit678860502c21eddd00ec5a2a51e5b1790833d1df (patch)
tree1feedf2c936da19ebbdf0bcded5878507fefab7f /CONTRIBUTING.md
parentd0c1ac63b7864ebd5aa413656f046dfb5913f330 (diff)
Autoformat contributing.md
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md46
1 files changed, 23 insertions, 23 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0b0d722c..b8d30fb3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,22 +2,22 @@
Issues reported on [GitHub](https://github.com/themoeway/yomitan/issues) should include information about:
-* What the problem, question, or request is.
-* What browser is being used.
-* What version of Yomitan is being used.
-* If applicable, an export of the settings file.
+- What the problem, question, or request is.
+- What browser is being used.
+- What version of Yomitan is being used.
+- If applicable, an export of the settings file.
# Development
Contributions are welcome from any developers who would like to help out.
Below are a few guidelines to ensure contributions have a good level of quality and consistency:
-* Open GitHub issues to discuss large features before writing code.
-* Follow the [conventions and style](#style) of the existing code.
-* Test changes using the continuous integration tests included in the repository.
-* Write clean, modern ES6 code (`const`/`let`, `async`/`await`, arrow functions, etc.)
-* Large pull requests without a clear scope will not be merged.
-* Incomplete or non-standalone features will not be merged.
+- Open GitHub issues to discuss large features before writing code.
+- Follow the [conventions and style](#style) of the existing code.
+- Test changes using the continuous integration tests included in the repository.
+- Write clean, modern ES6 code (`const`/`let`, `async`/`await`, arrow functions, etc.)
+- Large pull requests without a clear scope will not be merged.
+- Incomplete or non-standalone features will not be merged.
## Setup
@@ -37,23 +37,23 @@ loaded as an unpacked extension by Chrome. This way, development does not requir
and most changes will be automatically updated by the browser. Depending on what files were changed,
the extension may sometimes need to be reloaded before the changes take effect.
-
There are two scripts to build the extension to a packaged file for various build targets:
-* [build.bat](build.bat) on Windows
-* [build.sh](build.sh) on Linux
+
+- [build.bat](build.bat) on Windows
+- [build.sh](build.sh) on Linux
Both of these files are convenience scripts which invoke <code>node [dev/build.js](dev/build.js)</code>.
The build script can produce several different build files based on manifest configurations defined in
[manifest-variants.json](dev/data/manifest-variants.json).
Several command line arguments are available for these scripts:
-* `[target]` - Builds a specific target.
-* `--all` - Builds all targets specified in [manifest-variants.json](dev/data/manifest-variants.json).
-* `--default` - Restores the default manifest file.
-* `--manifest <target>` - Overwrites `ext/manifest.json` with the manifest variant for the specified build target.
-* `--dry-run` - Runs the full build process (excluding zip building), checking that the configuration is valid.
-* `--dry-run-build-zip` - If `--dry-run` is also specified, zip building will also be performed in memory; no files are created.
-* `--yomitan-version <version>` - Sets the version number in the extension manifest. Defaults to 0.0.0.0 if not set.
+- `[target]` - Builds a specific target.
+- `--all` - Builds all targets specified in [manifest-variants.json](dev/data/manifest-variants.json).
+- `--default` - Restores the default manifest file.
+- `--manifest <target>` - Overwrites `ext/manifest.json` with the manifest variant for the specified build target.
+- `--dry-run` - Runs the full build process (excluding zip building), checking that the configuration is valid.
+- `--dry-run-build-zip` - If `--dry-run` is also specified, zip building will also be performed in memory; no files are created.
+- `--yomitan-version <version>` - Sets the version number in the extension manifest. Defaults to 0.0.0.0 if not set.
If no arguments are specified, the command is equivalent to `build.bat --all`.
@@ -75,6 +75,6 @@ The generated `ext/manfiest.json` should not be committed.
Linting rules are defined for a few types of files, and validation is performed as part of the standard tests
run by `npm test` and the continuous integration process.
-* [.eslintrc.json](.eslintrc.json) rules are used for JavaScript files.
-* [.stylelintrc.json](.stylelintrc.json) rules are used for CSS files.
-* [.htmlvalidate.json](.htmlvalidate.json) rules are used for HTML files.
+- [.eslintrc.json](.eslintrc.json) rules are used for JavaScript files.
+- [.stylelintrc.json](.stylelintrc.json) rules are used for CSS files.
+- [.htmlvalidate.json](.htmlvalidate.json) rules are used for HTML files.