Commit e2a4cc6
committed
Add linting, spellcheck, and editor configs
Add project tooling and editor configs: new cspell config and GitHub spellcheck workflow, .prettierignore, .nvmrc and VSCode recommendations/settings. Tighten linters and CI: expand .eslintrc rules, update super-linter/codeql YAML headers, enable an HTMLHint rule change. Update package.json: add htmlhint and cspell scripts, bump prettier, and record Volta node version. Apply small code hygiene changes to source and minified JS ("use strict" and clearer if/else), and normalize README badge text.
Update CI, prettierignore, and README wording
Minor repository tweaks: use consistent double quotes in the spellcheck workflow name, disable VALIDATE_NATURAL_LANGUAGE in the super-linter workflow, add .cspell.json to .prettierignore to avoid formatting the spellcheck config, and change README text to refer to the localStorage API.
Update CI, prettierignore, and README wording
Minor repository tweaks: use consistent double quotes in the spellcheck workflow name, disable VALIDATE_NATURAL_LANGUAGE in the super-linter workflow, add .cspell.json to .prettierignore to avoid formatting the spellcheck config, and change README text to refer to the localStorage API.
Add package.json to .prettierignore; tidy extensions
Add package.json to .prettierignore so Prettier ignores it. Also normalize .vscode/extensions.json by compacting the recommendations array to a single line and adjust newline/EOF formatting in .prettierignore.
Add package.json to .prettierignore; tidy extensions
Add package.json to .prettierignore so Prettier ignores it. Also normalize .vscode/extensions.json by compacting the recommendations array to a single line and adjust newline/EOF formatting in .prettierignore.
Remove .eslintignore and update ESLint config
Delete the standalone .eslintignore and consolidate ignores into .eslintrc.json (added "node_modules/" to ignorePatterns). Also adjust parserOptions.ecmaVersion from 2020 to 2015 to target ES2015 syntax; no other rule changes.1 parent b354079 commit e2a4cc6
15 files changed
Lines changed: 119 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
13 | 39 | | |
| 40 | + | |
14 | 41 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 42 | + | |
| 43 | + | |
18 | 44 | | |
19 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
20 | 49 | | |
21 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments