Skip to content

Commit

Permalink
[CI] Add fix:text script, and rule for bytecode spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 30, 2024
1 parent 3a1705f commit 59721c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ words:
- autoloader
- autoloading
- backoff
- bytecode
- caml
- cartservice
- cassandra
Expand Down
3 changes: 2 additions & 1 deletion .textlintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ rules:
- ['3rd[- ]party', third-party]
- ['auto[- ]c(onfigur)(es?|ations?)', 'autoc$1$2'] # cspell:ignore autoc ations onfigur
- ['back[- ]end(s)?', 'backend$1']
- ['bugfix', 'bug fix']
- [bugfix, bug fix]
- [byte code, bytecode]
- [cpp, C++]
- # dotnet|.net -> .NET, but NOT for strings like:
# - File extension: file.net
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"fix:markdown": "npm run check:markdown -- --fix",
"fix:refcache": "npm run check:links",
"fix:submodules": "npm run _sync",
"fix:text": "npm run check:text -- --fix",
"fix": "npm run fix:all",
"format": "npm run _check:format -- --write",
"get:submodule": "npm run _get:${GET:-submodule}",
Expand Down

0 comments on commit 59721c8

Please sign in to comment.