-
Notifications
You must be signed in to change notification settings - Fork 798
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spell checking CI integration (#13992)
* Adds spell checking and fixes files. This implements a package to spellcheck files, and does a pass to ensure everything is green. * [not verified] Implements Travis check for spelling Adds Yarn script and Travis CI for spell checking. * [not verified] Fixes feedback. Updates docs to prevent spelling exceptions for certain files.
- Loading branch information
1 parent
28904d8
commit b7229b4
Showing
12 changed files
with
310 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
Jetpack | ||
VaultPress | ||
WordPress | ||
Packagist | ||
WP-CLI | ||
rsync | ||
wp-admin | ||
config | ||
WordPress.com | ||
Jetpack-CLI | ||
PHPUnit | ||
xdebug | ||
MailDev | ||
NodeJS | ||
ngrok | ||
http | ||
localhost | ||
multisite | ||
MySQL | ||
tunnelling | ||
namespace | ||
Automattic | ||
Automattician | ||
sftp | ||
PhpStorm | ||
wp-content | ||
jetpack | ||
wordpress | ||
ok | ||
vscode | ||
nvm | ||
phpunit | ||
repo | ||
Node.js | ||
i.e. | ||
e.g. | ||
keychain | ||
GitHub.com | ||
WooCommerce | ||
CodeSniffer | ||
macOS | ||
Homebrew | ||
installable | ||
ESLint | ||
rulesets | ||
ruleset | ||
PHPStorm | ||
hostname | ||
rebasing | ||
rebase | ||
unreviewed | ||
triaged | ||
jQuery | ||
nonces | ||
wp-json | ||
stringified | ||
Akismet | ||
GlotPress | ||
validator | ||
iframe | ||
Lodash | ||
enqueued | ||
polyfill | ||
shortlinks | ||
i18n | ||
stylesheet | ||
autoload | ||
autoloader | ||
webhook | ||
ngrok.com | ||
Customizer's | ||
error_log | ||
SCRIPT_DEBUG | ||
JETPACK_DEV_DEBUG | ||
jetpack_development_mode | ||
admin.php | ||
wp_localize_script | ||
Automatticians | ||
- docker/README.md | ||
php-debug | ||
pathMappings | ||
v1.3 | ||
eu | ||
ap | ||
au | ||
example.ngrok.io | ||
www | ||
html | ||
- docs/development-environment.md | ||
JETPACK__SANDBOX_DOMAIN | ||
README.md | ||
WP_DEBUG | ||
mycooltestsite.local | ||
- docs/pull-request.md | ||
Pri | ||
- docs/release-management.md | ||
Subissue | ||
- docs/rest-api.md | ||
akismet | ||
jurassic.ninja | ||
ninjastic | ||
v4 | ||
url | ||
options_or_modules | ||
- extensions/README.md | ||
- docs/CONTRIBUTING.md | ||
v2 | ||
GPLv2 | ||
- docs/translations.md | ||
translate.wordpress.org. | ||
WordPress.com. | ||
- docs/development-environment-cli-support.md | ||
php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Development Environment | ||
|
||
The javascript and CSS components of this plugin's admin interface need to be built in order to get the runtime bundle (`_inc/build/admin.js`) | ||
The JavaScript and CSS components of this plugin's admin interface need to be built in order to get the run time bundle (`_inc/build/admin.js`) | ||
|
||
## Before moving forward | ||
|
||
|
@@ -45,7 +45,7 @@ $ yarn distclean | |
$ git clone [email protected]:Automattic/jetpack.git | ||
$ cd jetpack | ||
``` | ||
You'll need to have a public SSH key setup with Github, which is more secure than saving your password in yor keychain. | ||
You'll need to have a public SSH key setup with GitHub, which is more secure than saving your password in your keychain. | ||
There are more details about [setting up a public key on GitHub.com](https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account). | ||
|
||
3. [Install Composer](#installing-composer). | ||
|
@@ -63,7 +63,7 @@ $ yarn distclean | |
|
||
## Development build | ||
|
||
The development build will create a build without minifying or deduping code. It will also install dependencies for you, so you don't need to `yarn` before it. | ||
The development build will create a build without minifying or de-duping code. It will also install dependencies for you, so you don't need to `yarn` before it. | ||
|
||
``` | ||
$ yarn build | ||
|
@@ -72,15 +72,15 @@ $ yarn build | |
## Development build with changes monitoring (watch) | ||
|
||
You can run a watch process, which will continuously watch the front-end JS and CSS/Sass for changes and rebuild accordingly. | ||
Instead of `yarn build` you'd use `yarn watch`. `yarn watch` will fully build Jetpack and update the React-powered admin and CSS/Saas. | ||
Instead of `yarn build` you'd use `yarn watch`. `yarn watch` will fully build Jetpack and update the React-powered admin and CSS/SASS. | ||
|
||
``` | ||
$ yarn watch | ||
``` | ||
|
||
## Production build | ||
|
||
The production build will generate minified files without duplicated code (resulting from dependencies) and will also generate the matching sourcemap and language files. | ||
The production build will generate minified files without duplicated code (resulting from dependencies) and will also generate the matching source map and language files. | ||
|
||
``` | ||
$ NODE_ENV=production yarn build-client | ||
|
@@ -104,7 +104,7 @@ Set the database information for your testing DB in the file `/tmp/wordpress-dev | |
|
||
To run tests on your machine, you can run `phpunit` while in the Jetpack directory. | ||
|
||
To run Woocommerce integration tests, you'll need the woocommerce plugin installed alongside Jetpack (in `../woocommerce`), and you can run: | ||
To run WooCommerce integration tests, you'll need the WooCommerce plugin installed alongside Jetpack (in `../woocommerce`), and you can run: | ||
|
||
``` | ||
JETPACK_TEST_WOOCOMMERCE=1 phpunit | ||
|
@@ -234,7 +234,7 @@ $ yarn php:compatibility . | |
|
||
`yarn lint` will check syntax and style in the following JavaScript pieces: | ||
|
||
* All the frontend JavaScript that Jetpack relies on. | ||
* All the front end JavaScript that Jetpack relies on. | ||
* All the JavaScript present in the Admin Page Single Page App for Jetpack. | ||
|
||
```sh | ||
|
@@ -265,7 +265,7 @@ By default, WordPress loads minified versions of Jetpack's JS files. If you want | |
|
||
### WP-CLI | ||
|
||
Jetpack CLI is a command line interface for Jetpack, extending off of wp-cli for WordPress. You can easily modify your installation of Jetpack with a just a few simple commands. All you need is SSH access and a basic understanding of command line tools. | ||
Jetpack CLI is a command line interface for Jetpack, extending off of WP-CLI for WordPress. You can easily modify your installation of Jetpack with a just a few simple commands. All you need is SSH access and a basic understanding of command line tools. | ||
|
||
Usage: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.