Skip to content

WIP: unacceptable TypeScript detection#241

Open
knocte wants to merge 18 commits into
masterfrom
wip/unacceptableTypeScript
Open

WIP: unacceptable TypeScript detection#241
knocte wants to merge 18 commits into
masterfrom
wip/unacceptableTypeScript

Conversation

@knocte
Copy link
Copy Markdown
Contributor

@knocte knocte commented Apr 15, 2026

No description provided.

@knocte knocte force-pushed the wip/unacceptableTypeScript branch from 5c3362c to dab2e0a Compare April 15, 2026 09:03
First "Unacceptable TypeScript" failing test.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from dab2e0a to c32b666 Compare April 15, 2026 09:09
First implementation of ContainsUnacceptableTypeScript().
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from 9a1b21a to d14a97f Compare April 15, 2026 09:18
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from f6590dc to ad84fba Compare April 15, 2026 09:33
Should be a failing test because the word 'any' is only
a substring.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from 4a5c559 to 1c1f310 Compare April 15, 2026 09:51
Using a word boundary in a regex to not flag "anything" or
"Many".
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from 1c1f310 to 9af2284 Compare April 15, 2026 10:00
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 6 times, most recently from de92035 to b99e577 Compare April 15, 2026 13:27
Unacceptable TypeScript work in progress.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from b99e577 to faf94f5 Compare April 15, 2026 13:42
This time a failing test with more than one string.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 6 times, most recently from dcdda16 to f4a91b9 Compare April 15, 2026 15:36
Unacceptable TypeScript work in progress.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 2 times, most recently from def0104 to 49c6c84 Compare April 15, 2026 16:52
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 2 times, most recently from 5eee3ec to a44b661 Compare April 16, 2026 15:33
TypeScript can have many different chars for strings, not just
double quotes; so we add this failing test.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from a44b661 to 1f067b8 Compare April 16, 2026 19:09
knocte added 2 commits April 17, 2026 03:10
Unacceptable Typescript work in progress.
With comment containing 'any', failing test.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from bef1641 to ce7dfcc Compare April 17, 2026 07:54
Unacceptable TypeScript work in progress.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 2 times, most recently from fe4610c to d7e8c06 Compare April 17, 2026 09:10
knocte added 2 commits April 17, 2026 17:23
Failing test for /* this kind of comments */, but single-line
for now.
Unacceptable TS work in progress.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 2 times, most recently from 239187f to 3c2a787 Compare April 17, 2026 09:30
This one should fail the convention. It should be already
passing.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 3 times, most recently from e4bd06f to 6697459 Compare April 17, 2026 11:49
With both multi-line strings and multi-line comment,
for the upcoming Unacceptable TS script. Should be
failing tests.
@knocte knocte force-pushed the wip/unacceptableTypeScript branch 2 times, most recently from 5171d8a to 0f6bc7f Compare April 17, 2026 14:39
Unacceptable TypeScript work in progress.

NOTE: fsxc had to be upgraded or it would give warnings
as errors about .NET6.0 being deprecated...
@knocte knocte force-pushed the wip/unacceptableTypeScript branch from 0f6bc7f to 9a8dd6f Compare April 17, 2026 14:50
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