You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { ArgsType, Field } from '@nestjs/graphql'
@ArgsType()
export class CreateItem {
@Field()
name: string;
@Field()
description: string;
@Field()
isActive: boolean;
}
When I save file, I get message Extension 'ESLint' cannot format file
What is really weird, that import { ArgsType, Field } from '@nestjs/graphql' was correctly formatted, but @Field was ignored, as you can see by semicolon.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello community,
Im creating test server for testing NestJS and MikroORM and I have problem to configure eslint. Problem is with entity files.
Example:
and with input files
Example
When I save file, I get message
Extension 'ESLint' cannot format file
What is really weird, that
import { ArgsType, Field } from '@nestjs/graphql'
was correctly formatted, but@Field
was ignored, as you can see by semicolon.My eslint config
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions