From ee2bbef9da7be020c3960ac7d057cc784f047a0b Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sat, 11 Mar 2017 22:10:54 +0000 Subject: [PATCH] chore: codespell improvements (#1174) * fix the command so it actually works - see https://github.com/lucasdemarchi/codespell/issues/101 * check the spelling of more files * ignore known-binary filetypes * fix a couple of spelling mistakes it caught Signed-off-by: Juan Cruz Viotti --- docs/CONTRIBUTING.md | 2 +- lib/gui/components/update-notifier/services/update-notifier.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index df566305..fd92a300 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -104,7 +104,7 @@ when your pull request is merged. - Write a descriptive pull request title. -- Squash commits when possible, for example, when commiting review changes. +- Squash commits when possible, for example, when committing review changes. Before your pull request can be merged, the following conditions must hold: diff --git a/lib/gui/components/update-notifier/services/update-notifier.js b/lib/gui/components/update-notifier/services/update-notifier.js index 38416e29..44597381 100644 --- a/lib/gui/components/update-notifier/services/update-notifier.js +++ b/lib/gui/components/update-notifier/services/update-notifier.js @@ -59,7 +59,7 @@ module.exports = function($http, $q, ModalService, UPDATE_NOTIFIER_SLEEP_DAYS, M if (error) { // The error status equals this number if the request - // couldn't be made successfuly, for example, because + // couldn't be made successfully, for example, because // of a timeout on an unstable network connection. const ERROR_CODE_UNSUCCESSFUL_REQUEST = -1; diff --git a/package.json b/package.json index 463ccaae..2899f38c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "jslint": "eslint lib tests scripts bin versionist.conf.js", "sasslint": "sass-lint lib/gui/scss", "htmllint": "node scripts/html-lint.js", - "codespell": "codespell.py --dictionary=- --dictionary=dictionary lib tests", + "codespell": "codespell.py --skip *.gz,*.bz2,*.xz,*.zip,*.img lib tests docs scripts Makefile *.md LICENSE", "lint": "npm run jslint && npm run sasslint && npm run codespell && npm run htmllint", "changelog": "versionist", "start": "electron lib/start.js",