-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[object-curly-spacing] One-line object types do not adhere to spacing rules #1784
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Comments
I will try to give it a shot tomorrow if no one is taking. |
Kiikurage
added a commit
to Kiikurage/typescript-eslint
that referenced
this issue
Apr 11, 2020
3 tasks
@anikethsaha Kind reminder in case it is an easy but forgotten ticket :-) |
mpsijm
pushed a commit
to mpsijm/typescript-eslint
that referenced
this issue
Dec 21, 2020
3 tasks
mpsijm
pushed a commit
to mpsijm/typescript-eslint
that referenced
this issue
Jan 8, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
That running
eslint --fix
would fix this to:Actual Result
Instead, only the first curly brackets are fixed:
Additional Info
This rule does not exist yet in
@typescript-eslint
, but should be extended fromeslint
like many other rules (e.g.brace-style
)Versions
@typescript-eslint/eslint-plugin
2.24.0
@typescript-eslint/parser
2.24.0
TypeScript
3.6.3
ESLint
6.8.0
node
13.11.0
npm
6.13.7
The text was updated successfully, but these errors were encountered: