Skip to content

Commit f99bd12

Browse files
committed
Add cSpell spell-checker
1 parent d8ee473 commit f99bd12

File tree

26 files changed

+249
-117
lines changed

26 files changed

+249
-117
lines changed

.cspell.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// cSpell Settings
2+
{
3+
"version": "0.2",
4+
// language - current active spelling language
5+
"language": "en,nl",
6+
// words - list of words to be always considered correct
7+
"words": [
8+
"absmiddle",
9+
"ajax",
10+
"blockquotes",
11+
"darkred",
12+
"datetime",
13+
"greasemonkey",
14+
"jerone",
15+
"maxlength",
16+
"nofollow",
17+
"octicon",
18+
"pjax",
19+
"tampermonkey",
20+
"userscript",
21+
"userscripts",
22+
"violentmonkey",
23+
"whitespaces"
24+
]
25+
}

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"cSpell.words": [
3-
"jerone",
4-
"userscripts"
5-
]
2+
63
}

April_Fools_CSS/April_Fools_CSS.user.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
// @version 1.0
1313
// ==/UserScript==
1414

15+
// cSpell:ignore transform, aprilfool
16+
1517
if(window.top===window){
1618

17-
var duration = 2000, // [Integer, positive, miliseconds] This controls the duration of an april fool item;
18-
interval = 8000; // [Integer, positive, miliseconds] This controls the interval of the next april fool;
19+
var duration = 2000, // [Integer, positive, milliseconds] This controls the duration of an april fool item;
20+
interval = 8000; // [Integer, positive, milliseconds] This controls the interval of the next april fool;
1921

2022
var aprilFools = [ // [String] April fools in CSS; Use {duration} for a dynamic duration;
2123
"img { \

Dakar_Extender/208433.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// @include *dakar.com/*
1313
// ==/UserScript==
1414

15+
// cSpell:ignore dakar
16+
1517
(function(){
1618

1719
var countryCode = "NLD";

GeenStijl_Powned_Dumpert_Comment_Enhancer/GeenStijl_Powned_Dumpert_Comment_Enhancer.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// @grant none
2323
// ==/UserScript==
2424

25+
// cSpell:ignore Dumpert, dumpert, geenstijl, powned, daskapital, glamora, perma
26+
2527
(function() {
2628

2729
function proxy(fn) {

GitHub_Commit_Compare/GitHub_Commit_Compare.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// @grant none
2323
// ==/UserScript==
2424

25+
// cSpell:ignore tooltipped, Consolas, Menlo, compareAdisabled, compareBdisabled
26+
2527
(function () {
2628

2729
function addButton() {

Github_Comment_Enhancer/Github_Comment_Enhancer.user.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// @include https://gist.github.com/*
2222
// ==/UserScript==
2323

24+
// cSpell:ignore gollum, tooltipped, jssuggester, tabnav, facebox, msie
2425
/* global unsafeWindow */
2526

2627
(function(unsafeWindow) {
@@ -570,6 +571,7 @@
570571
}
571572

572573
var codeSyntaxTop = ["JavaScript", "Java", "Ruby", "PHP", "Python", "CSS", "C++", "C#", "C", "HTML"]; // https://github.com/blog/2047-language-trends-on-github
574+
/* cSpell: disable */
573575
var codeSyntaxList = ["ABAP", "abl", "aconf", "ActionScript", "actionscript 3",
574576
"actionscript3", "Ada", "ada2005", "ada95", "advpl", "Agda", "ags",
575577
"AGS Script", "ahk", "Alloy", "AMPL", "Ant Build System", "ANTLR",
@@ -656,6 +658,7 @@
656658
"XS", "xsd", "xsl", "XSLT", "xten", "Xtend", "Yacc", "YAML", "yml",
657659
"Zephir", "Zimpl", "zsh"
658660
]; // https://github.com/jerone/UserScripts/issues/18
661+
/* cSpell: enable */
659662
var codeSyntaxes = [].concat(codeSyntaxTop, codeSyntaxList).filter(function(a, b, c) {
660663
return c.indexOf(a) === b;
661664
});
@@ -1011,12 +1014,12 @@
10111014
/*
10121015
* to-markdown - an HTML to Markdown converter
10131016
* Copyright 2011, Dom Christie
1014-
* Licenced under the MIT licence
1017+
* Licensed under the MIT license
10151018
* Source: https://github.com/domchristie/to-markdown
10161019
*
10171020
* Code is altered:
10181021
* - Added task list support: https://github.com/domchristie/to-markdown/pull/62
1019-
* - He dependecy is removed
1022+
* - He dependency is removed
10201023
*/
10211024
var toMarkdown = function(string) {
10221025

@@ -1181,7 +1184,7 @@
11811184
function cleanUp(string) {
11821185
string = string.replace(/^[\t\r\n]+|[\t\r\n]+$/g, ''); // trim leading/trailing whitespace
11831186
string = string.replace(/\n\s+\n/g, '\n\n');
1184-
string = string.replace(/\n{3,}/g, '\n\n'); // limit consecutive linebreaks to 2
1187+
string = string.replace(/\n{3,}/g, '\n\n'); // limit consecutive line-breaks to 2
11851188
return string;
11861189
}
11871190

Github_Commit_Diff/Github_Commit_Diff.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// @grant none
2121
// ==/UserScript==
2222

23+
// cSpell:ignore tooltipped, diffbar
24+
2325
(function() {
2426

2527
function addButton() {

Github_Commit_Whitespace/Github_Commit_Whitespace.user.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
// @grant none
1919
// ==/UserScript==
2020

21+
// cSpell:ignore tooltipped, diffbar
22+
2123
(function() {
2224

2325
function addButton() {
@@ -29,7 +31,7 @@
2931
r.parentElement.removeChild(r)
3032
}
3133

32-
var on = /w=/.test(location.search) // Any occurense results in enabling
34+
var on = /w=/.test(location.search) // Any occurrence results in enabling
3335

3436
var b = e.querySelector('.toc-diff-stats')
3537

@@ -56,7 +58,7 @@
5658
r.parentElement.removeChild(r)
5759
}
5860

59-
var on = /w=/.test(location.search) // Any occurense result in enabling
61+
var on = /w=/.test(location.search) // Any occurrence result in enabling
6062

6163
var a = document.createElement('a')
6264
a.classList.add('btn', 'btn-sm', 'btn-outline', 'tooltipped', 'tooltipped-s')

Github_Gist_Share/157850.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
// @grant none
1919
// ==/UserScript==
2020

21+
// cSpell:ignore Dabblet, Bl.ocks, itemprop, tweetbutton
22+
2123
(function() {
2224

2325
String.format = function(string) {

0 commit comments

Comments
 (0)