Skip to content

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#4707

Open
yarikoptic wants to merge 4 commits into
tabulator-tables:masterfrom
yarikoptic:enh-codespell
Open

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#4707
yarikoptic wants to merge 4 commits into
tabulator-tables:masterfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link
Copy Markdown

More about codespell: https://github.com/codespell-project/codespell .

I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.

CI workflow has 'permissions' set only to 'read' so also should be safe.

note that includes change in (unused or just untested?) api:

diff --git a/src/scss/themes/bootstrap/functions5.scss b/src/scss/themes/bootstrap/functions5.scss
index 30539b39..a4aea9ed 100644
--- a/src/scss/themes/bootstrap/functions5.scss
+++ b/src/scss/themes/bootstrap/functions5.scss
@@ -65,7 +65,7 @@
 }
 // stylelint-enable scss/dollar-variable-pattern
 
-@function varify($list) {
+@function verify($list) {
   $result: null;

?

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2 ./src/js/modules/DataTree/DataTree.js",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
…agically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant