Skip to content
tsmx

tsmx

pragmatic IT

  • start
  • npm-packages

eslint

Migrating ESLint to v9+ flat-file configuration in a CommonJS project

29. May 202519. August 2024 by tsmx-dev

A practical end-to-end guide for migrating an existing .eslintrc.json config (ESLint v8 and before) to the new flat file config eslint.config.js (ESLint v9 and above) in a CommonJS Node.js project including linting of unit-tests with Jest.

Read more

Categories NodeJS Tags CommonJS, configuration, eslint, eslintrc, flatfile, Jest, JSON

Convert an existing NodeJS project from CommonJS to ESM / ECMAScript

20. August 202325. May 2023 by tsmx-dev

A quick guide for converting your existing NodeJS projects from CommonJS to ESM/ECMAScript. Including Express, Jest, Supertest and ESLint.

Read more

Categories NodeJS Tags CommonJS, convert, ECMAScript, ES6, eslint, ESM, JavaScript, Jest, project

Recent Posts

  • Using Apache Kafka for transferring files
  • Using Secrets Manager environment variables in AWS ECS
  • React + TypeScript + Bootstrap quick start powered by Vite
  • Using pgAdmin running in Docker to access a dockerized PostgreSQL
  • Migrating ESLint to v9+ flat-file configuration in a CommonJS project

Categories

  • AWS (1)
  • Cloud (2)
  • Development (7)
  • GCP (4)
  • JavaScript (2)
  • MongoDB (3)
  • NodeJS (21)
  • Oracle DB (1)
  • PostgreSQL (4)
  • React (1)

Archives

  • April 2025
  • January 2025
  • December 2024
  • August 2024
  • June 2024
  • May 2024
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • May 2023
  • November 2022
  • June 2022
  • May 2022
  • April 2022
  • January 2022
  • November 2021
  • October 2021
  • September 2021
  • June 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020

Links

Privacy Policy | Imprint

© 2025 tsmx • Built with GeneratePress