Skip to content

feat(function-call-spacing): add optionalChain when option is always - #605

Merged
antfu merged 1 commit into
eslint-stylistic:mainfrom
9romise:feat/optional-chain
Nov 19, 2024
Merged

antfu merged 1 commit into
eslint-stylistic:mainfrom
9romise:feat/optional-chain

Conversation

@9romise

@9romise 9romise commented Nov 8, 2024 •

Copy link
Copy Markdown
Member

Description

This config named optionalChain(maybe a better name) controls the spaces around the optional chain.

Since the ultimate goal is to merge into one package, I've only added it for the ts version.

Linked Issues

part of #565

Additional context

@codecov

codecov Bot commented Nov 8, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.90%. Comparing base (2015893) to head (a7b054e).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #605   +/-   ##
=======================================
  Coverage   96.90%   96.90%           
=======================================
  Files         121      121           
  Lines       20050    20091   +41     
  Branches     4751     4763   +12     
=======================================
+ Hits        19429    19470   +41     
  Misses        618      618           
  Partials        3        3           

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


🚨 Try these New Features:

@antfu
antfu added this pull request to the merge queue Nov 19, 2024
Merged via the queue into eslint-stylistic:main with commit f732798 Nov 19, 2024
@9romise
9romise deleted the feat/optional-chain branch November 19, 2024 03:45
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.

2 participants