• Since version 8.0.0 of eslint-config-prettier, all you need to extend is "prettier"! That includes all plugins. eslint.config.js (flat config) plugin caveat.
    • Issues:
      6
  • With ESLint and Prettier already installed, install these two packages as well. npm install --save-dev eslint-config-prettier eslint-plugin-prettier.
  • Whatever is typed in extends. => That would be prefixed with eslint-config- prettier = giving => eslint-config-prettier. Which is this package.
  • Latest version: 9.1.0, last published: 7 months ago. Start using eslint-config-prettier in your project by running `npm i eslint-config-prettier`.
    • Weekly downloads:
      21.102.316
    • Version:
      9.1.0 · 2 December 2023
    • Size:
      20.8 kB
  • Due to recent updates and compatibility issues, setting up a Nuxt project with the latest versions of ESLint 9, Prettier, and TypeScript can be challenging.
  • Also, I will discuss the process of creating a shared ESLint config package, explaining the configuration, and some recommended rules.
  • Overrides let you have different configuration for certain file extensions, folders and specific files. Prettier borrows ESLint’s override format .
  • The configuration in .eslintrc.js extends eslint-config-expo. ... - npx expo install -- --save-dev prettier eslint-config-prettier eslint-plugin-prettier.
  • Here is my personal solution to that puzzle. The puzzle comprising ESLint, TypeScript, and Prettier configs.
  • npm install prettier eslint eslint-config-prettier --save-dev. Then go through the path to run the locally installed Prettier. export PATH=$PATH:./node_modules/.bin.
  • To implement it, install eslint-config-prettier alongside your preferred ESLint config, like eslint-config-airbnb.
  • module.exports = { root: true, extends: [ "plugin:vue/vue3-essential", "eslint:recommended", "@vue/eslint-config-prettier"
  • Once you've finished installation, add eslint-config-prettier-standard to the "extends" array in your ESLint configuration.
  • Since I needed a single package installation, I’ve added the following as direct dependencies in my custom eslint and prettier config package