Skip to content

Remove prettier and linter #15108

@rhernandez-itemsoft

Description

@rhernandez-itemsoft

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Please remove prettier and eslint, as they cause so many headaches in VS Code that we end up having to fight to remove them.

Please let us choose how we work again, because we're moving away from nestjs for that sole reason.

npm uninstall prettier eslint-plugin-prettier eslint-config-prettier
npm uninstall eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
npm uninstall @eslint/eslintrc @eslint/js typescript-eslint
npm uninstall eslint-plugin-prettier eslint-config-prettier

rm eslint.config.mjs
rm .prettier

remove from package.json
-> "scripts"
-> "format": "prettier --write "src//*.ts" "test//.ts"",
-> "lint": "eslint "{src,apps,libs,test}/**/
.ts" --fix",

Minimum reproduction code

https://github.com/nestjs/nest/issues

Steps to reproduce

No response

Expected behavior

npm i -g @nestjs/cli
nest new project-name

//Prettier causa mucho conflicto con los CR y LF
npm uninstall prettier eslint-plugin-prettier eslint-config-prettier
remover .prettier
remover de package.json en la seccion "scripts" todo lo de "format prettier"

npm install --save sequelize sequelize-typescript
npm install mysql2 pg mssql tedious
npm install --save-dev @types/sequelize

npm i --save class-validator class-transformer

npm uninstall eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
rm eslint.config.mjs
remover de package.json en la seccion script:
"lint": "eslint "{src,apps,libs,test}/**/*.ts" --fix",

devDependencies
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"typescript-eslint": "^8.20.0"

npm uninstall @eslint/eslintrc @eslint/js typescript-eslint
npm uninstall eslint-plugin-prettier eslint-config-prettier

Package

  • I don't know. Or some 3rd-party package
  • @nestjs/common
  • @nestjs/core
  • @nestjs/microservices
  • @nestjs/platform-express
  • @nestjs/platform-fastify
  • @nestjs/platform-socket.io
  • @nestjs/platform-ws
  • @nestjs/testing
  • @nestjs/websockets
  • Other (see below)

Other package

No response

NestJS version

No response

Packages versions

Node.js version

No response

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue has not been looked into

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions