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

chore(website): [playground] parse eslint module config on paste and improve visual editor#5112

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
bradzacher merged 8 commits intomainfromfix/visaul-editor-and-paste
Jun 10, 2022

Conversation

armano2
Copy link
Collaborator

@armano2armano2 commentedMay 30, 2022
edited
Loading

PR Checklist

Overview

  • additional properties will no longer be removed when editing config in visual editor
  • pasting config that starts withmodule.exports is going to try to parse it to json
  • applied fixers are correctly added to undo stack now
  • when changing to/from jsx tab editor is not going to be forcefully displaying code tab

test case: try pasting, in eslintrc,

module.exports={parser:'@typescript-eslint/parser',parserOptions:{project:'./tsconfig.json'},plugins:['@typescript-eslint'],rules:{"@typescript-eslint/no-non-null-asserted-optional-chain":"error"}}

and in visual editor try to modify any options


this should ease creating repro with actual configs (eg.#2521 (comment))

@armano2armano2 added enhancementNew feature or request package: websiteIssues related to the @typescript-eslint website labelsMay 30, 2022
@nx-cloud
Copy link

nx-cloudbot commentedMay 30, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitc699453. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 47 targets

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@armano2!

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 commentedMay 30, 2022
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitc699453
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/629ce84585a2280008aa2c1a
😎 Deploy Previewhttps://deploy-preview-5112--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

@armano2

This comment was marked as resolved.

@armano2armano2 changed the titlechore(website): parse eslint module config on parse and improve visual editorchore(website): [playground] parse eslint module config on parse and improve visual editorMay 31, 2022
@codecov
Copy link

codecovbot commentedJun 5, 2022
edited
Loading

Codecov Report

Merging#5112 (c699453) intomain (8698e80) willdecrease coverage by2.50%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #5112      +/-   ##==========================================- Coverage   93.83%   91.32%   -2.51%==========================================  Files         286      132     -154       Lines        9839     1487    -8352       Branches     2940      224    -2716     ==========================================- Hits         9232     1358    -7874+ Misses        328       65     -263+ Partials      279       64     -215
FlagCoverage Δ
unittest91.32% <ø> (-2.51%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
...es/eslint-plugin/src/configs/eslint-recommended.ts
...plugin/src/rules/no-redundant-type-constituents.ts
packages/eslint-plugin/src/rules/require-await.ts
...-plugin/src/rules/naming-convention-utils/index.ts
...int-plugin/src/rules/consistent-type-assertions.ts
...es/eslint-plugin/src/rules/no-array-constructor.ts
...plugin/src/rules/no-unnecessary-type-constraint.ts
...gin/src/rules/naming-convention-utils/validator.ts
.../eslint-plugin/src/rules/method-signature-style.ts
...es/eslint-plugin/src/rules/no-loss-of-precision.ts
... and144 more

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.

LGTM!

@bradzacherbradzacher merged commit53d74b6 intomainJun 10, 2022
@bradzacherbradzacher deleted the fix/visaul-editor-and-paste branchJune 10, 2022 00:59
@armano2armano2 changed the titlechore(website): [playground] parse eslint module config on parse and improve visual editorchore(website): [playground] parse eslint module config on paste and improve visual editorJun 12, 2022
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJul 13, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher approved these changes

Assignees
No one assigned
Labels
enhancementNew feature or requestpackage: websiteIssues related to the @typescript-eslint website
Projects
No open projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@armano2@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp