Skip to content

feat(no-whitespace-before-property): support TS nodes#1046

Merged
9romise merged 4 commits intoeslint-stylistic:mainfrom
9romise:no-whitespace-before-property/ts
Nov 17, 2025
Merged

feat(no-whitespace-before-property): support TS nodes#1046
9romise merged 4 commits intoeslint-stylistic:mainfrom
9romise:no-whitespace-before-property/ts

Conversation

@9romise
Copy link
Copy Markdown
Member

@9romise 9romise commented Nov 15, 2025

Description

This pr supports TSIndexedAccessType, TSQualifiedName, TSImportType

type Foo = Bar .Baz

type Foo = Bar [Baz]

type Foo = import('foo') .Bar

will auto-fix to

type Foo = Bar.Baz

type Foo = Bar[Baz]

type Foo = import('foo').Bar

Linked Issues

Additional context

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Nov 15, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@stylistic/eslint-plugin@1046
npm i https://pkg.pr.new/@eslint-stylistic/metadata@1046

commit: 4abc85a

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.77%. Comparing base (aa0c6ac) to head (4abc85a).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1046   +/-   ##
=======================================
  Coverage   98.77%   98.77%           
=======================================
  Files          96       96           
  Lines        8818     8842   +24     
  Branches     3306     3312    +6     
=======================================
+ Hits         8710     8734   +24     
  Misses        104      104           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 15, 2025

Bundle Report

Changes will increase total bundle size by 1.24kB (0.2%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@stylistic/eslint-plugin-esm 619.26kB 1.24kB (0.2%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: @stylistic/eslint-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
rules/no-whitespace-before-property.js 1.24kB 2.97kB 71.51% ⚠️

Files in rules/no-whitespace-before-property.js:

  • ./rules/no-whitespace-before-property/no-whitespace-before-property.ts → Total Size: 2.92kB

@9romise 9romise marked this pull request as ready for review November 16, 2025 06:38
@9romise 9romise added this pull request to the merge queue Nov 17, 2025
Merged via the queue into eslint-stylistic:main with commit 684ff76 Nov 17, 2025
15 checks passed
@9romise 9romise deleted the no-whitespace-before-property/ts branch November 17, 2025 05:51
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