Skip to content

Commit

Permalink
Infrastructure: Add cSpell to the build process (pull #841)
Browse files Browse the repository at this point in the history
* build: Initial cSpell setup
* chore: Add Spelling to CI build
* chore: Add cSpell VS Code extension suggestion
* Extension will be "recommended" when opening the workspace in VS Code
* Add ignored words

Co-authored-by: Simon Pieters <zcorpan@gmail.com>
Co-authored-by: Zoë Bijl <5457769+ZoeBijl@users.noreply.github.com>
Co-authored-by: Matt King <a11yThinker@Gmail.com>
  • Loading branch information
4 people authored Mar 3, 2020
1 parent b543058 commit 027d19e
Show file tree
Hide file tree
Showing 6 changed files with 1,290 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.DS_*
node_modules
.vscode/*
!.vscode/extensions.json
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- stage: Test
name: HTML Linting
script: npm run vnu-jar
- stage: Test
name: Spellcheck
script: npm run lint:spelling
env: ALLOW_FAILURE=true

- stage: Test
name: AVA Regression Tests
Expand Down
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker"
]
}
248 changes: 248 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
{
"version": "0.1",
"dictionaries": [
"html",
"css",
"javascript"
],
"words": [
"activedescendant",
"ahederson",
"alertdialog",
"amet",
"Anjou",
"Aristov",
"assistive",
"AXAPI",
"Balusani",
"beingpractical",
"Bellew",
"Biblio",
"Bijl",
"blahblah",
"blahblahblah",
"Bocoup",
"Bohrium",
"Bookmarklet",
"Bookmarklets",
"Bosc",
"Botr",
"Bucketwheat",
"Capitan",
"Carron",
"Checkboxes",
"Chjat",
"cloque",
"colcount",
"colheader",
"colindex",
"Colom",
"columnheader",
"Combobox",
"comboboxes",
"commenters",
"consectetur",
"contenteditable",
"Contentinfo",
"Cook'n",
"Copernicium",
"Coughlin",
"crossorigin",
"Cundiff",
"Cutey's",
"Dahamiwal",
"Darmstadtium",
"datepicker",
"Davoust",
"depricated",
"Deque",
"describedby",
"DHTML",
"dialog's",
"dijit",
"discoverability",
"Dmuddy",
"docx",
"Dubnium",
"Dušek",
"Fairchild",
"Fancytree",
"Fentress",
"Fezensac",
"Flerovium",
"Focusability",
"focusable",
"Foltz",
"Foyle",
"Frahm",
"Gaelle",
"Garaventa",
"Geppy",
"gridcell",
"GUIs",
"Gunderson",
"haspopup",
"Hassium",
"Hausler",
"Higley",
"Hillen",
"Hoyt",
"IDREF",
"IDREFS",
"imadeadcatsadly",
"imgs",
"Iskandar",
"issie",
"Jaeun",
"jarosewli",
"Jinyuan",
"Jèrôme",
"Kasper",
"kbdshortcuts",
"keyshortcuts",
"kittenseason",
"Kowno",
"labelledby",
"Lauke",
"Leventhal",
"Lewandowski",
"Listbox",
"listbox's",
"Listboxes",
"listitem",
"Livermorium",
"Malo",
"Manish",
"Marek",
"Meitnerium",
"menubars",
"Menubutton",
"menubuttons",
"menuitemcheckbox",
"menuitemradio",
"menuitems",
"Michiel",
"Minard",
"Minard's",
"Mobilow",
"Mojaisk",
"Moloderno",
"moreaccessible",
"Moscovium",
"MSAA",
"multiselectable",
"multithumb",
"myuniveristy",
"Nemeth",
"Nihonium",
"nofollow",
"Nurthen",
"NVDA",
"Obel",
"Oganesson",
"Okinawans",
"Orscha",
"outdent",
"Paciello",
"perceivability",
"Philipp",
"PIAS",
"Pieters",
"portlet",
"posinset",
"Presentational",
"Pseudocereal",
"radiogroup",
"Rearrangeable",
"recursing",
"refreshable",
"repo",
"respec",
"Roentgenium",
"rowcount",
"rowgroup",
"rowheader",
"rowindex",
"Rudloff",
"rufflazydogs",
"Sanaullah",
"Scheuhammer",
"Schonning",
"screenreader",
"Scrollable",
"Seaborgium",
"Seckel",
"selectable",
"setsize",
"Shirisha",
"shizzle",
"Shopify",
"sidepanel",
"signup",
"Smorgeni",
"Spinbuttons",
"Starkrimson",
"Studienska",
"submenu",
"submenu's",
"submenus",
"Sulaiman",
"Ségur",
"tabbable",
"tabindex",
"tablist",
"tablists",
"tabpanel",
"Tatiana",
"Tennessine",
"textfield",
"Thaarup",
"thegoogle",
"Thiel",
"Thiers",
"thomascorthals",
"transactinide",
"transuranic",
"Transuranium",
"treegrid",
"Treegrids",
"treeitem",
"Treeview",
"Tryens",
"uncheck",
"Unchecking",
"unchecks",
"unmanaged",
"valuemax",
"valuemin",
"valuenow",
"valuetext",
"Vinkle",
"visua",
"Vyacheslav",
"walkability",
"wascute",
"WCAG",
"Wilna",
"Wirma",
"Witebsk",
"xlink",
"Yamanishi",
"Zhou"
],
"ignoreRegExpList": [
"id=\"(?:[^\\\"]+|\\.)*\"",
"src=\"(?:[^\\\"]+|\\.)*\"",
"class=\"(?:[^\\\"]+|\\.)*\"",
"data-test-id=\"(?:[^\\\"]+|\\.)*\"",
"aria-controls=\"(?:[^\\\"]+|\\.)*\"",
"aria-labelledby=\"(?:[^\\\"]+|\\.)*\"",
"href=\"(?:[^\\\"]+|\\.)*\"",
"for=\"(?:[^\\\"]+|\\.)*\"",
"data-(.*[=> ]?)"
],
"ignorePaths": [
"common/**",
"node_modules/**"
]
}
Loading

0 comments on commit 027d19e

Please sign in to comment.