Skip to content

Drop adde-lint, use ls-lint for lint:files run-script#1165

Merged
mixonic merged 1 commit intomasterfrom
bantic/webcore-3168-ls-lint
Feb 6, 2025
Merged

Drop adde-lint, use ls-lint for lint:files run-script#1165
mixonic merged 1 commit intomasterfrom
bantic/webcore-3168-ls-lint

Conversation

@bantic
Copy link
Contributor

@bantic bantic commented Feb 6, 2025

Related to #1163 and #1164.

This replaces adde-lint --files with the ls-lint tool.

The adde-lint lintFiles subcommand is fairly complicated and doesn't directly map onto the ls-lint rules, so I didn't attempt for 100% accuracy in ensuring the ls-lint rules corresponded to the existing ones. I've just added the sensible defaults (ie kebab-case for everything except allow all-caps for some .md files).

@bantic bantic requested a review from a team February 6, 2025 10:37
ls:
.js: kebab-case
.d.ts: kebab-case
.ts: kebab-case
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no .ts files (yet), this is here for future-proofing when/if they are added.

@mixonic mixonic merged commit 99124bb into master Feb 6, 2025
9 checks passed
@mixonic mixonic deleted the bantic/webcore-3168-ls-lint branch February 6, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants