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

feat: examples for flat configs and type information#4

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
JoshuaKGoldberg merged 1 commit intomainfromflat-configs
Feb 12, 2024

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg commentedFeb 10, 2024
edited
Loading

Fixes#3.

Also cleans up therepository field inpackage.json files.

Note that until v7 is released in two days, thetypescript-eslint package needs to be symlinked locally.

npm run lint
```

```plaintext
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a snapshot or tested or something to validate it does what we expect?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

#6 👍 agreed


## Setup

```shell
Copy link
Member

Choose a reason for hiding this comment

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

Should probably usenpm2yarn here?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

#7 👍 agreed

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export async function unecessarilyAsync() {
Copy link
Member

Choose a reason for hiding this comment

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

Should we be mixing config and test case?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Heh, it was the shortest path to getting a.js file linted.

@@ -3,7 +3,7 @@
"version": "0.0.0",
"description": "Various examples of working with typescript-eslint. 📝",
"main": "index.js",
"repository": "https://github.com/typescript-eslint/typescript-eslint-examples",
"repository": "typescript-eslint/typescript-eslint-examples",
Copy link
Member

Choose a reason for hiding this comment

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

Why remove the URL base?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Heh I only recently learned this was a thing.JoshuaKGoldberg/eslint-plugin-package-json#71

@JoshuaKGoldbergJoshuaKGoldberg merged commit24c123e intomainFeb 12, 2024
@JamesHenryJamesHenry deleted the flat-configs branchFebruary 13, 2024 13:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@bradzacherbradzacherbradzacher approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

🚀 Feature: Add examples around flat config
2 participants
@JoshuaKGoldberg@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp