Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: fleshed out dedicated Architecture section#4124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg commentedNov 11, 2021
edited
Loading

PR Checklist

Overview

Creates aDevelopment section with sub-sections forArchitecture andCustom Rules.

A few organizational touchups:

  • Flattens the sidebar a level by removing theGuides shorthand section (since everything there is a guide at the moment)
  • Replaced the root README.md's packages info with a link to the more fleshed out docs
  • Moved ASTs intoDevelopment > Architecture

Was there anything else we should cover for third-party folks writing their own plugins?

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@JoshuaKGoldberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@netlify
Copy link

netlifybot commentedNov 11, 2021
edited
Loading

✔️ Deploy Preview fortypescript-eslint ready!

🔨 Explore the source changes:26d20b0

🔍 Inspect the deploy log:https://app.netlify.com/sites/typescript-eslint/deploys/61906420e40c610007885e2b

😎 Browse the preview:https://deploy-preview-4124--typescript-eslint.netlify.app

@nx-cloud
Copy link

nx-cloudbot commentedNov 11, 2021
edited
Loading

@JoshuaKGoldbergJoshuaKGoldberg marked this pull request as ready for reviewNovember 11, 2021 22:33
@bradzacherbradzacher added the documentationDocumentation ("docs") that needs adding/updating labelNov 12, 2021
create(context) {
return {
TSInterfaceDeclaration(node) {
if (/\p{Lu}/.test(node.id.name[0])) {
Copy link
Member

Choose a reason for hiding this comment

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

Wait - what is this regex style? Shouldn't it be/[a-z]/?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

https://unicode.org/reports/tr18/#General_Category_Property

...except, I'm finding it to not be working in my dev tools, so I'll just go ahead and switch.

bradzacher reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

TIL - i'd never seen it before!
I never mess with unicode though heh

Copy link
Member

@bradzacherbradzacherNov 14, 2021
edited
Loading

Choose a reason for hiding this comment

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

another way to do this which would let it work independent of latin characters is

if(node.id.name[0].toUpperCase()===node.id.name[0]){

But it's a bit more obtuse for people to understand in a tutorial...!

bradzacher
bradzacher previously approved these changesNov 14, 2021
Copy link
Member

@bradzacherbradzacher left a comment

Choose a reason for hiding this comment

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

great work dude! it all is looking good to me!

@bradzacher
Copy link
Member

   5/1037 ./docs/development/architecture/PACKAGES.md 69.17ms X/home/runner/work/typescript-eslint/typescript-eslint/docs/development/architecture/PACKAGES.md:30:11 - Unknown word (unoptimized)

come on dictionary - it was added to oxford in 2018 -https://english.stackexchange.com/a/246562
SO RUDE honestly.

@bradzacherbradzacherenabled auto-merge (squash)November 14, 2021 01:19
@bradzacherbradzacher merged commitebaf947 intotypescript-eslint:masterNov 14, 2021
@JoshuaKGoldbergJoshuaKGoldberg deleted the architecture-docs branchNovember 14, 2021 04:53
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsDec 15, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@armano2armano2armano2 left review comments

@bradzacherbradzacherbradzacher approved these changes

Assignees
No one assigned
Labels
documentationDocumentation ("docs") that needs adding/updating
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add docs on using type information in rules Provide documentation for writing eslint rules in typescript
3 participants
@JoshuaKGoldberg@bradzacher@armano2

[8]ページ先頭

©2009-2025 Movatter.jp